Ken Chase
Forum Replies Created
-
Forum: Themes and Templates
In reply to: I try to add more tag is not work on CSSYou might want to add a class or id to the selector…
Class
.urgence{}
ID
#urgence{}
Forum: Fixing WordPress
In reply to: Get number of child pages<?php
$children = get_pages(‘child_of=’.$post->ID);?>
if( count( $children ) != 0 ){}
else{}
?>You might want to look here:
http://codex.ww.wp.xz.cn/Function_Reference/register_taxonomy
More specifically, you can provide a slug for the taxonomy using the “rewrite” parameter. The slug url (i.e. http://www.site.com/people/staff) will display an archive of that taxonomy:
register_taxonomy($taxonomy, $object_type, array(
… other parameters …
‘rewrite’ => array(‘slug’ => ‘people/staff’)
)Hope this helps
Forum: Fixing WordPress
In reply to: Can I Make 'Featured Image' Full size?Have you tried adding this to the functions.php file in your theme folder.
set_post_thumbnail_size(150, 150);
(replace 150 with the desired width and height)
Forum: Fixing WordPress
In reply to: Home Page ProblemsFrom the WordPress admin dashboard click settings->reading.
Front page displays: A static page
– Set “Front page” to the page that you want as your home page.
Forum: Fixing WordPress
In reply to: Display "latest posts" after a welcome pageFrom the WordPress admin dashboard click settings->reading.
Front page displays: A static page
– Set “Front page” to the page that contains your 18+ warning
– Set “Posts page” to the page should contain your latest posts