Pages are static, timeless content that are unique from the regular blog chronology.

learn more… | top users | synonyms (1)

0
votes
2answers
88 views

Putting two themes together to create a complete site

I know my way around WP as probably an intermediate user. In the near future, I will have to integrate the design of a template from a completely different theme into a theme I'm currently using. The ...
-1
votes
2answers
5k views

Custom page template not working

I followed this tutorial for the page specific template -- http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates Created a page through wordpress admin panel - Blog Page URL like -- ...
3
votes
2answers
4k views

Multiple areas of dynamic content in a page

I am new in Wordpress and what I really can't find how to do is the following: I have a new Page created from the CMS. This pages have different modules with text. Take for example this template ...
1
vote
1answer
927 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 ...
1
vote
1answer
62 views

Should I use posts or pages in this scenario?

I'm considering using WordPress as the CMS for the website of a small clinic. There are only two sections with sub-sections: team and methods. Team contains each of the team members and Methods ...
2
votes
2answers
3k 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 ...
0
votes
1answer
172 views

Exclude pages by menu order

i have a "Default Page Generator" on theme activation i have created... in that file i set 'menu_order' for each page. i want to exclude pages with menu order bigger then 50 from the default ...
1
vote
2answers
4k views

Custom Blog Post Page

I found this example here of creating a custom blog post page: http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-homepage-in-wordpress/ 1) I created a blog page under Pages > Add New 2) ...
0
votes
2answers
135 views

404 Page not found

I have created a new template page and added to the theme's directory where the other pages, archive, comment, author and the rest of the pages are. When trying to go to it via the browser ...
0
votes
2answers
1k views

Show different number of posts on second page of category

On the first page of a specific category, I want WordPress to show 4 posts per page. On the following pages, however, I'd like to have 6 posts per page. I tried using a conditional query (see below), ...
1
vote
0answers
30 views

Create custom page and add it in nav menu by code

I am creating a plugin, and this time it should: create a page and add it to the nav menu, all by code ... Here is an example: http://img823.imageshack.us/img823/8531/09072012205520.png
0
votes
1answer
194 views

not empty categories don't show in menu [closed]

I'm trying to resolve a problem i have showing category posts. I have added a category to my main menu, eventhough it has posts - in the basic theme it doesn't show, in my theme - it shows as a link ...
1
vote
2answers
415 views

How do I get the next page of posts link?

Functions such as get_next_posts_link allow you to get the HTML link to the next page, with few parameters for change (label and max pages). I want to get the URL to the next page so I can add custom ...
2
votes
3answers
5k views

Display posts by tag on page

I'm trying to create an advanced WordPress page that shows the regular content, plus a second section on the same page that shows the latest posts from X tag. For example, a page is created about ...
1
vote
1answer
548 views

WP_Query not retrieving by random order under parent

I currently have TWO subpages under parent page ID 43. Client testimonials.. Anyway. I have the random order thing in the query $args but the order never changes. What could I be missing? ...
1
vote
0answers
175 views

Passing the page ID to a login php script

I'm trying to create a simple registration process which goes like this, A visitor clicks on a link (which is viewable only after entering some information such as name, email, phone etc.) This ...
1
vote
1answer
2k views

How to create a metabox that will list all my pages in a dropdown selector?

I would like to have a metabox for the user to be able to select from a dropdown list one page from the website. I need to save the user choice, so I can use it later. So, my question is how can I ...
0
votes
2answers
60 views

How to include custom code on a page that's set to act as homepage?

I have a page called 'home' which is set to be the front of my site, but I'd like it to show the most recent blog post or two at the bottom. I have some PHP that will do this from another site ...
1
vote
2answers
2k views

Custom /page/2/ template (different from index.php)

I'm trying to create a custom page 2 template that's different from the main index.php. For example, the main index page would display the latest news + a lot of features like a magazine. When readers ...
1
vote
1answer
457 views

Add new page with preselected parent

I do not want my clients to select a parent page from the drop down list, when creating a child page, so I would like to create a link on the dashboard which links to "add new page" - but with a ...
1
vote
2answers
825 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
1k views

Remove specific page/post from feed

I'm working on a website with lots of tutorials/pages. I have made a separate rss feed for the pages - works fine. But then I had to create a sitemap (a page), and it shows up in my "pages" rss ...
0
votes
1answer
631 views

associate posts to a page

I created a theme, and I created a page for the theme, and now I want to associate posts to the page. I read this article: http://codex.wordpress.org/Pages Look under the section "Examples of Pages ...
0
votes
0answers
24 views

How not to display posts from a certain category? [duplicate]

Possible Duplicate: Exclude Category From Home Page, Display Posts on It's Own Page? This is what I want to do: I don't want posts from a certain category to show up in my blog. ie, ...
1
vote
1answer
838 views

Limit the number of pages created by the paging

Any way to limit the number of pages that are created automatically by paging? I would limit to five pages in all, authors, tags, categories ... Ex: "site.com/tag/news/page/5", ...
1
vote
2answers
1k 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?
0
votes
1answer
1k views

Get all pages to display at once

I'm doing a theme that is supposed to be ease to create, but I have now reached a standstill and need to get past this. Is there a way to display/show all pages at once? Or can I create a custom ...
-1
votes
1answer
95 views

How to enable automatic search results in WordPress

I'm trying to find way to enable automatic search in WP. For example, I have a page mysite.com/some-thing. Within that webpage, I also want to display the content of the page mysite.com/?=some+thing. ...
-2
votes
2answers
223 views

Query page: preserve page formating

dose anyone know how to get this query (or a different query) to preserve the page formatting? Thanks <?php $my_postid = 663;//This is page id or post id $content_post = get_post($my_postid); ...
0
votes
2answers
60 views

Naming custom page templates

I'm putting together a site that will be comprised, mostly, of static pages with some dynamic content as well as a blog page. In terms of naming files, what would be the best way to achieve this? My ...
1
vote
3answers
5k views

Calling custom fields for pages (not posts)

I'm trying to place a small code in my template header.php file. I want to get a custom field value. I'm trying to call custom fields from current page outside of loop, btw. I have no problem doing ...
0
votes
1answer
104 views

Making my plugin create a page?

I have created a plugin that creates a table in the database and allows users to add an Item to the table. I would like each item to also create a page for its self so that when the items are listed I ...
1
vote
2answers
535 views

How to retrieve attachments from child pages of a specific Page?

How would I retrieve attachments from all subpages of a specific Page ID? Example: SPECIFIC PAGE Child (with attachments) Child (with attachments) Child (with attachments) I'm currently ...
1
vote
2answers
6k views

Is there a default template file for child pages / subpages?

This seems like a very simple question. I'm looking for something like sub-page.php or page-child.php where I can do some different things on the child pages of my theme. They are different enough ...
0
votes
1answer
65 views

Show specific page on main index instead of latest

There are 3 latest pages displaying on my WP. Here's the code. <div id="main_posts"> <?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); ...
0
votes
2answers
229 views

How do I add my PHP app to a Wordpress page whilst keeping semantic URLs?

I am rebuilding a static website for a client using Wordpress on the main domain- eg domain.com. There is also a directory of members website at directory.domain.com which I was hoping to migrate over ...
0
votes
1answer
83 views

How can I use Page editor for two separate templates?

On some of my pages (not posts) in my Wordpress site, I need to include a sidebar that display s information relevant to the main content of the page the user is on. I can choose, using Edit Page in ...
2
votes
2answers
377 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
34 views

Ordering Pages and Increasing Navigation

Is there a way of ordering my pages on my WordPress site so they appear in the navigation bar of the order i choose? ALSO: When i have too many wordpress pages for the navigation, it hides some pages. ...
0
votes
1answer
580 views

Sets post_parent in custom post type posts automatically based on cpt->page name

I'm trying to write a function that will "pair" my custom post type with a page with the same name as the custom post type. The aim is that when a custom post type is saved, it checks if there's a ...
0
votes
1answer
129 views

Custom folder for wordpress page templates

How I can change a folder for wordpress page templates? By default all page templates located in theme's root folder. I want to make a folder with name "templates" in theme's root directory and keep ...
1
vote
1answer
238 views

Force page to open in html mode

Hi I have a page that always gets messed up when opening in Visual mode, can I force this particular page to always open in HTML mode for all users in the dashboard?
0
votes
2answers
83 views

Styling Previous/Next Pages differently from Index

A friend of mine pointed me towards using child elements to style my index page so that I could have one loop and several different visual styles (a featured post, a smaller sub-featured post, and ...
2
votes
1answer
70 views

Putting footer content in a “page” - Doing it wrong?

So, in my shortish WordPress development career, I've gotten in the habit of creating a "page" for the content in a footer, and adding different fields with the wpalchemy class. Everything with this ...
3
votes
2answers
1k views

How to add or remove metabox each page separately?

How to add a meta box for a particular page, say: for only About Us page. How shall i do? The current code adds the metaboxes for all pages: function myplugin_add_custom_box() { add_meta_box( ...
2
votes
2answers
890 views

posts page - different lengths of excerpt

is it possible to get wordpress on the posts page to do the following example. the first three posts need to have a large image spanning the width of the title box and a longer excerpt. the rest of ...
0
votes
1answer
57 views

Test site pages go to main site

I have a test site installed on www.mydomain.com/testsite. The problem I have is that if I type in the url www.mydomain.com/testsite/about I get redirected to www.mydomain.com/about. My page for my ...
0
votes
1answer
71 views

Use get_posts() with 'post' and 'page' queries at the same time?

I'm trying to grab all posts which are 'posts' and not in category '3' and '5' and which aren't 'pages'. Is this possible to do using one single get_posts()? Because I'm querying both actual posts and ...
0
votes
1answer
55 views

How to control display of page lists on sidebar that doesn't have childrens

I am using the following code to list the child pages of current page on my sidebar. It is working very well. $titlenamer = get_the_title($post->post_parent); $output = ...
1
vote
1answer
192 views

How-to Change Content with location change?

I have to develop a site using wordpress having thousands of pages. Pages will have the same content but there will be change in the location of the content. For example location will be Sydney, ...