bamme
Senior Member
Hi guys
This forum has been really helpful for wordpress as well as web dev/coding.. amazing help thankyou.
I thought id ask a q here about wordpress because this forum for support IMO is kinda better than theirs hah.
So here are my qs - if nobody knows, no worries, but itd be a big help for a person who struggles with php.
1) I currently have this in place in a php file of a theme im using here: www.ziggiville.co.uk, to display the pages:
I want to also display subpages so I can sort the pages into a silo type structure and help SEO. I read something that told me to place this into your theme where you want the pages/subpages to appear. But i do not know how to add this following code to what i already have above, or how to change it/if its right - i can't read php very well
Can anyone give me a clue?
>>> think this is fixed, just changed "&depth=1" to "&depth=2" -- seems to do the trick
2) I've just downloaded this plugin: http://sexywp.com/fmp
I tested it on a blog using wp version 2.9.1 - worked fine. tested it on the actual blog i wanted to use it on, using the same theme, version 2.9.2 - problem.
the plugin installs, and i can activate it thru wordpress fine, but after i do, no link to its settings appears in the settings tab, and no icon for the plugins appears in the Page/Post editor toolbar - so I can't use the plugin.
the plugin says its compatible up to 2.9.2, so i think it may be something else - perhaps to do with file permissions or something :/ (i did not install wordpress onto this blog myself )
Im asking if anyone recognizes this problem as something thats happened with one of their plugins, or anyone could throw in a guess about what might be wrong thats making it not work?? I was advised to "chown" something someplace but im not sure what chown is.
Help would be much appreciated very frustrating!
I thought id ask a q here about wordpress because this forum for support IMO is kinda better than theirs hah.
So here are my qs - if nobody knows, no worries, but itd be a big help for a person who struggles with php.
1) I currently have this in place in a php file of a theme im using here: www.ziggiville.co.uk, to display the pages:
PHP:
<div class="pages">
<ul>
<li class="<? echo (is_home())?'current_page_item':''; ?>"><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<?php $pages = wp_list_pages('sort_column=menu_order&depth=1&title_li=&echo=0');
echo $pages; ?>
</ul>
<? unset($pages); ?>
</div>

PHP:
<?php
$children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
if ($children) { ?>
<ul>
<?php echo $children; ?>
</ul>
<?php } ?>
>>> think this is fixed, just changed "&depth=1" to "&depth=2" -- seems to do the trick
2) I've just downloaded this plugin: http://sexywp.com/fmp
I tested it on a blog using wp version 2.9.1 - worked fine. tested it on the actual blog i wanted to use it on, using the same theme, version 2.9.2 - problem.
the plugin installs, and i can activate it thru wordpress fine, but after i do, no link to its settings appears in the settings tab, and no icon for the plugins appears in the Page/Post editor toolbar - so I can't use the plugin.
the plugin says its compatible up to 2.9.2, so i think it may be something else - perhaps to do with file permissions or something :/ (i did not install wordpress onto this blog myself )
Im asking if anyone recognizes this problem as something thats happened with one of their plugins, or anyone could throw in a guess about what might be wrong thats making it not work?? I was advised to "chown" something someplace but im not sure what chown is.
Help would be much appreciated very frustrating!