Need help? Check out our Support site, then


adding code to back end

  1. hello! I need to change a bit of coding in the back end of my theme in order to display only certain category for some pages. I can do that only by accessing the codes, but there is no choice in this new wordpress. I want to use this following code in the new pages that i am creating, so to trigger only certain posts/category:
    <?php query_posts('category_name=CATEGORYNAME&showposts=5');
    while (have_posts()) : the_post();
    // do whatever you want
    ?>
    <b>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?>
    <?php
    endwhile;
    ?>

    could you help me with this? thanks

    The blog I need help with is woodenleg.me.

  2. You won't be able to do that on wp.COM
    Did you know that there are very different kinds of WordPress?
    http://en.support.wordpress.com/com-vs-org/
    One cannot access php here. You'd have to host your site somewhere then use software and themes from wp.ORG

  3. On second thought, I'm not exactly sure what you want to accomplish but this shortcode might be of use:
    http://en.support.wordpress.com/display-posts-shortcode/

  4. I guessed so...
    thanks Tess, useful tip!

  5. You are welcome.

    I have not had time to experiment with that shortcode, nor do I quite understand what you hope to do, but it might work very well on a page which you could link in a custom menu…but if that works, then
    the price is right.
    Yes?
    (sorry: old U.S. TV show pun ≥^!^≤)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.