About this topic

  • Posted by Kristin 2 years ago. There are 5 posts. The latest reply is from Kristin.
  1. 1. The posts are displaying as html code (<href ....etc). How can I make it display as the post title as a link?

    2. How can I get rid of the bullets?

    3. How can I have no spaces between each line?

    (The collapsing archives are displaying perfectly)

    Here is the page:
    http://lifelearningtoday.com/archives-2/

    Thank you!

  2. Kristin,

    How did you insert collapsing categories into a page? Could you post your code?

    Rob

  3. Yes, I have it in a page. I'm using PHP Exec plugin to allow using php in a page.

    Here is the code I'm using:

    //<phpcode> <?php if( function_exists('collapsArch') ) { collapsArch();
    } else {
    echo "n";

    wp_list_cats(); echo "n"; } ?> </phpcode>

    Browse by Category

    <phpcode> <?php if( function_exists('collapsCat') ) { collapsCat();
    } else {
    echo "showPostTitle";

    wp_list_cats(); echo "showPostTitle"; } ?> </phpcode>//

    I have the latest version of the plugins and I am using WP 2.9

    Thanks

  4. Kristin,

    PHPexec is automatically inserting linebreaks where there shouldn't be any. I would suggest using a page template instead, like so:

    <?php /* Template Name: archives by category
    */
    get_header();
    ?>
      <h2><?php the_title(); ?></h2>
    <?php
    if( function_exists('collapsCat') ) {
      collapsCat();
    }
    php get_footer();
    ?>
  5. What about the html code displaying instead of a simple link?
    Thanks

RSS feed for this topic

Have you read the FAQ?
Have you tried the latest development version (at the bottom)?

Reply

You must log in to post.