4,979 reputation
3915
bio website
location Bristol, United Kingdom
age
visits member for 3 years, 3 months
seen 9 hours ago

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


Aug
12
comment How to show the posts list into a static page? Problems to use the loop into a static page
you need to add a suitable query to tell the loop what you are trying to show; review the second custom loop in codex.wordpress.org/Page_Templates#A_Page_of_Posts
Aug
11
comment Why the_excerpt() function returns excerpt on the Home page and trimmed content in sidebar?
are you using hand-written excerpts? does your theme possibly use any filters for the excerpt?
Aug
11
comment Conditionally load class in the comment section of the post page
possibly use get_comment_class()
Aug
3
comment Remove Captions from Custom Gallery function.php
what is the full code of your custom gallery function?
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