Wordpress question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • druid66
    Confirmed User
    • Feb 2006
    • 994

    #1

    Wordpress question

    Hi,
    i'm playing with default theme and i would like to make specific categories like:

    Models:

    model's name (links here)
    model's name
    model's name

    Amateurs:

    model's name
    model's name
    model's name

    frow what i read there WP can pull out categories like this:

    <?php wp_list_categories('show_count=1&title_li=<h2>Cate gories</h2>'); ?>

    how can i make it to pull out specific categories like this:

    <?php wp_list_categories('show_count=1&title_li=<h2>Mode ls</h2>'); ?>

    and:

    <?php wp_list_categories('show_count=1&title_li=<h2>Amat eurs</h2>'); ?>

    could it be done somehow?

    appreciate any advice,
    D.
    Pure Japan japanese babes blog
  • Agent 488
    Registered User
    • Feb 2006
    • 22511

    #2
    good question.

    Comment

    • Lace
      Too lazy to set a custom title
      • Mar 2004
      • 16116

      #3
      http://codex.wordpress.org/Template_...ist_categories ?
      Your Paysite Partner
      Strength In Numbers!
      StickyDollars | RadicalCash | KennysPennies | HomegrownCash

      Comment

      • druid66
        Confirmed User
        • Feb 2006
        • 994

        #4
        Thanks, thats it ;)
        Pure Japan japanese babes blog

        Comment

        • fris
          Too lazy to set a custom title
          • Aug 2002
          • 55679

          #5
          If you are interestred, I have a list of solo models which it grabs from www.sologals.com

          and you can bulk import them as categories
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

          Comment

          • druid66
            Confirmed User
            • Feb 2006
            • 994

            #6
            thanks but i'm working on few known thai models, none of them have its solo site.

            backing to categories looks like my zero php knowledge stops me from doing it even with this tutorial

            if any of you could help me fast i would appreciate i dont wanna spend few days on it and i know its simple.

            so heres code for sidebar:

            <?php
            /**
            * @package WordPress
            * @subpackage Default_Theme
            */
            ?>
            <div id="sidebar" role="complementary">
            <ul>
            <?php /* Widgetized sidebar, if you have the plugin installed. */
            if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
            <li>
            <?php get_search_form(); ?>
            </li>

            <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
            <li><h2>Author</h2>
            <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
            </li>
            -->

            <?php if ( is_404() || is_category() || is_day() || is_month() ||
            is_year() || is_search() || is_paged() ) {
            ?> <li>

            <?php /* If this is a 404 page */ if (is_404()) { ?>
            <?php /* If this is a category archive */ } elseif (is_category()) { ?>
            <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>

            <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
            <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
            for the day <?php the_time('l, F jS, Y'); ?>.</p>

            <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
            <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
            for <?php the_time('F, Y'); ?>.</p>

            <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
            <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
            for the year <?php the_time('Y'); ?>.</p>

            <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
            <p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
            for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>

            <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
            <p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives.</p>

            <?php } ?>

            </li>
            <?php }?>
            </ul>
            <ul role="navigation">
            <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>

            <li><h2>Archives</h2>
            <ul>
            <?php wp_get_archives('type=monthly'); ?>
            </ul>
            </li>

            <?php wp_list_categories('show_count=1&title_li=<h2>Cate gories</h2>'); ?>
            </ul>
            <ul>
            <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
            <?php wp_list_bookmarks(); ?>

            <li><h2>Meta</h2>
            <ul>
            <?php wp_register(); ?>
            <li><?php wp_loginout(); ?></li>
            <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
            <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
            <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
            <?php wp_meta(); ?>
            </ul>
            </li>
            <?php } ?>

            <?php endif; ?>
            </ul>
            </div>


            default theme of WP shows "category" title and lists categories under it and i want:

            Model (title) and categories under it
            Amateurs (title) and cat under it

            if you guys show it to me on sidebar.php example then ill understand it.
            just need working example.
            Pure Japan japanese babes blog

            Comment

            • druid66
              Confirmed User
              • Feb 2006
              • 994

              #7
              btw: i know youre skilled with WP Fris, are you making any themes as well that would be for sale?
              Pure Japan japanese babes blog

              Comment

              • fris
                Too lazy to set a custom title
                • Aug 2002
                • 55679

                #8
                nope, not any for sale.
                Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                Comment

                • Mike Semen
                  Confirmed User
                  • Dec 2001
                  • 2924

                  #9
                  Originally posted by fris
                  If you are interestred, I have a list of solo models which it grabs from www.sologals.com

                  and you can bulk import them as categories
                  Is it the same XML you posted a while ago? I think I have it somewhere...
                  ICQ 1454 81 522 |

                  Comment

                  • TheDoc
                    Too lazy to set a custom title
                    • Jul 2001
                    • 13827

                    #10
                    I could be wrong... but you would just setup a child category off of a master category directly in WP. And WP will simply list it that way.
                    ~TheDoc - ICQ7765825
                    It's all disambiguation

                    Comment

                    • fris
                      Too lazy to set a custom title
                      • Aug 2002
                      • 55679

                      #11
                      Originally posted by Mike Semen
                      Is it the same XML you posted a while ago? I think I have it somewhere...
                      its in txt format, so you can bulk import with the bulk import plugin (1 per line), also I have the code to get the list if you are interested.
                      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                      Comment

                      Working...