WordPress.org

Ready to get started?Download WordPress

Forums

Custom Community
Dead links on static homepage (4 posts)

  1. slowsoulz
    Member
    Posted 8 months ago #

    I am using the custom community theme and have dead links on the static homepage. Those dead links are: Recent Posts, Search by Tags!, Archives,
    Links, and Meta.

    When I remove the bp login widget the dead links appear. When I add the bp login link, the dead links are either hidden or covered up. If I add the login link through the theme settings, the login box is at the bottom of the dead links.

    I have created a custom register/login page so I don't want to have any links on the homepage.

    I checked all the setting that I thought it might be but I don't see anything wrong. When I changed themes to the default theme, the dead links went away.

    Any help would be greatly appreciated!

    http://www.theoohwee.com

  2. konradS
    Member
    Posted 8 months ago #

    hi slowsoulz,

    not sure there's an easy solution for this...

    if you leave all like it is did it work then?

    if so, maybe it is an easy workaround to just hide the widget via CSS..

    but I cannot access your site :-? (No, I dont want to sign up extra..)

    otherwise, i would anyway not really recommend this theme version if you start a new site by now, it will break soon anyway and there will be no further update.

    Version 2.0 will be coming but it will be a different theme and a whole new world, so if you are starting a new site you would want either to startout with the beta or wait unbtil its finished or choose a complete other theme..

    thats my 2 cents..

    konrad

  3. slowsoulz
    Member
    Posted 7 months ago #

    Thank you for the reply KonradS.

    1. The main problem is that I am not able to have a "logout button" on the side bar of the different group pages.

    2. The site isn't ready for public view and that is why I put it in "maintenance mode." (When I leave the site open, people figure out ways to register using bogus info.)

    In doing some research, I found that the sidebar.php is where the problem is, I think. This is what it looks like:

    <?php do_action( 'bp_before_sidebar' ) ?>
    <div class="v_line v_line_right visible-desktop"></div>
    <div id="sidebar" class="span4 widgetarea">
    <div class="paddersidebar right-sidebar-padder">

    <?php do_action( 'bp_before_after_sidebar' ) ?>
    <?php if( ! dynamic_sidebar( 'sidebar' )): ?>

    <?php if ( is_singular() ) { ?>
    <div class="widget">
    <h3 class="widgettitle" ><?php _e('Recent Posts', 'cc'); ?></h3>

      <?php
      $myposts = get_posts('numberposts=5&offset=0&category=0');
      foreach($myposts as $post) : setup_postdata($post);
      ?>

    • <span>"><?php the_title(); ?></span>
    • <?php endforeach; ?>

    </div>
    <?php } else { ?>
    <div class="widget">
    <h3 class="widgettitle" ><?php _e('Random Posts', 'cc'); ?></h3>

      <?php
      $rand_posts = get_posts('numberposts=5&orderby=rand');
      foreach( $rand_posts as $post ) :
      ?>

    • "><?php the_title(); ?>
    • <?php endforeach; ?>

    </div>
    <?php } ?>
    <div class="widget tags">
    <h3 class="widgettitle" ><?php _e('Search by Tags!', 'cc'); ?></h3>
    <div><?php wp_tag_cloud('smallest=9&largest=18'); ?></div>
    </div>
    <div class="widget">
    <h3 class="widgettitle" ><?php _e('Archives', 'cc'); ?></h3>

      <?php wp_get_archives( 'type=monthly' ); ?>

    </div>
    <div class="widget">
    <h3 class="widgettitle" ><?php _e('Links', 'cc'); ?></h3>

      <?php wp_list_bookmarks('title_li=&categorize=0&orderby=id'); ?>

    </div>
    <div class="widget">
    <h3 class="widgettitle" ><?php _e('Meta', 'cc'); ?></h3>

    • <?php wp_loginout(); ?>
    • <?php wp_meta(); ?>

    </div>

    <?php endif; // end primary widget area ?>

    The "offending code" starts here:

    <?php if ( is_singular() ) { ?>
    <div class="widget">
    <h3 class="widgettitle" ><?php _e('Recent Posts', 'cc'); ?></h3>

    And it is this code where the dead links are. I tried to delete the code, but it made the sidebar unusable for the other widgets. When I use the "login" settings to add the login box, it shows up on every group but no the pages.

    Thanks for the help KonradS

  4. konradS
    Member
    Posted 7 months ago #

    What can I say, the theme is outdated and buggy on some places!

    So it doesnt work like this.

    Hope you find some easy workaround, otherwise I can just recommend dont invest too much time with the current CC..

    we are working on version 2.0 with all hands already:

    maybe have a look at the early beta and play with it?

    it is truly responsive, works 100% with live preview in the wp customizer and got twitter bootstrap 3.0 integrated, lean CSS, fresh HTML5 templates and lot more goodies. you cannot compare the old CC at all.

    Just we need some more weeks to finish the CC theme, it's like 60% finished maybe (just a number / feeling)..

    Read more here:
    http://themekraft.com/blog/custom-community-2-0-current-status/

    Hope this helps,
    Konrad

Reply

You must log in to post.

About this Theme

About this Topic