WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP-Print] suggestion for auto load instead of modifying theme template (3 posts)

  1. masterbassie
    Member
    Posted 4 years ago #

    firstly great plugin!

    i'm trying to use it with wpmu but realized a slight problem - wp-print requires you insert php code. as such i would have to manually insert said code into each theme. Thats ok for me because i restrict the number of themes - but for others this could be impossible.

    in your next release can you implement an auto load option for various templates?

    as a makeshift solution i was gonna use a prefix suffix plugin and stick the print code in there. kinda ugly way to do it

    http://tech.shantanugoel.com/projects/wordpress/shantz-wordpress-prefix-suffix

    just a suggestion... :)

  2. Lester Chan
    Member
    Posted 4 years ago #

    Manually inserting PHP code gives the flexible of placing it anywhere you want which is what I intended =)

  3. Donald Gilbert
    Member
    Posted 4 years ago #

    While manually inserting PHP code is the most flexible, you are kind of limiting your audience to those who know how to do that and/or want to.

    It would be nice to see an option on the option page that automatically inserts the code into the proper hook (probably after post content), but have it turned off by default. That way, you retain the ability to place it anywhere in the template, but if you are an End User that doesn't really want to mess with stuff like that, you can still enjoy the plugins functionality as well by simply checking a box.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags