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

learn more… | top users | synonyms (1)

2
votes
1answer
177 views

Do I really need the div class entry?

I was wondering if it's really neccessary to keep the <div class="entry"> in the page.php file (or any other template for that matter). I typically use a blank HTML5 wordpress theme and it ...
2
votes
1answer
4k views

Restrict admin access to certain pages for certain users

As the title says, I'd like to restrict back-end access to certain pages for certain users. While doing a site with 45-50 pages, I realised it would be a much better user experience if the Page menu ...
2
votes
1answer
32 views

Redirect to a page if ancestors is empty

I have this script to get the ancestors ID //Get root ID $post_id = $post->ID; $ancestors = get_post_ancestors($post_id); I would like to make a redirection if it's empty to a specific page ID ...
2
votes
2answers
802 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 ...
2
votes
1answer
686 views

Different fields in My Profile page depending on user role

So I understand that I can user current_user_can to check the role of the current logged in user. But what I would like to do is show these different fields to the site Admin. So for example the ...
2
votes
2answers
11k views

Show posts of category in a page

I would like to be able to display all the posts in a certain category on a page so that all posts are on that one page and there is no pagination. If possible, I would also like to display a short ...
2
votes
1answer
1k views

Auto create pages on WordPress multi site register

I'm creating a multi site and would like to have: A few pages that are automatically created with the new site (at the moment only the default home and sample page are created with a new site, ...
2
votes
2answers
738 views

Check to see if page exists problems

I've created a class to dynamically create pages. I'm checking to see if the page exists by comparing the new page's title to post_name. The comparison seems to work ok, but even if there is a match ...
2
votes
1answer
135 views

When I split a large post with <!--nextpage-->, how can a search locate users to the correct page?

I have a large post split with <!-- nextpage -->. A term resides on page 50. When I search for the term, I land on page#1. Q: How can the system auto-forward me to page#50? Thanks
2
votes
2answers
108 views

I made a custom page but Wordpress seems to strip any HTML I put in this page

How can I avoid wordpress stripping HTML content from a custom PAGE?
2
votes
1answer
1k views

[Plugin: Posts 2 Posts] How does it work?

I recently discovered Scribu's Posts 2 Posts plugin, which seems to be exactly what I was looking for in order to connect pages and posts for a big editorial website. But I cannot get it to work, ...
2
votes
3answers
228 views

Guidelines for adding static pages

I'm attempting to convert an existing site to Wordpress, mainly for the following reasons: a) I want to add new News & Blog pages and b) so other people can make occasional simple changes to the ...
2
votes
1answer
884 views

show/hide toggle for subpages in wordpress admin area

We have a wordpress site using many subpages to each page - I'm looking to create a show/hide accordion toggle within the backend to show and hide subpages allowing us to keep the page listings clear. ...
2
votes
1answer
2k views

Child page from 2 different parent pages

currently I have 3 parent page types with multiple child pages under each. Feature * feat 1 * feat 2 .. Creative * creat 1 * creat 2 ... Info * info 1 * info 2 ... I have been successful with ...
2
votes
1answer
234 views

Dynamically Load Styles and Scripts from Theme Functions.php

I am attempting to dynamically load stylesheets and scripts based on the template name. So if I have a template named page-signup.php then it will load the corresponding stylesheet page-signup.css and ...
2
votes
1answer
263 views

wp_dropdown_pages default value

I have a dropdown menu of pages, but after I go to a page selected, let's say "About us", the default title button of dropbown is the title of the page, "About us", so i want the title/default option ...
2
votes
1answer
174 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
2answers
91 views

Is there a WordPress equivalent to MediaWiki templates

I'm new to WordPress and already in dire need of a way to reuse common page content. For example we have 10+ product pages and in different areas of each product's page I want to include a textual ...
2
votes
1answer
35 views

WordPress – site with 2 stylesheets and more…

I’m building a site that is broken up into two views (or sections): College and Corporate. » See it here When the College tab is active, the site will use college-styles.css (orange background) ...
2
votes
1answer
284 views

How to create virtual pages with information from user meta profile fields?

Dave Jesch on his site presents a way to create virtual pages in WordPress. Dave created a class "to do all the heavy lifting", as he says. I think, for my purposes this class not require changes, so ...
2
votes
1answer
495 views

Hide page visual editor if template is selected - redux

The answer given to a previous and identical question is unfortunately not working on my WP install. I'm using a version of the function recommended there. function nim_hide_editor() { $post_id ...
2
votes
2answers
617 views

Create pages automatically if they don't exist

I have a WPMU instance that works less like a network of blogs and more like a holistic application. I'm needing to do a check and see if 3 pages with the slugs 'home', 'login', and 'password' exist. ...
2
votes
2answers
157 views

Show child pages when on a child page

On my site I have a number of parent pages with associated child pages. How can I show all the child pages of one particular parent when a visitor is either on the parent page or one of it's children? ...
2
votes
1answer
1k views

How to get a feed for post type 'page'?

I'm trying to get a feed for pages and a separate feed for posts. The feed for posts works perfect as it is. I just want a separate one but i have tried all the plugins and searched for about a week ...
2
votes
1answer
1k views

Multiple portfolios with one custom post type?

I wonder what's the right way of creating portfolio website (with as many portfolio pages I want). Usually I create page template that displays posts with category = Portfolio or with posts from ...
2
votes
3answers
910 views

Change the Default Pages Menu View in wp-admin

I can't seem to figure out how to change the default view for "Pages" in the admin menu. The initial view is the "Pages" view (/wp-admin/edit.php?post_type=page) How could it change this to ...
2
votes
1answer
189 views

Custom Text Under Navigation Links

My navigation bar of my wordpress theme is set up to wp_list_pages. I'd like to display text underneath those page links. Like: Home "Home Sweet Home" Do I need a widget to accomplish this or ...
2
votes
1answer
2k views

Create a new page in WordPress theme

I am creating a functionality in WordPress where I need to create a new php page and have to link it in the menu section of my website. Though I can create a page from the dashboard but due to some ...
2
votes
1answer
59 views

Way to create pages quickly

I have a site structure that I want to create a bunch of empty pages - each with a particular parent page and template. Is there a faster way to do this than one-by-one? A plugin perhaps?
2
votes
1answer
805 views

Set a category for a page

My current theme has a portfolio section where you can have an array items based on what category they are in. My problem is that I have several pages that I want to be in the portfolio section but ...
2
votes
1answer
77 views

Automatically adding post and pages to new blog setups

I'm using the ThreeWP Broadcast plugin to add and control post and pages from the main blog to all my sub-blogs in the network. Is there anyway i can automatically add all of my post and pages from my ...
2
votes
1answer
1k views

Moving variables from one page to another

How can I link to another WordPress page but move variables to it as well (preferably not through the address bar)? For instance, I have on one page a list of shops in which a user should be able to ...
2
votes
2answers
299 views

Sitewide page on all the blogs in the network

I have WordPress multisite installed. And i need to make it so that a page called (Company Ideas) on the main blog is added to new blogs created on the network. So once someone registers a new blog. ...
2
votes
1answer
1k views

How to show post(excerpt) from specific category on wp page?

I need this on 3 pages, all 3 from different categories, and then to show several post excerpts from all 3 categories in sidebar of home page.
2
votes
1answer
258 views

Subpage template

I've had a look around already but couldn't find an answer to this. Is there a way to create a template that applies to all pages that have a parent? something like sub-page.php without having to ...
2
votes
1answer
129 views

Change names of pages in wordpress

I am inheriting a Wordpress site where the page names in URLs are very descriptive things like page_id=81. Is this something that I can change globally or do a simple search and replace on?
2
votes
2answers
458 views

Displaying part of every child page?

I have been trying to find a way to return page information in order to create a landing page. I have done this with posts before, to create a blog reel, and would like to achieve the same overall ...
2
votes
1answer
307 views

Modify Page Title before output via wp_page_list

HI all, I need to change the title of some pages before they are output on a list via wp_list_page. I don't want to change the page title in the backend To be clear, my list displays $children = ...
2
votes
1answer
198 views

Changing my permalink structure - will new layout conflict with existing page?

My site has a blog page at /blog/, with links to blog posts. A post will have a URL starting at the root of the site, which is a bit jarring. I'd like to have the posts URLs appear as if they are ...
2
votes
1answer
101 views

List children of second level sub page

Top Level Page - Second Level Page --- Child Page --- Child Page --- Child Page The goal here is to list all children of second level, I have that done from the codex. However, when I click ...
2
votes
1answer
245 views

Creating a menu page in a Object Oriented developed plugin

I am trying for the first time to build a plugin for Wordpress following OOP way. I am having some problems while trying to create a submenu page using add_users_page() function. Here is a simple ...
2
votes
1answer
202 views

Delete pages and Create default pages for all new network sites

I am using the following code to delete some default pages and to also create some default pages for all new sites that are created. It work as is now but that is only because I purposely have a ...
2
votes
1answer
3k views

Custom Blog Post Listing in Genesis Sample Child Theme

I want to add several images and divs and also customize the look of my Blog post listing... But i can't find the way to do it. Here's the Blog Template code <?php /* WARNING: This file is ...
2
votes
0answers
163 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
1answer
2k views

Shared Content but “Updatable” Through the Main Site

I have been doing quite a lot of research the past week, and have not been able to find a solid answer that fixes my problem. So, I decided to come here to ask to see if anyone knows of how to help ...
2
votes
0answers
89 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
565 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
394 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
264 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
85 views

Get page content by category or tag

I'm trying to sort of emulate the Views behaviour in Drupal with Wordpress, but doing it in theme templates. Now, I have pages that are assembled by using wp_query in the template to get posts ...