Tagged Questions
0
votes
1answer
31 views
Parent for a single (single.php)
Is it posible to get the parent ID of an single page.... I mean not a Page I mean an is_single()... page.
I have a page witch contains some custom posts and when I click on one of these i came to the ...
2
votes
2answers
87 views
single page site with subpages
i want to make a single page site which has subpages with following structure
about us
team
-member1
-member2
contact
and i want the output to be like
<div class="about-us">
team content
...
0
votes
0answers
313 views
How To Link Product Thumbnails To Single Product Page in WooCommerce? [closed]
When I updated to 3.5, I noticed that I cannot link images anymore :( So am using the "WP Gallery Custom Links" plugin to place a link for my images, but it does not work for the product thumbnails ...
0
votes
1answer
195 views
Changing wp_link_pages() to “Next Page” and “Previous Page” buttons?
Currently I am using <!--nextpage--> to split a post into multiple pages, but I would like to change from Pages: 1 2 3 4 to Next Page and Previous Page links similar to what you see on this ...
4
votes
2answers
445 views
Posts in multiple Categories different single.php
I am smashing my head against some code.
Here is the situation:
I have one post in 3 different categories, this post has to be visible in "category 1" with the single1.php, in "category 2" with ...
2
votes
2answers
171 views
Make custom post type display as a page
I am trying to make my custom post type display on the front end as if it were a page. Depending on the theme, it won't have the date, author, etc...
I've looked into creating a template such as ...
0
votes
1answer
180 views
infinite loop on page with comments after changing comments.php and header.php
I am using version 3.3.1 of wordpress but I'm following a tutorial that used version 2.7. After changing my header.php and comments.php code, I'm getting an infinite loop when I view the single post ...
0
votes
1answer
87 views
Display “Post 2 of 4” on single post page?
I have a custom post type called Projects.
When viewing a single 'project' post I have next/prev buttons to navigate through them.
I also want to display text saying "Project 2 of 4" or ideally ...
1
vote
1answer
489 views
in_category() works in single.php but not in page.php?
I'm using in_category(array) inside The Loop to detect whether a post is categorised into the Discussion category (or has one of a couple of slugs). This works beautifully on single.php but doesn't ...
1
vote
1answer
792 views
Can't get the_content of the parent page from its single post?
This is a page that list posts witht he category Content (CDs):
<div id="tagline">
<div class="container">
<?php // Run main loop (The Loop). ?>
<?php if ( ...