• Resolved Skankyrich

    (@skankyrich)


    Hi folks, first time poster here. I’m having a problem with my WordPress site https://www.cavendishtorquay.co.uk. I’ve got a couple of odd bits of text below the comments on my pages. One is ‘Share this:’ which comes from the sharing part of the Jetpack plugin, the other is ‘[social4i size=’ which I think is a remnant of the Tweet, Like, Google +1 and Share plugin. I can’t get rid of either of these bits of text.

    I’ve tried deleting the ‘Share this’ text from the Jetpack plugin and also turned it off from appearing on all page types. I’ve deleted the Tweet, Like… plugin altogether and still this text appears. Can anyone tell me how to get rid of it?

    I’m using Weaver II as my theme, if that helps.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Mabye there is a PreFooter HTML box on the Weaver theme option page ?

    The broken code looks like this:

    <div id="inject_prefooter">
    <strong>Share this page: </strong><br/><br/>
    [social4i size=	</div><!-- #inject_prefooter -->

    Are you using any form of server caching?

    The short code was likely inserted into a page template (??) and I still see the plugin scripts loading so they may also have been added to a page template or even your functions.php file.

    It could also be a plugin and or theme compatibility issue, either with current version of WP or each other (or both). To prove, deactivate them all then activate one at a time to reveal offending one/combination.

    Thread Starter Skankyrich

    (@skankyrich)

    Thanks for the replies, guys.

    I’ve double-checked for pre-footer code and there definitely isn’t anything there.

    I don’t think it’s a theme compatability issue, I’ve deleted the second of the two plugins entirely in fact and the text associated with it still appears.

    I think you’re probably right that it’s been added to a page template, but I’ve never got as far as editing templates. Any suggestions on where I can start looking? I assume I go to Appearance => Editor but I’m then presented with an intimidatingly-long list of pages available to be edited.

    Review what is set as your homepage in Settings>Reading then review that page and review what page template is in use. This will reveal which file may need to be edited – look for this short code text – I strongly suggest backing up your site first.

    One can also test if it’s a page template issue by setting to the default (assuming it was not modified also). To find out if it was, the date of the file on your server may help reveal this (as compared to original file).

    Repeat for other page templates if in use.

    If your default reading settings are posts, you will have to review with theme dev which file is used as it varies greatly.

    Thread Starter Skankyrich

    (@skankyrich)

    That’s really helpful, thanks! The page template in use was the default template – I tried a few others and the broken code still appears. So I guess that means it’s not a page template issue?

    I have been through the templates that look most relevant, and in comments.php I have found the following:

    <?php
        weaverii_inject_area('postcomments');
    ?>

    Could that be the source of the problem? Weaver running a function after the comments which calls this bit of code? I can’t test it by taking out that bit of code because weaver won;t let me edit the page template.

    I am not familiar with your theme enough to reply directly, try asking the theme dev. Do you have a site backup prior to the plugin additions?

    Thread Starter Skankyrich

    (@skankyrich)

    I found it – thanks very much for your help. The bit of code I posted above was called in the footer page, I opened it in Filezilla and commented it out and the text has gone.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Leftover text from plugins?’ is closed to new replies.