4,475 reputation
3714
bio website
location Bristol, United Kingdom
age
visits member for 2 years, 1 month
seen 5 hours ago
stats profile views 266

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


1d
comment How do WP child-themes work?
that is because the parent theme loads the stylesheets after style.css of the child theme - lok into the code of hte head section in your browser. any stylesheet you load with @import in your child theme will be called before those of the parent theme. consider to enqueue the child theme's stylesheets codex.wordpress.org/Function_Reference/wp_enqueue_style
May
18
comment Rearrange the title, the thumbnail, and the content in a theme template
what theme is that? the_content() does normally not show the featured image.
May
17
comment Display Posts with template on a Page
what theme? what are you trying to achieve?
May
16
comment my wordpress theme does not disply comment box?
there are more places to tick for comments, such as under dashboard - posts - all posts: and click quickedit below each post title...
May
16
comment my wordpress theme does not disply comment box?
have you checked all dashboard settings regarding comments?
May
15
comment How to change the text generated by <!--more--> Tag
in your case, this might be part of the function tf_content() (?) - what theme are you using?
May
15
comment Identify the page being shown while in The Loop
'and then query any posts of type career, before using loop.php' - with that query, you are affectively destroying the 'page' information; you could try to check for the used 'post_type' in your conditional statement (?).
May
15
comment Identify the page being shown while in The Loop
I am trying to get the meaning of 'if there are no posts to display' - as this would usually only occur in index or archive pages; when you get to a static page, it is kind of difficult for it not to have a 'post' which is the page itself. do those referenced pages have page templates with custom loops? btw: does your code work for search results?
May
15
comment Identify the page being shown while in The Loop
is that all the code of your loop or does the template contain a custom query?
May
15
comment Identify the page being shown while in The Loop
in what template are you using your code? i.e. does your theme have page.php, search.php, and index.php, etc ?
May
14
comment Category ID is appearing
the links seem to be generated by your theme's front page template; as this is a commercial theme, it might be the easiest if you contact the theme's developer.
May
13
comment WP_Nav Highlight Parent Issue
please post whatever code you are using to create your nav
May
10
comment first post full width, rest in two columns
this is rather a question of when and how to switch from php tags to html tags; here is the corresponding code section: pastebin.com/ZMyZA0CQ
May
6
comment Targeting a CSS class for a custom post type?
article.type-listings ul.meta li.category { display: none; } - voted to close the thread as CSS questions are off-topic.
May
4
comment Shortcodes not working in just posts
if it not working in posts, you will need to focus on the code in single.php
May
4
comment Shortcodes not working in just posts
what shortcode is that? and does it work when you switch to the default theme Twenty Twelve?
May
3
comment Add Class While on Current Post; wp_list_categories
I can't tell - both posssibities are very similar - not using wp_get_post_categories() saves one query, while your loop for adding the .current-cat seems to be more efficient to me ... I am tempted to combine both codes and run a few tests.
May
2
comment Output 2 items within the Loop
the devil is as always in the detail - you need to provide a closing tag solution for uneven numbers of posts.
Apr
30
comment How to create a functions.php in child theme?
no idea if this is still relevant: the posted code in this line 'post_content' => $content is missing a comma.
Apr
30
comment How do I add a custom body class for a specific page ID?
the return $classes; would need to be outside of the if( is_page() )