Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Wrapping sidebar with class="nocontent"


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Jan 4, 2012, 08:27 PM
ymf
 
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).
 

Bookmarks

Tags
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 12:45 PM
Can't figure out how to add code to display in <div class="opacityright"> schabadoo Header configuration & styling 3 May 24, 2010 06:40 AM
[SOLVED] &quot;class&quot; appearing above header and navbar DesignFlute Header configuration & styling 6 May 7, 2010 01:50 PM
Need to call <li class= "current-cat-parent"> for single posts b1tzmast3r Page & Category Menu Bars 5 Jan 25, 2010 03:48 PM


All times are GMT -6. The time now is 03:16 AM.


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