Ponx
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Tanzaku theme: how to hide the grid wrapper in single page?yeah works! thanks a lot 🙂
i’am a php noob, and i search for
long time for a solution like this
thanks a lot 🙂greets
dennisForum: Themes and Templates
In reply to: Tanzaku theme difficulties with excerptshi!
for all with the same problem, add this to the end of your function.php before the ?>
————
function remove_more_link($link) { $offset = strpos($content, ‘#more-‘);
if ($offset) { $end = strpos($content, ‘”‘,$offset); }
if ($end) { $link = substr_replace($content, ”, $offset, $end-$offset); } return $content; }
add_filter(‘the_content_more_link’, ‘remove_more_link’);
————this will remove the more link on posts
Forum: Themes and Templates
In reply to: Tanzaku theme: how to hide the grid wrapper in single page?hi, i search for the same problem.
howe you risolved this???Forum: Themes and Templates
In reply to: Question about TanzakuSet this on the CSS
#container {
max-width:900px !important; //enter your width here
margin:0 auto;
padding:0;
}Forum: Fixing WordPress
In reply to: Exclude category on the home pageAdd this to your function page:
function exclude_category($query) { if ( $query->is_home ) { $query->set(‘cat’, ‘-1 -2 -3’); } return $query; }
add_filter(‘pre_get_posts’, ‘exclude_category’);// -1 ecc. stay for the category number to exclude