• Closed
  • Devin McGuire
    Spectator
    March 2, 2016 at 11:11 pm #24940

    I noticed my social sharing boxes (even ones placed by the social sharing shortcode as well) do not display my content to the social media platforms in the way I’d like them to. I cannot find where I need to go to edit this. I tried the wordpress plugin “Add Meta Tags” to see if this would help but it seems your theme’s social sharing is either over riding the Meta Tag plugin settings, or I’m clueless in how to set up that plugin correctly. Is there an easier way to customize this within your theme with or without a plugin?

    tilly
    Spectator
    Posts: 18
    March 3, 2016 at 1:12 am #24958

    I am having similar problems to the extent that I would like to just disable the theme code for social sharing and use a reliable plug-in instead. Please advise best way to tackle this . eg FB OGI tags not being created properly by theme. So frustrated at this point.

    Denzel Chia
    Moderator
    Posts: 2656
    March 3, 2016 at 3:12 am #24976

    Hi,

    The code is found in alora/js/main.js

    find the following

    jQuery( '#wrapper .share-box' ).each( function() {
    if( ! jQuery( 'meta[property="og:title"]' ).length ) {
    jQuery( 'head title' ).after( '<meta property="og:title" content="' + jQuery( this ).data( 'title' ) + '"/>' );
    jQuery( 'head title' ).after( '<meta property="og:description" content="' + jQuery( this ).data( 'description' ) + '"/>' );
    jQuery( 'head title' ).after( '<meta property="og:type" content="article"/>' );
    jQuery( 'head title' ).after( '<meta property="og:url" content="' + jQuery( this ).data( 'link' ) + '"/>' );
    jQuery( 'head title' ).after( '<meta property="og:image" content="' + jQuery( this ).data( 'image' ) + '"/>' );
    }
    });

    And comment it out.

    Thank you

    Devin McGuire
    Spectator
    Posts: 1
    March 3, 2016 at 5:40 pm #24983

    Your reply helps out tilly but not me. I’m not necessarily looking to disable the theme’s code for this but rather I’m looking into how to customize what this spits out in Facebook. i.e. the description or the image.

    tilly
    Spectator
    Posts: 18
    March 3, 2016 at 11:47 pm #24984

    Sorry to have hijacked your thread Devin . I look forward to hearing the full response to your oreginal question as I am sure I will find it enligthening. Also I realize I should have posted my question seperately in the Evolve forum as my question on usability of social sharing functions related to Evolve rather than Alora them

    Apologies All

    Denzel Chia
    Moderator
    Posts: 2656
    March 4, 2016 at 1:40 am #24990

    Hi Devin,

    We do not provide support in customizing theme that requires modification to Theme codes.

    Please see my previous reply, that’s the javascript that adds facebook og tags to your website. You will need to remove it properly without causing javascript errors.
    Then add your preferred sharing plugin or meta tag plugin…

    Please hire a developer to assist in your customization.

    Thank you

    Denzel Chia
    Moderator
    Posts: 2656
    March 4, 2016 at 1:44 am #24991

    Just for a record.
    This is how the facebook share dialog looks.