WordPress.org

Ready to get started?Download WordPress

Forums

view category list in page with custom write panel (5 posts)

  1. surfweb82
    Member
    Posted 4 years ago #

    Hello.

    I need to show a dynamic list of categories in a custom write panel only in creating pages.

    I kindly ask you if you can do and if I post a code example.

    Obviously if you can do it through a plugin goes well this solution.

    Thanks

  2. MichaelH
    Member
    Posted 4 years ago #

    Do you mean something like this:
    http://wordpress.org/extend/plugins/page2cat/

    With coming release of 3.0, you might be able to do something like:

    function create_page_tax() {
    register_taxonomy('category','page',array(
    'hierarchical' => true,
    'label' => __('Categories'),
    'singular_label' => __('Category'),
    'show_ui' => true,
    'query_var' => true,
    'rewrite' => true
    ));
    }
    add_action('init', 'create_page_tax');
  3. surfweb82
    Member
    Posted 4 years ago #

    Thanks for reply.

    I will now try what I've reported and let you know if it solves my problem.

    Thanks again

  4. philzo
    Member
    Posted 4 years ago #

    Thank you, MichaelH, that code did the trick and saved my bacon.

  5. perezstudios
    Member
    Posted 3 years ago #

    Hello All!

    I am having issues with this! I want to be able to keep a journal that has posts from my Journal category on a seperate journal page. I have been able to hide the journal categories from the homepage but cant get the posts to show up with their full descriptions in the Journal page!

    Anyone with some helpful advice I would really appreciate it!

    I am using WP 3.0.1 MU

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic