Per page add to head
[resolved] Problem with per page add to website (5 posts)

  1. Adrian
    Posted 1 year ago #

    Wordfence diagnosed a problem with this plugin's readme.txt file.
    "File contains suspected malware URL"

    It turns out this is because readme.txt contains a link to a website that failed Google's safe browsing test.

    See results of


  2. Erikvona
    Plugin Author

    Posted 1 year ago #

    Thanks for bringing this to my attention. It's just an error in the readme file, I accidentally swapped .nl for .com. My site is fine, and does not have any issues.
    Since the error was in the Author URI, it won't show up anywhere in the plugin. The author URI from the perpagehead.php will show, though, but that one was already correct.

    Fixed it now, but didn't release a new version for it. So if you download it now, it should be fixed, but if you've downloaded it before, you won't get an update notification.

    And, obviously, this plugin does not contain any malware (if you know PHP you can check, else you can run any scan you want on it, it will come back clean now).

  3. Jerry
    Posted 1 year ago #

    The plugin box appears within the post and page interfaces, but it doesn't appear with the "portfolio" interface (which is like a post).

    Many premium themes are using "portfolios" now as a type of post.

    Is there anything I can do to allow for this plugin to become visible within the "portfolio" interface?

    http://themeforest.net/item/scope-agency-business-wordpress-theme/952938 - this is the theme that I'm using

  4. Erikvona
    Plugin Author

    Posted 1 year ago #

    You should actually make a new support topic for this, but whatever, I'll answer it.

    I won't add the support in an update, because it can cause incompatibility with certain themes. But for most themes, the following should work:
    In the perpagehead.php file, on line 18, replace the following:
    $screens = array( 'post', 'page' );
    $screens = array( 'post', 'page', 'portfolio' );
    Where portfolio is the slug for the custom post type (sometimes it's portfolio_item or portfolio-item or something like that).
    Now the meta box will show up in the portfolio post type.

    You can just make the change with the built-in plugin editor in WordPress.

    Note that if you update the plugin, you will need to change this back again.

  5. Jerry
    Posted 1 year ago #

    Thank you for the reply. I just tested it and it worked.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Per page add to head
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic