WordPress.org

Ideas

Hooks in Themes for Plugins to use.

  1. dcole07
    Member

    12345

    There should be a required or recommended list of standard WordPress hooks that theme developer place in their themes so people can place modular code in their theme, without editing the theme. Only a few themes have them right now and they each use their own naming convention.

    This would benefits plugin developers and people who use plugins. People who add in modular code from tutorials or help forums. People who customize their own site or others.

    Without this standard, the line between themes and plugins is going to get blurred and things are going to get worst in term of themes. Theme developers are now adding more and more theme options, because plugins can't do the job, due to the lack of hooks in WordPress Themes.

    Themes like Thematic, Hybrid, and Thesis get that theme hooks are needed.

    Suggested hook format should be something like: theme_before_header, theme_header, theme_after_header, theme_before_entry, theme_after_entry...

    Posted: 7 years ago #
  2. oxeron
    Member

    This plugin creates a XML file from your posts in order to display them on another website, using PHP or Flash.

    This plugin creates a XML posts.xml file containing posts from your blog. This xml file can then be used to display your posts on another website using PHP or Flash. Based on Valentin Karailiev's karailievs-sitemap plugin

    Changes in version 0.2

    • Using backend scripts from WP to fetch data from database (@Ludovic)
    • Display debug error if occurs (@Ludovic)
    • Redesigned admin panel to add more informations (@Olivier)
    • User must now check boxes to choose the categories of posts to export, instead of providing an ID list (@Olivier)
    • User can choose to export xxx posts per category or posts not older than yyy days (@Olivier)
    • User can choose which items to export (date, url, category name, etc...) (@Olivier)
    1. Upload oxyxml folder to the /wp-content/plugins/ directory
    2. Activate the plugin through the 'Plugins' menu in WordPress
    3. Create a file named posts.xml in your blog folder. The file must be writable for the web server.
    4. Turn the plugin on via the Settings -> oxyXML screen
    5. Open your xml file to test it (e.g. http://www.your_domain_name.com/posts.xml)

    How can I use the XML file to display posts on another website ?

    There is a PHP example on my blog here : http://www.oxeron.com/2009/02/20/oxyxml-01-wordpress-plugin

    None

    Posted: 7 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    5 Votes
  • Status

    This is theme territory