-1
votes
2answers
24 views

Single loop with dual content area

Is there a way to implement a single loop with dual content area. E.g. A single loop having 2 of <?php the_content(); ?> Dinstinguished as shown bellow with video and write-up respectively ...
0
votes
1answer
25 views

Making a specific page wordpress compatable that is not index

When I first created my website I overwrote the wordpress php and essentially made the website static. Now I want to make one specific page wordpress compatable (e.g. when i make posts from the ...
0
votes
1answer
164 views

the_content() “crashes” for single pages

I have big trouble with the_content() for single.php. Whats my problem? the_content() doesn't give any output on single pages furthermore it crashes (no other PHP code below the function call is ...
0
votes
2answers
503 views

get parent content inside child posts

I have a custom post type where I've created 3 pages in a parent-child relationship. The pages are created like this : PARENT-CHILD-GRANDCHILD I want the child and the grandchild pages to get the ...
0
votes
1answer
32 views

Accessing the Posts page Content

I have a Posts page set in settings->reading - posts page is set to a page called "notes" How can I access the title, content & featured image of the page? WP seems to want to access the first ...
0
votes
2answers
1k views

remove <p> tags from the_content

I've got a post format of Image, and I am running into an issue where the image is being wrapped by a <p> tag. I want to get rid of that tag (specifically on the single.php version) of those ...
0
votes
4answers
462 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
1k 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
235 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
179 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
392 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
552 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 ...