Forums

Category Meta plugin
[resolved] Problem caused in WP 3.0 with static home page (3 posts)

  1. jeff@goseese.com
    Member
    Posted 1 year ago #

    Hello, I installed this plugin in a wp 3.01 theme with out any other plugins installed.

    After I configured a custom meta field for the post tags of type text, and created a tag I noticed that my configuration to use a static page as the front page was no longer working. The front page was reverting to the blog entries for the site.

    I narrowed it down to line 71-ish.


    taxonomies=get_taxonomies('','names');

    I think due to a name/global name conflict. But the fix was so easy I didn't bother looking into the reason for it any further.

    I fixed it by changing the loop starting at line 71 to this.


    $my_taxonomies=get_taxonomies('','names');
    if (is_array($my_taxonomies) )
    {
    foreach ($my_taxonomies as $my_taxonomy ) {
    add_action($my_taxonomy . '_add_form_fields', 'wptm_add_meta_textinput');
    add_action($my_taxonomy . '_edit_form', 'wptm_add_meta_textinput');
    }
    }

    http://wordpress.org/extend/plugins/wp-category-meta/

  2. elebail
    Member
    Posted 1 year ago #

    Hello jeff,

    Ok I add your fix into the plugin new version.
    Thanks for sending the code.

    Regards,
    Eric

  3. jeff@goseese.com
    Member
    Posted 1 year ago #

    Your welcome, great plugin. Thanks for updating so quickly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic