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

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


1d
comment get_permalink wrongfully returns only year and month and not all the link
please post the full code of the function or template.
1d
comment Escape current post from loop
be aware that using 'offset' will cause problems with pagination.
Aug
29
comment latest posts-widget displays all posts on archive page but works great anywhere else
what is the shortcode ULWPQSF doing?
Aug
25
answered How do I style the first two posts of a loop
Aug
23
comment Find sidebar.php in WP 3.9.2
sidebars are theme specific - what theme are you currently working with? review codex.wordpress.org/… to change the file directly, review codex.wordpress.org/Editing_Files
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;