Darklandz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Making your own themeStijn,
Styling and ‘modding’ is pretty easy, my suggestion would be take a basic theme and start changing that so you learn it whilst you play with it…
The themes files can be found in the wp-content/themes directory.
Forum: Fixing WordPress
In reply to: wp_list_pages customize …Hmm i’m stuck …
I’m trying to incorporate this as my page navigation tabs
i made a function in my template functions.php :
function DarkPageNav(){ $output = ''; $pages = wp_list_pages('sort_column=menu_order&depth=1&title_li='); if ($pages) { $output .= '<li>'.$pages; $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0'); if ($children) { $output .= '<li>'.$children.'</li>'; } $output .= '</li>'; } return $output; }if you look on my site it only shows the pages tabs but not if it has subpages …
If you check here (just plain html no code here) that is the result i would like to get …
Forum: Fixing WordPress
In reply to: wp_list_pages customize …Ah thanks for the Wingrep tip, just installed it 🙂
Forum: Fixing WordPress
In reply to: wp_list_pages customize …anyone ? been searching for a few hours …
Forum: Fixing WordPress
In reply to: Cannot upload images from wordpress since moving to LinuxIn that case i suggest you contact your hosting support then …
Forum: Fixing WordPress
In reply to: Cannot upload images from wordpress since moving to LinuxWith your FTP program, go to your upload directory and select it, then choose file permission (CHMOD) you should be able to enter 777 as permissions for your upload directory.
Forum: Fixing WordPress
In reply to: Cannot upload images from wordpress since moving to Linuxsounds like a permission problem try chmod 777 … did that help ?
Forum: Fixing WordPress
In reply to: wp_list_pages customize …hmm this outputs with html code … i was looking for a way to get the pages in an array so if i do :
echo $mypages(0) should get Home and so on …