Pages are static, timeless content that are unique from the regular blog chronology.
1
vote
1answer
828 views
Priority for Categories, Tags, Taxonomies, Posts, Pages and Custom Posts with same url
I have been reading dozens of posts and honestly, I have many doubts on how this work. Furthermore, I think that with WP3.1 more issues have been added here because I am having even more problems now ...
1
vote
1answer
384 views
How do I add a front menu button that redirects to another website or sub-domain?
Hello there,
I would like to add a front menu
button (viz. Home, About, Archive
etc.) to my blog that links to another
website. WordPress only shows the
pages that I have created using
...
1
vote
4answers
893 views
WP Page and Subdirectory with same name
I have a subdirectory within my WP installation called labs. I created a WP page called labs as well. When a user hits mydomain.com/labs/ I want them to load up the WP page. But instead it's loading ...
1
vote
1answer
707 views
How can I reverse engineer a Permalink to Find the Page?
I am new to WordPress, and I need to make some quick changes.
How can I find the Page that is referenced by a permalink: e.g. for www.example.com/mypermalink how can I locate the actual WP Page so I ...
1
vote
1answer
49 views
PHP Script within wordpress theme
I have a php script that I'd like to utilize within my wordpress theme. I'd like to restrict access to the page based on users belonging to particular groups so it's important to keep it within ...
1
vote
2answers
54 views
Getting child content
I am using the folowing to get child title and content. Each child has a gallery and a short code in the content editor in the content, but I only get the gallery and not shortcode. It isn't something ...
1
vote
1answer
605 views
Disable visual editor on one specific page
I would like to remove the visual editor from one specific page because if I edit this one page in Visual mode, it breaks the code. I want to make sure the client doesn't have this option on the ...
1
vote
2answers
289 views
Get closest page ID from URL
Lets say on my WordPress website I navigate to:
www.example.com/media-centre/news/17/an-example-news-post
In this case I am looking at a post in a CPT called News.
What I want to do is get the ...
1
vote
2answers
478 views
How can I display widget in a Page or Post?
I am trying to display some widgets (Quora & Goodreads) widgets inside Page or Post. How do I do that without displaying it inside Sidebar?
1
vote
1answer
61 views
Is there a way to remove or hide individual pages on the Edit Pages screen?
I want to create a handful of pages that I do not want the client to have access to through the edit pages admin screen.
I do want the pages to have all the normal functionality of pages in other ...
1
vote
1answer
272 views
meta_key & meta_value not working with get_pages and custom taxonomy
I'm trying to use custom taxonomy with pages. Basically a page has a "relevance" taxonomy, depicting who the page is relevant for. The pages are created in a hierarchy based on the departmental ...
1
vote
1answer
102 views
Clean URL link for page without number
This is probably a really noob question, but I can't figure out how to change it. I've created a page called "Photos" and my url link shows:
http://mysite.com/photo-7/
What's with the -7 and how ...
1
vote
2answers
3k views
Display a specific dynamic sidebar widgets on a specific page
I have had a wordpress site handed off to me halfway through completion. It's been at least a year since I last used wordpress and there are a lot of things I'm finding different. The way I am used to ...
1
vote
3answers
287 views
Want Page Title to show on menu, but not on page
I have set up a static home page. I would like the title, Home, to show on the menu, but not on the page. Can you tell me how to accomplish this? Thank you.
1
vote
1answer
495 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
135 views
How can I have two content titles?
I'm facing a design, that has two titles. I have no clue how can I two titles in wordpress.
In a nutshell: Creating a page, there you can set the title. How can I have two titles there? Or similar ...
1
vote
2answers
411 views
Create built-in pages without creating actual pages
For example:
site.com/contact (or site.com/?page=contact if not using permalinks)
when someone goes to that page I want to load a theme template, like page-contact.php
But I don't want to create a ...
1
vote
4answers
591 views
Where does the 404 redirection happen?
Can someone please tell me where the 404 redirection occurs?
I am wanting to redirect to a custom template.php instead of the 404 page.
Is this possible to do? If it is can some one provide me with ...
1
vote
1answer
1k views
using jQuery Cycle by Malsup with WordPress Page and Gallery
I would like to modify a WP Gallery to use the jquery cycle plugin by malsup. I know this is possible but would like to know best practice for this, if anything just pulling out the url for each ...
1
vote
1answer
666 views
How can I split long posts into pages?
I want to make one long post, but have it paginate. I read that you could add this: <!--nextpage-->, but all it did was hide the content under the tag. Is there a plugin that helps do this? Is ...
1
vote
2answers
714 views
How do I fix permalinks for custom post types that has the same slug as a page?
I know that it's impossible to have the same custom post type slug as a page.
So, I thought it might be resolved in this way:
'rewrite' => array('slug' => 'my-category/!#') for ...
1
vote
1answer
969 views
How can I get the title attribute from get_the_post_thumbnail()?
In my theme I want to display the featured image, but I also want to display the title attribute (of the image, not of the post/page) beside the image itself.
Is there a simple way to do this? Where ...
1
vote
2answers
388 views
WordPress Page Id
I have a client (same for my previous post about the slider) who believes that the url structure needs to include a "google page id" to be compliant with google news. Therefore, they want the url ...
1
vote
2answers
6k views
Get post by page name or slug
I know this is very avant-garde, but bear with me.
I've read that one is able to query a page by the page/post name or slug. I'm trying to do this because I need information from a page with a similar ...
1
vote
1answer
340 views
Caption in Page adding unwanted 10px to width
I'm trying to create an image with a caption in a Page I'm working with. In the image options, I have it aligned right, with an image width of 220. Without the caption I have no problems, however with ...
1
vote
1answer
1k views
Using the Loop to show all levels of subpages under a parent page? Halfway there
I have a need to make the Loop run through all of the children of a parent, all of the children of each child, etc. The reason I need the Loop instead of a listing tag like wp_list_pages is so that I ...
1
vote
3answers
2k views
query_posts for child pages
I am having problems looking for info on the codex on how to query for child pages. It seems to be missing the reference for the available parameters
1
vote
2answers
187 views
How do I create multiple page while active a theme
I want create 5 pages when user active my theme. I found a code from wpcanyon which can create one page only. From this code how do I create 5 pages without repeat it 5 times.
if ...
1
vote
3answers
1k views
wp_list_pages doesn't work in hierarchical custom post type
I've been bashing my head against my desk all afternoon trying to figure this out. I've got a custom post type all set up, with hierarchical set to "true" and I can assign parents and see the ...
1
vote
1answer
467 views
Slug is redirecting to 404
I had a page called Recipes. I changed it to Recipes_old and changed the slug so I could create a new Recipes page. When I created the new Recipes page the slug was properly defined as /recipes/ but ...
1
vote
1answer
21 views
Show more than 20 items in pages or posts edit table
How can an admin display more than 20 items under "ALL posts" ( or "All pages", or media or etc. )?
I have read that there exist a special plugin, but is there not a built-in setting for it?
1
vote
2answers
53 views
Two Search pages, One search form
I have a search form that I want to place in multiple pages (it will be in different header types) I do this by using the 'get search form' function. On my Search form I have radio sections listing ...
1
vote
2answers
44 views
Create custom PAGE with register_post_type
The following code in functions.php outputs a post when I publish, not a Page:
// custom post_type for agenda
add_action( 'init', 'create_my_post_types' );
function create_my_post_types() {
...
1
vote
2answers
376 views
Call the content of a page in AJAX in Wordpress
Out of Wordpress, I've made a simple index page wich call the content of 10 other pages thanks to AJAX. Now I need to put this into Wordpress and the AJAX calls don't work at all.
I have created the ...
1
vote
1answer
39 views
Create a loop that gets pages with their template
I am trying to make a template that will be an html5/ vertical scrolling base.
I have created an amount of page templates that each would represent a <section> on index.php which mainly all it ...
1
vote
2answers
76 views
Why doesnt ONE of my links in the footer work properly? [closed]
I have a products page with a couple child pages and in my footer I have the same product categories as links. All the words do work as links except one and there is no difference in paths and I can ...
1
vote
1answer
84 views
Creating a form contact page?
I'm newbie on WordPress, how can I create a new page/top-link/contact-form for a contact page?
I'm using a third party theme which allows you to create a contact form with field, but unbelievable I ...
1
vote
2answers
54 views
Does loading of sub pages in menu cause load to the server?
I am working on a wp site where I need to manage 500s of child pages for a single page such as About menu can have more child pages need to manage those child pages as sub menu and I have more than 5 ...
1
vote
1answer
38 views
Use lots of pages, or categories/posts?
Currently I am designing a website that will have alot of content. The site will be build like this:
site.com/country/region/city/accommodationtype/accommodation
Should I do this in pages and have A ...
1
vote
2answers
140 views
Single page theme that uses pages for the content
I'm making a one page site. On the page I want to run WP_Query three or four times to pull in those 3-4 pages.
The page looks a bit like this:
<div class="row">
<?php
$args = array( ...
1
vote
3answers
141 views
Wordpress page edit does not save selected template
The feature did work in the past however pages now seem to default to 'Default Template'.
I can see my available page templates in the drop-down on the Page edit page, however after saving the admin ...
1
vote
1answer
109 views
Get Order of Meta Box in a Page/Post
I'm using the Posts 2 Posts plugin specifically, but I think this applies to any meta box. I have three Posts 2 Posts metaboxes on the side: "Related Case Studies", "Related White Papers" and ...
1
vote
1answer
90 views
Loop after page content
I just upgraded to 3.4.2 from 2.9 (i know, i know, but if it ain't broke...) I have page templates that are (or at least were) set up to display the page content first, then start a loop of posts, ...
1
vote
1answer
146 views
Why is custom template not seen as page with is_page()?
I created a couple of templates for a project, which is in fact a child theme of the Contrast theme. In the Wordpress CMS, I can select the templates I created:
http://i.imgur.com/PYKqK.png (Can't ...
1
vote
1answer
239 views
How to have custom tinyMCE buttons break onto next line when too long
There is probably a really simple solution that I am missing here but I have added multiple custom buttons to the tinyMCE editor in Wordpress and my problem is the row of buttons is too long (they're ...
1
vote
3answers
135 views
How do I turn comments off for pages, but not posts?
I want my pages to not have comments enabled by default, only my posts. Is this possible?
1
vote
2answers
703 views
Notify admin when page is edited?
I found this previous post to automatically notify the admin when a post or page is published:
Alert Email when any Post or Page is Changed
Works like a charm, thanks! However, it looks like the page ...
1
vote
1answer
110 views
Show different badge based upon the user role
Problem
I have authors page and I need to display a different badge for Authors and Subscribers. Authors on the site have certain abilities that differ from Subscribers and I would like to display a ...
1
vote
2answers
70 views
Posts vs. Pages
Okay so I've spent the last few weeks (on my spare time outside of work) creating a site for a client with a custom built theme. This is my first use of wordpress and the site can be seen here at ...
1
vote
1answer
458 views
How do I create a separate page for each author?
I am working on a website where I have authors listed on a custom-made author's page using code adapted from this site: http://bavotasan.com/2011/an-even-better-author-list-in-wordpress/.
When you ...