Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] Wrapping sidebar with class="nocontent"

Prev Previous Post   Next Post Next
Old Jan 4, 2012, 07:27 PM
61 posts · May 2009
[SOLVED] Wrapping sidebar with class="nocontent"

I'd like to have something like
HTML Code:
<td id="right-inner" class="nocontent"> ... </td>
i.e. surround a sidebar (footer, header, widget...) area with a class="nocontent". Preferably, I'd like to do it without having to modify the theme's code .

Why I want it? -- to tell Google Custom Search that the sidebar has a boilerplate content that's not relevant to the main content of the page. When Google Custom Search sees this tag, they ignore any keywords it contains and won't take them into account when calculating ranking for the Custom Search engine (see http://support.google.com/customsear...answer=2364585).


cse, google custom search, nocontent

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Menu bar has duplicate specification of attribute &quot;class&quot; hollidaysjohn Page & Category Menu Bars 4 Aug 23, 2010 11:45 AM
Can't figure out how to add code to display in <div class="opacityright"> schabadoo Header configuration & styling 3 May 24, 2010 05:40 AM
[SOLVED] &quot;class&quot; appearing above header and navbar DesignFlute Header configuration & styling 6 May 7, 2010 12:50 PM
Need to call <li class= "current-cat-parent"> for single posts b1tzmast3r Page & Category Menu Bars 5 Jan 25, 2010 02:48 PM

All times are GMT -6. The time now is 05:33 AM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.