0
votes
1answer
28 views

Style Wordpress Custom Post Type Single Page

I'm registering a custom post type 'events'. The events can be listed using a shortcode, and when you click on an event you go to the single view of that event. Now, I want this single view page to be ...
0
votes
0answers
16 views

Pagination on Single page doesnt work [duplicate]

I am trying to have a list of other/previous posts with pagination on single page under the main post, But the below code doesn't work. Can someone point out where am I getting wrong here? <div ...
0
votes
1answer
34 views

Custom single page based on which custom page template is selected

I have two custom page templates ("template-blog-left.php" with the sidebar of the left side, and "template-blog-right.php" with the sidebar on the right side.) but I don't know if there's any way of ...
0
votes
1answer
76 views

Custom Style per Post, How to Display Custom-Styled Single post on Homepage?

This question probably has simple answer, but I'm not an expert programmer so lemme explain my question chronologically. I apply custom style for every single post, and it works using the following ...
0
votes
1answer
315 views

How to move meta information in TwentyTwelve's single post template?

How can I move a single post's meta data to it's headline? I tried single.php and content_page.php, but could not find it. I am using the recent Wordpress 3.5.1 with the standard theme TwentyTwelve. ...
0
votes
2answers
89 views

Adding comments to my custom theme

I would like to add comments to my single.php file. My custom theme is "hand built" and I haven't found the proper code needed to add this functionality. Anyone have the quick and dirty on how to add ...
2
votes
2answers
2k views

Custom permalink structure only for default posts

Does anybody know how to modify the url struct only for the single post page? When I go to a post page, the url should look like: example.com/xxx/my-post. All other urls (with the exception of the ...
0
votes
1answer
182 views

Portfolio & Blog cohabitation : multiple single.php files?

I'm currently creating a website that's going to be powered by Wordpress and have both a portfolio and a blog. How should I go about coding up the single.php? I understand custom post types are the ...
2
votes
3answers
1k views

How do I create a widget that only allows a single instance?

How do I create a widget that only allows a single instance of a widget to be added through the Wordpress interface? The default behaviour of widgets allows multiple instances to be added. I am ...
1
vote
1answer
570 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 ...
0
votes
2answers
195 views

Can I style single post that are in multiple catergories?

I have a regular wordpress site and I am trying to make a mobile version of the same site. For the blog section, I have put all of the posts in two categories: blog and mobile. The posts in "blog" ...