• Resolved DivaVocals

    (@divavocals)


    Okay I followed the instructions here:
    http://wordpress.org/support/topic/best-way-to-remove-like-button-from-a-single-page?replies=4

    and was able to remove the like button from a specific page. However it’s not resolving the conflict with the “Theme My Login”. (a MINOR conflict that only occurs when one logs out) So it occurred to me the easiest solution is to simply call the like button short code manually in my page template and then create a custom template for my login page which omits this call.

    Here’s the issue:
    I added this to my template’s page.php file
    <?php sfc_like_button(); ?>

    and got the following error:

    Fatal error: Call to undefined function sfc_like_button() in /home2/overthe4/public_html/clientYourPlateOrMineInc/wp-content/themes/ypom_custom/page.php on line 70

    What did I miss??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter DivaVocals

    (@divavocals)

    Need to add that in addition to the error, no matter where I put the code, it knocks out my sidebars..

    Thread Starter DivaVocals

    (@divavocals)

    So installing the new beta version of SFC seems to have solved the problem.. I created a custom page template for the “Theme My Login” login page, and then added the shortcode posted above in the page.php and single.php files. The trick is to place the shortcode code in the right place so that it does not interfere with other page code. I found placing the code just above the comments code block seems to do the trick..

    After making these changes the login page from the “Theme My Login” plugin no longer displays the login and logout messages in duplicate. Plus I didn’t want the “Like” buttons on my login page anyway.. 🙂

    Will wait until the 1st release goes out before I go live with the SFC upgrade and the Theme My Login plugins.. Otherwise all is right with the world..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Simple Facebook Connect] Errors Using Facebook Like Button Shortcode’ is closed to new replies.