Forums

[resolved] [Plugin: Wordpress Download Monitor] How to put the title and the version of the program in the titl (3 posts)

  1. dextersh
    Member
    Posted 2 months ago #

    Hello.
    First I want to say that download monitor is really great. I will probably even donate :)
    I have a question, which is pretty much the title of this topic. How can I put the title and version of a program in the title tag of a wordpress page. I tried with a seo plugin which let me change the title tags, and there I put something like this: [download id="3" format="5"], but instead of the information I need it shows the same thing ([download id="3" format="5"]).

    http://wordpress.org/extend/plugins/download-monitor/

  2. jolley_small
    Member
    Posted 2 months ago #

    If the SEO plugin has a function which you inserted into header.php, wrap it in do_shortcode()

    If the SEO plugin works automatically either edit it to include do_shortcode wherever it returns the tag, or hook in if possible.

    Example: All in One SEO Pack

    Line 509 of aiseop.class = replace_title(), find return $header; and replace with return do_shortcode($header);

  3. dextersh
    Member
    Posted 2 months ago #

    Thanks jolley_small, you are the man ;)
    I used this line: return do_shortcode($header);

Reply

You must log in to post.

About this Topic