WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Customize Your Community] left sided sidebar (5 posts)

  1. CasperH
    Member
    Posted 5 years ago #

    Hi there,

    Considering your name you probably speak Dutch but ill be writing this in English anyway.

    I have succesfully installed your plugin and tweaked around with it for a bit. To my annoyance tough i just can seem to get my sidebare on the right side. Looking into the php script (with my limited skill in this erea) I have found out that the login part is indeed loaded before the sidebar.

    I have tried putting the sidebar code infront of it but to no succes.

    echo $cyc_options['beforesidebarcode'];
    	if (function_exists('thesis_get_sidebars')) {
    		thesis_get_sidebars();
    	} else {
    		include(TEMPLATEPATH . '/sidebar.php');
    	}

    In my theme the loading go's like this:

    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    
    <div class="dc" style= etc...

    Is there an easy way for me to edit the plugin so it loads the login/logout etc stuff after the sidebar?

    Your help would be very much appreciated.

    http://wordpress.org/extend/plugins/customize-your-community/

  2. BibleStudyRadio
    Member
    Posted 5 years ago #

    I think any template with the sidebar on the left side will not work with CYC.

  3. zhudachang
    Member
    Posted 5 years ago #

    A dirty hack

    Just move the part (in function cyc_footer) into the function cyc_head() after the line "echo $code;":

    echo $cyc_options['beforesidebarcode'];
    if (function_exists('thesis_get_sidebars')) {
    thesis_get_sidebars();
    } else {
    include(TEMPLATEPATH . '/sidebar.php');
    }
    echo $cyc_options['aftersidebarcode'];

  4. Joost de Valk
    Member
    Posted 5 years ago #

    While that hack will work, there's something inherently wrong when you load your sidebar before your main content in your theme. SEO wise and user experience wise that's a bad decision.

  5. DeejayKnight
    Member
    Posted 5 years ago #

    While I understand that that may not be the SEO-specific way to do it, that may not matter to the rest of us.

    As someone who is a student of SEO and design, I see your point - but as a designer and developer with a site that utilizes a left-handed sidebar, I have to admit a slight disappointment that design decisions made before your plugin was released have doomed me to not style my user admin section as I have the rest of my site.

    Ah well. :) I've been doing fine without this plugin before, so I guess it wouldn't bother too much to continue on without it.

    Great plugin, by the way. I just wish I was able to use it! :D

Topic Closed

This topic has been closed to new replies.

About this Topic