• Currently, a plugin developer can add meta, secondary title, etc to our plugin admin pages..

    What if we wanted to add custom structures to the Greg’s HP SEO Configuration pages for use in only our plugins? Or, is this already possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor gregmulhauser

    (@gregmulhauser)

    I’m afraid there isn’t an interface for dropping extra bits into the GHPSEO configuration pages, but you’ve hit on something of a pet peeve of mine (soap box time)…

    As you’re no doubt aware yourself, WP currently makes it very inelegant to add plugin configuration pages at all — that’s one reason why you see so much mixed XHTML and PHP in plugin code. A cleaner way of doing this would be for plugins to provide only data structures and textual descriptions for the user, letting WP do the job of marking up everything in the admin interface. (Yes, I know that’s what the WP developers say they’re already doing…but one look at the mixed code required actually to achieve anything, and you know better…)

    In my own plugins (and in a few others out there), I’ve tried to bridge this chasm of looniness with a method enabling complete separation of data from markup, and I’ve personally found it speeds up development tremendously. However, extending this interface to open it up for other plugins to add to means going back to face that chasm of looniness again. I’m loathe to do that, as I keep expecting that any day now the WordPress core will be updated to enable plugin developers to interact with the admin side of things more elegantly.

    Of course, I thought something similar when I first encountered version 1.2 and saw the mixed code in theme files, and there’s been very little advancement there either… There again, I develop my own themes with some bridging code that gets rid of some of that looniness, and at least one theme framework has sprung up with similar ideas in mind. But any day now, WP itself is bound to modernize in this area…isn’t it…?

    All the best,
    Greg

    Thread Starter Steven Vachon

    (@prometh)

    Hmm, well you’re already dropping your HTML into a plugin’s writing screen. Why not let other plugins drop your HTML into the config screen?

    Thread Starter Steven Vachon

    (@prometh)

    If you are really against this idea, what about the option of creating title structures for custom post_types? You could provide a standard interface for that and wouldn’t involve other HTML.

    The reason I’m so interested in this is my posts page has a title of “Blog | Steven Vachon”, and a single post page has a title of “Post Title | Steven Vachon’s Blog”. I’m using a portfolio plugin (Simple Portfolio), and I’d like its single post pages to have a title of “Post Title | Steven Vachon’s Portfolio”. However, because there is no support for custom post_types, it’s showing “Steven Vachon’s Blog” instead.

    Thread Starter Steven Vachon

    (@prometh)

    Thank you for adding support for custom post types!

    Have you considered adding an interface for customizing titles of those types? Please read my previous message above for an example of how/why I think this is of value.

    Thanks!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Greg's High Performance SEO] Further extension for other plugins..’ is closed to new replies.