Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve been having the same problem, but I don’t think it is anything with the wordpress software itself or any of the plugins.

    When any of my writers submit an article, the code is not there.
    It only shows up after my copy editor edits them.
    I’ve logged in to her account, and gone through the exact same process she does when editing articles, but on a known clean computer, and the code does not show up.

    I’m pretty sure it is a virus on my copy editors computer that is causing it.

    I tried putting it in the .css file, but the css file gets called on every page, so it was hiding the yarpp addons on posts where tpg wasn’t called.
    Maybe the author of the plugin can figure out a more elegant solution.

    I have a similar problem with my site, and came up with a workaround.

    My workaround will only work if you never intend to use tpg get posts and YARPP on the same page.
    On my site, I use tpg on my pages and only my pages, and yarpp only on the end of posts, so it works out just fine.

    Edit /tpg-get-posts/inc/class-tpg-gp-process.php Line 302
    Change
    $content = '<div id="tpg-get-posts" >';

    to
    $content = ' <STYLE type="text/css">.yarpp-related {display:none}</STYLE><div id="tpg-get-posts" >';

    That’s it. Now when you call tpg get posts, it will inject the css to hide any yarpp addons.

Viewing 3 replies - 1 through 3 (of 3 total)