4,959 reputation
3915
bio website
location Bristol, United Kingdom
age
visits member for 3 years, 3 months
seen yesterday

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


Jul
22
answered Keep post format class with isotope filter
Jul
10
comment Get a post's thumbnail url or display default image in shortcode
can you post the full code of the shortcode function? btw, shortcode functions should not echo the result.
Jul
5
answered Echo the number of posts being displayed
Jun
2
comment Include php on a specific page template
if you are using the template as described in the linked Codex chapter, try to use is_page('courses') in your conditional.
May
28
comment Have latest post and recent posts display differently
@Gareth Gillman - thanks for the resource.
May
28
answered Limit ads appearing more than three times
May
28
answered Echo the featured image of page assigned to blog in index.php
May
28
comment Have latest post and recent posts display differently
be aware that using 'offset' is going to make problems if you need pagination.
May
27
comment Comments Template shows, but not the comments
comments templates don't get shown in indices and archives. the comments template is called from single.php.
May
22
comment Add next and previous post links on pages like category, tags or archive pages
afaik, with your custom query, you won't get any category or tag specific posts. try and research codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts to set the posts per page to a different number.
May
21
comment add_filter the_content in functions.php not working
that 'echo' possibly ends up somewhere before the html of the site is output; try to add the string to the $content like return 'rrr'.$content;
Apr
25
awarded  Yearling
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.