Tagged Questions
0
votes
4answers
129 views
How do I display an image before the first post of the loop when I'm using get_template_part?
I have used $count before, but never run into this problem. I cannot get it to work. I have limited php background, so please be patient with me! Here is the $count setup code:
<?php $count = ...
0
votes
1answer
220 views
Display content of page template (get_page)
My problem is that I displayed content of 3 pages on index.php by using get_page(). The problem is that each of those pages have own page template
/*
Template Name: another page template
*/
which ...
0
votes
1answer
98 views
The_excerpt() doesn't parse <!--more--> - how to change that?
I'm using the_excerpt(); in blog.php file (post listing page) and it doesn't recognize <!--more--> if "Excerpt" field is empty and it grabs the beginning of the content as excerpt.
This issue ...
0
votes
1answer
116 views
Using jQuery .after inside loop
I have a bit of javascript that will dynamically add a static post to a loop. The script uses the jQuery 'after' method and on a static page it works beautifully but when inside the loop I don't get ...
0
votes
1answer
32 views
Announces with different formatting dependently on a number
I am modifying the theme TwentyEleven.
In index.php there is the loop which accesses content.php template:
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', ...
0
votes
3answers
189 views
Page and post loop same template
I try to make template that has Page content in the main div but in the same page there is category base post loop whit title, day, content and read more link.
What i had now is like this
<?php ...
0
votes
2answers
370 views
the_content() returning null in one category only, even though there is content
A friend's heavily customized blog has a category with a specific categoryname-single.php file to display posts.
Apparently for no special reason, since yesterday, the_content() is not returning any ...