Grow your CSS skills. Land your dream job.

Functioning WP Tag Cloud?

  • # March 28, 2011 at 2:24 am

    I’m having trouble getting the WordPress WP Tag Cloud to work. I tried a couple of the widget plugins, but I can’t figure how to get them to show up on this page to get the shortcode.

    Can anyone look over my PHP file and see what’s wrong?

    The page I want it on is here, in the sidebar under the search box:
    http://www.parkarvidsonacupuncture.com/wordpress/nancy7/

    PHP file is here:
    http://www.parkarvidsonacupuncture.com/wordpress/wp-content/themes/ParkArvidson%20Wordpress/nancy_page.php

    Thanks!
    Adam

    # March 28, 2011 at 3:49 pm

    Adam,

    Could you please paste the contents of the nancy_page.php file here? Thanks.

    # March 29, 2011 at 12:42 am

    while we are waiting for the code…I have to point something out that I noticed when looking at the site. The links are rather strange the way you have them. The way they are now is that the link only works if you hover over the text itself and not the link container itself. You have a big button to indicate to the user that it is a link and it is clickable….but you have the text clickable. Simply add display:block; to the (#sidebar a) selector in your css and you will see it functions much better.

    # March 30, 2011 at 1:48 am

    Thanks springlab! Nice realization.

    # March 30, 2011 at 1:50 am
    < ?php
    /*
    Template Name: BLOG | Nancy Park Acupuncture
    */

    get_header(); ?>









    Archives






    < ?php
    wp_tag_cloud( array( 'taxonomy' => 'category' ) );
    ?>


    < ?php wp_get_archives('category_name=Nancy'); ?>




      < ?php
      global $post;
      $myposts = get_posts('numberposts=10&category=Nancy&order=DESC');
      foreach($myposts as $post) :
      ?>
    • ">< ?php the_title(); ?>

    • < ?php endforeach; ?>








    < ?php query_posts('category_name=Nancy&showposts=10'); ?>

    < ?php
    if (have_posts()) : while (have_posts()) : the_post();
    ?>

    the_permalink();
    ?>">< ?php
    the_title();
    ?>



    < ?php
    the_content('

    Read more »

    ');
    ?>
    < ?php
    wp_link_pages(array(
    'before' => '

    Pages: ',
    'after' => '

    ',
    'next_or_number' => 'number'
    ));
    ?>


    < ?php
    endwhile; endif;
    ?>








    < ?php get_sidebar(); ?>
    < ?php get_footer(); ?>
    # April 1, 2011 at 2:01 am

    Can anybody answer this?

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".