Support » Plugin: Per page add to head » Problem with per page add to website

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Erikvona


    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).

    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? – this is the theme that I’m using

    Plugin Author Erikvona


    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.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with per page add to website’ is closed to new replies.