4,800 reputation
3815
bio website
location Bristol, United Kingdom
age
visits member for 2 years, 11 months
seen 6 hours ago

senior scientist, programmer; interest in metaphysics and DiscWorld. I work with WordPress mostly for own sites; focus on themes and templates.


Apr
17
comment Can I use images as anchor tags with <?php previous_post(); ?><?php next_post(); ?>
those functions have been deprecated; codex.wordpress.org/Function_Reference/previous_post - try web search for 'wordpress previous post link with image'
Apr
13
comment Conditional IF statement not returning true even though echo of $user->province is correct
try to output: echo 'x'.$user->province.'x'; or in your conditional, try to use: if ( trim($user->province) == 'Free State') {
Apr
10
comment Conditional IF statement not returning true even though echo of $user->province is correct
have you checked that $user->province does not have any unwanted space characters?
Mar
19
comment How to exclude posts ordered by comment_count from subsequent wordpress loops using WP_Query?
review codex.wordpress.org/The_Loop#Multiple_Loops_in_Action
Mar
18
comment Fatal error after changes to functions.php, even with original file
what theme is that? what is the full error message? this should have the locations of the (two ?) files where the function gets defined.
Mar
10
comment shortcodes not working -they just display as raw shortcode (code)
what is the code of the archive template? does for example the default [gallery] shortcode work?
Mar
7
comment paginate_links adds strong element
is that the direct html code from the last page in the browser, or viewed by a browser inspection tool? does the last page validate?
Mar
5
comment Display posts from category in page
is that the full code? I don't see the while(); ... endwhile; of the actual loop.
Feb
16
comment Duplicate post problem
codex.wordpress.org/The_Loop#Multiple_Loops_in_Action
Feb
13
comment Post per page not working
do you have any 'sticky' posts in your site?
Feb
12
comment How to display only introtext?
review codex.wordpress.org/Function_Reference/…
Feb
11
comment How can I create a “Read More” link using the_excerpt() on a static front page?
what is the code of the page template?
Feb
11
comment Disable default Wordpress widgets in sidebar
the 'default widgets' are generally no widgets but some hardcoded functionality in the sidebar file of the theme. when you create your own theme, do not add the corresponding code into the sidebar file.
Feb
8
comment Can't get the previous and next posts permalink
is that in an index template or in the single.php template? have you reviewed codex.wordpress.org/Pagination
Feb
3
comment get_posts() in secondary sidebar messes up content in primary sidebar
I'll put that as an answer so the topic can be marked as solved (just for the forum staistics)
Jan
31
comment get_posts() in secondary sidebar messes up content in primary sidebar
possibly the use of $posts might be interfering; try to change that to something else like $menu_posts or similar, and try what @Shellbot suggested.
Jan
28
comment Displaying posts from a Category where the Category ID or slug is not known
category.php already uses the category ID; what is different in your idea? what is not working for you when you use the 'normal' category.php?
Jan
27
comment get_permalink() gives a certain page link only. how to solve this.?
please post the full code of the corresponding loop. where exactly are you using that code?
Jan
15
comment get_footer not working boilerplate theme
have you enabled DEBUG codex.wordpress.org/Debugging_in_WordPress and what are the error messages? what does show in the html code of your static pages in the browser?
Jan
11
comment Put captions underneath menu items
the image link is not working, however, this might be related wordpress.stackexchange.com/questions/14037/…