Shortcode not working, need help troubleshooting (5 posts)

  1. davenet
    Posted 3 years ago #

    I have a Genesis based theme running for my web site, http://www.rockhousehaven.info. I am trying to add some social sharing links. I have tried several plugins and am having the same problem with each. The theme I have was custom developed and was NOT purchased from the Genesis web site.

    When I insert the shortcode (ie, [sociable /]) or similar, all that shows up in the content is the raw shortcode itself, not the content I'm expecting. Is there some code missing from the template we created? I didn't program it, but hired someone to do so. I haven't been able to reach the guy since Friday so thought I'd try here in the interim.

  2. lonniea
    Posted 3 years ago #

    normally the code would be like....
    " [sociable] content goes here [/sociable] "

    however you would need to copy & paste the partial html code here in order to really see what the problem is.

  3. Theme usually do not control shortcodes, unless it was added to the theme function file. Core Genesis does not.

    Whether the custom theme author disabled it or not is hard to say. Just make sure you;re using it right. ;)

  4. davenet
    Posted 3 years ago #

    In the Sociable plugin settings there is a place to enable automatic mode. This would put the sociable links on each article. I suppose I should try that. Otherwise if you don't enable it, the instructions are as follows:

    If this is unchecked, you will have to use the shortcode[sociable/] or template tag ?php if( function_exists( do_sociable() ) ){ do_sociable(); }

    That's where I got the format for the code in the original post. I'm not sure what to put between an opening and closing tag because the instructions don't give that format.

  5. davenet
    Posted 3 years ago #

    It does work if I set the automatic mode, so just the shortcode is what I need help with so I can enable it selectively.

Topic Closed

This topic has been closed to new replies.

About this Topic