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

learn more… | top users | synonyms (1)

2
votes
1answer
107 views

Connection lost. Saving has been disabled… (Updating Posts/Pages)

I've been developing for Wordpress for a few years now without any trouble on an old XP/WAMP development server (v1.7.4) but recently have been getting the error "Connection lost. Saving has been ...
2
votes
1answer
42 views

Distributing and packaging plugins

I have a project where I'll be using WP as a customer portal to an external application. The application is accessed via web services (soap/xml) calls. The application has quite a few forms and for ...
2
votes
1answer
113 views

Create page when plugin is activated

I've made so that everytime my plugin is activated it's supposed to create a page. Although i want it to only create the page if it doesn't exist from before. But what it's doing is that it's creating ...
2
votes
0answers
93 views

Can I create multiple instances of the BuddyPress Activity Stream with separate themes? [closed]

I'm trying to take advantage of BuddyPress 1.7's new theme independence to effectively create different pages and instances of the Activity Stream with different themes. I can use HeadSpace (an ...
2
votes
0answers
73 views

Page Attachment Permalink Structure based on Menu Order?

I've been on a quest for the past couple of days reading up on Rewrite in WordPress but still can't seem to figure out how to accomplish this. When using pretty links in WordPress, media attached to ...
2
votes
2answers
239 views

List Child Pages of Parent Parent Page (Child pages from Grand Parent)

OK I'm doing a a menu (sidebar menu) that will display this all child pages of parent page (currently open) Parent |-Child 1 |-Child 2 |Child 3 but in same time when someone is in bolded page ...
2
votes
2answers
206 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 ...
2
votes
1answer
138 views

How do I approach removing menu items on the fly based on settings in my plugin?

I've started writing a plugin that allows the administrator to select specific pages and set them to be visible only to logged-in users; the plugin optionally applies the restriction to all child ...
2
votes
0answers
198 views

wp_list_pages sort order is different for different languages [closed]

I'm using the following code wp_list_pages(array('exclude' => '','title_li' => '','sort_column' => 'menu_order')) If I switch the language the sorting is different. One of the main menu ...
2
votes
1answer
118 views

Is it possible to use pages to apply static content to each taxonomy level?

I'm thinking of using a taxonomy archive template to list out my taxonomies and entries (I'm using a hierarchical structure) and then combining this with the WordPress pages module to apply static ...
2
votes
1answer
149 views

Add a specific category at a specific place to the menu that uses wp_list_pages

I have a main menu where I display pages. All the pages have associated sub-pages, however in the menu some of them are displayed by themselves without sub-pages and some are displayed with a submenu ...
2
votes
1answer
609 views

Page queried instead of a custom taxonomy

When I try to get an archive for a custom taxonomy, WP searches for a page and doesn’t find anything. The Setup My code from the functions.php: add_action( 'init', 'register_store_taxonomy' ); ...
1
vote
3answers
250 views

A function like is_page() but returns true if on any sub page of given page

In my header I use this code: if(is_page("stores")) { // Do something } I run some code if on the page stores but what I want to do is run that code if the page is stores or any page that is a ...
1
vote
3answers
2k views

Add a Page without header and menus?

Is it possible to add a Page in WordPress, so that none of the header or the menus of the site appears on that page? And also so that the stuff in sidebars that's on the rest of the site doesn't ...
1
vote
4answers
1k views

How to disable page delete

My client is not a computer person. I created a website for him. There is some important pages. My client is always delete this page. Then i want to reconfigure the code (the page id). How do i ...
1
vote
2answers
2k views

Include a specific page in your template

How do you include specific pages into a template? Like for example on my websites main page I want to have about 3 different content areas that the client can regularly update as he needs to. I ...
1
vote
2answers
48 views

list pages only from master parent

I have a menu on a page that shows the children of a parent page, however, if a sub page is clicked on the children only of the sub page shows in this nav. is it possible to haver the direct children ...
1
vote
2answers
202 views

Difference between an archive and a page listing posts

I am wondering what is the difference between a wordpress archive page, and just a page template listing out posts? Right now I have a custom archive page, listing all entries of a custom post type. ...
1
vote
2answers
7k views

get page title, url and excerpt of a page

I have the following setup: the front-page is setup as 'static' and it uses a theme page template. On this template / front-page, I need to get the page title, URL and excerpt of the About page. I ...
1
vote
2answers
272 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 ...
1
vote
2answers
5k views

Upload multiple images in a custom metabox

I am new to theme development. I am trying to create a custom metabox that has the ability to upload a image. I am doing this on a page not a post. I want to output the images (multiple) onto the page ...
1
vote
2answers
1k views

How do I convert a page's title to lower case?

On my test case, the page' title is "Privacy". The straightforward approach strtolower(the_title()) also returns "Privacy" -- still with a capital P. I also tried mb_strtolower(the_title()) ...
1
vote
2answers
104 views

Copyright messages for a particular set of pages

I have created some pages (not post) in wordpress related to my college notes. I would like to display a copyright message of the college on this pages, but I don't want do this manually every ...
1
vote
2answers
2k views

class=“parent” for wp_list_pages?

<div class="menu"> <ul> <?php wp_list_pages('exclude=&title_li='); ?> </ul> </div> creates the following output... <div class="menu"> ...
1
vote
1answer
1k 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
2answers
329 views

Is it possible to have a landing page based on the visitors location?

I am designing an events site and would like people to see a homepage based upon the events that are in their area. Could this could also be done with a login, if they register their address?
1
vote
1answer
2k 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 ...
1
vote
2answers
2k views

Pull in custom content types into page template

I've looked everywhere for a solution, but have yet to find one. Here is the situation. I've created a custom content type using the plugin Custom Content Type Manager and now have need to use these ...
1
vote
3answers
2k views

the_excerpt() not showing manual excerpt for Pages

I have enabled the excerpt feature for pages in my wordpress theme - add_action( 'init', 'my_add_excerpts_to_pages' ); function my_add_excerpts_to_pages() { add_post_type_support( ...
1
vote
2answers
331 views

How can plugins have their own pages?

My plugin needs to introduce a number of interfaces to Wordpress for the public traffic. What is the best way of introducing new interfaces?
1
vote
3answers
317 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
301 views

Populating a page with content from post custom fields

I'm doing up a blog at the moment where each post is accompanied by the name of a song. Adding the songs to the posts is fairly easily done via custom fields. However, I also need to have a page ...
1
vote
2answers
773 views

wp_link_page - wrap current page element

I'm trying to make something more meaningful out of the wp_link_pages() result: $paged_page_nav = wp_link_pages( array( 'echo' => false ) ); // Now let's wrap the nav inside <li>-elements ...
1
vote
2answers
2k 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
1answer
1k 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
438 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
1k 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
470 views

A good way to add a different background image for each page?

I'm working an a Thematic child theme wherein I need to have a unique image decorating each of the site's main pages, from a pre-defined set of permanent images. It would also be ideal to have one of ...
1
vote
6answers
154 views

Pages 404 in wordpress

First of all, I am very new to wordpress and know almost nothing about it. When I create the page foo using in wp-admin, I get the message that the page is created. When I click on view page, it ...
1
vote
2answers
1k views

how to get specific page content

bellow is my code working nice but problem is don't coming with html tag.. like etc... no idea why... <?php $recent = new WP_Query("page_id=2"); while($recent->have_posts()) : ...
1
vote
3answers
203 views

How to disable Page Attributes dropdown in wp-admin

As discussed at WordPress admin screen very slow / timing out when editing or adding a new page/custom post I am having a similar issue on a WP site containing 7,784 pages. Edit screens are slow ...
1
vote
3answers
842 views

Add input field to 'Pages > Edit Page' through functions.php

Original Question: I'm trying to add an input field to 'Pages > Edit Page'. The use of this input field will be for a user to add an ID of a slider, so that that slider will be page specific. ...
1
vote
1answer
377 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
1answer
62 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
1k 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
2answers
67 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
419 views

Set page template automatically based on parent

As the title implies, I'm trying to set each new page under X parent to a specific page template. Either through a function/plugin/code eg: if I make a 'swiss cheese' page, that is a children of the ...
1
vote
1answer
1k 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
482 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
936 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?