WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Tag cloud (9 posts)

  1. dguyen
    Member
    Posted 5 years ago #

    Hello,
    Fist off thanks for developing this theme, great, simple easy. I'm a bit new to this but I would like to add the "Tag cloud" widget to my blog, unfortunately he widget isn't available for me to add. Can you help...I did notice tag cloud code in the css file...thanks in advance.

  2. Chandra M
    Member
    Posted 5 years ago #

    Hey Dguyen,

    Thanks.

    The tag cloud should be chosen from Appearance -> Widgets menu. You can add Tag Cloud from there before you can see it on the sidebar.

    Let me know if that doesn't work.

    Thanks,
    Chandra

  3. dguyen
    Member
    Posted 5 years ago #

    Hi Chandra,
    Thanks for the reply...I'm decently new to this but I don't think that I'm "that" nub, but I'm sure you can't be too sure with anyone on the web :)

    I have tried to add it in the Widgets menu, unfortunately its doesn't allow me to click "Add" as if it is already chosen. My Dashboard says I have 6 widgets chosen (calendar, archives, blogroll, meta, recent posts, tag clouds). Unfortunately it only show 3 (recent posts, meta, archives) in my "sidebar"...and there isn't another "sidebar" in the drop down menu...

    I hope I've explained it better...thank you for your time.

  4. bekabug
    Member
    Posted 5 years ago #

    Can you post your sidebar.php code? this might be a "feature" of the theme you're using...

  5. dguyen
    Member
    Posted 5 years ago #

    Hello, I was just looking at the code and slowly breaking it down.

    <div id="sidebar">

      <li id="rssfeeds">Subscribe: ">Entries | ">Comments
      <?php /* Widgetized sidebar, if you have the plugin installed. */
      if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

    • <h2>David and Stacy</h2>
      <p>Uh, just another family blog for our friends and family because talking is just to difficulut...</p>
    • <?php if ( is_404() || is_category() || is_day() || is_month() ||
      is_year() || is_search() || is_paged() ) {
      ?>

    • <?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 /"><?php echo bloginfo('name'); ?> 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 /"><?php echo bloginfo('name'); ?> 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 /"><?php echo bloginfo('name'); ?> 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 /"><?php echo bloginfo('name'); ?> blog archives
      for '<?php the_search_query(); ?>'. 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 /"><?php echo bloginfo('name'); ?> blog archives.</p>

      <?php } ?>

    • <?php }?>

      <?php wp_list_categories('title_li=<h2>Categories</h2>'); ?>

    • <h2>Archives</h2>
      <ul class="archives">
      <?php wp_get_archives('type=monthly'); ?>

    <?php /* If this is the frontpage */ if ( is_home() || is_page() || is_single()) { ?>
    <?php wp_list_bookmarks(); ?>

  6. <h2>Meta</h2>
  7. <?php } ?>

    <?php endif; ?>

    </div>

  • bekabug
    Member
    Posted 5 years ago #

    Try that again but make sure to use the code button or put your code between backticks

  • dguyen
    Member
    Posted 5 years ago #

    Thanks for the time and consideration...my issue was not a coding problem. WordPress seems to have an issue where I was using another theme with multiple sidebars and when I switched to this 1 sidebar theme, those widgets previously in a "sidebar 2" were just invisible. So I switched to a multi-sidebar theme to see the widgets, remove them...and returned to a single sidebar theme to re-add them...thanks for help anyhow. You have a great theme. I hope others figure out this widget fix soon!

  • Chandra M
    Member
    Posted 5 years ago #

    Yep.. looks like the earlier theme had multiple sidebars and when switching to this theme WordPress just acted weird .. I am not sure of the fix looks like you found the way. Otherwise, you might have to play around with database I guess.. which is not a good solution.

  • Boatpride
    Member
    Posted 4 years ago #

    Hi Folks,

    My problem is just the reverse! I have a tag cloud that I would prefer not to see! I have looked through appearances - widgets, but no joy.

    It would be a default function of the theme though?

    Any thoughts appreciated.

    Chris

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags