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

learn more… | top users | synonyms (1)

0
votes
4answers
2k views

Remove Page Title from Static Frontpage

I'd like to remove the post title from my static frontpage. Just that page. I've created a child theme from a free Press75 theme. So I'd like to make this change in my child theme's function.php. I ...
1
vote
1answer
931 views

Relative instead of absolute links in pages?

I have my blog under blog.mydomain.com. I am using pages for some static content that needs to be accessed from another subdomain. So careers.mydomain.com will show WordPress content from ...
0
votes
3answers
172 views

list child-pages as normal pages?

wp_list_pages('title_li=&depth=&exclude='); lists all pages of my site. If there are childpages of a certain page the output looks like this: <li class="page_item page-item-2"> ...
12
votes
6answers
4k views

Integrating a custom post type into a page hierarchy

I'm creating a theme with a custom post type for team members, I've also got the following page structure: about <-- this is a page about/team-members <-- this is a page, lists all the team ...
3
votes
1answer
2k views

How to show the same content on multiple URLs?

A client currently has a website set up with three distinct sub-sites (run off a single WordPress install), each with a slightly different theme (same layout, different colour scheme. I currently ...
0
votes
2answers
2k views

custom headers for static home page and posts page

have a site w/a static home page and a posts page and then a number of other static pages - i set up a custom header for the home page and then another all other pages like this in the header ...
0
votes
3answers
521 views

page template - undefined structure in source code

hey, i have the following page template for a sitemap. <?php /** * Template Name: Sitemap */ ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div> ...
0
votes
3answers
204 views

Changing permalink of WordPress

I am pretty new to this and hence facing a bit of a problem. Currently I am designing a website on my localhost using WordPress. I noticed that the permalink structure wasn't very appealing in the ...
1
vote
1answer
147 views

Produce a plain page with only a message

I am integrating a payment gateway into a distributed wordpress plugin. The notification page (page that the gateway sends info to after the payment has been made) requires only a message of ...
13
votes
1answer
5k views

Check if we're on the wp-login page?

How can I check if the current page is wp-login.php or wp-signup.php ? Are there more elegant solutions than using $_SERVER['REQUEST_URI'] ?
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 ...
0
votes
2answers
1k views

confused about wp_list_pages() function - how to display selected top pages with all their subpages

I'm a bit confused about wp_list_pages() function. Lets say I have 3 top level pages (with no parent) and each of them have some sub-pages: page 1 [sub-pages: 1.1, 1.2, 1.3]; page 2 [sub-pages: ...
0
votes
2answers
1k views

Searching multiple custom post types and pages

I'm using bainternet's method for searching custom post_types and it works great. However, I've recently been requested to return more than one "specific" post type and perhaps individual pages for a ...
2
votes
1answer
628 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
2answers
6k views

How to update page status from publish to draft and draft to publish

I am trying to figure out how to write the code that will allow me to do the following with pages of a WordPress blog? "To change a post status, you get the post, change its status field, then call ...
0
votes
1answer
500 views

Using wp_list_pages() after calling query_posts()

It's possible that I'm just doing this wrong, so feel free to let me know how you would solve this problem. I have a mostly page-based site, but there are a few "pages" where my content is coming ...
2
votes
2answers
6k views

Get the Current Page Number

In a situation where one has 20 posts per page. I would like to get the current page number in order to make some nice page links at the bottom. How do you get the current page. I tried this ...
-1
votes
1answer
688 views

Display list of posts with x tag within a page?

What codex/query would I use to call a list of pages with a specific tag from within another page?
0
votes
2answers
1k views

Include multiple page ids in loop

Haven’t slept in about 30 hours now, can someone please help as the below code doesn’t work, it just displays all posts etc :| <?php $args = array ( 'page' => array(139, 54) ); ...
6
votes
4answers
28k views

Proper way to get page content

I have to get specific page content (like page(12)) I used that : <?php $id=47; $post = get_page($id); echo $post->post_content; ?> Work nice execpt for compatibility with qtranslate ...
2
votes
1answer
300 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 = ...
1
vote
2answers
105 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 ...
0
votes
2answers
93 views

Tags are automatically converted if they match post names. Stop It!

Recently I noticed that if I had post tags that are the same as a page name, wordpress is updating the tag to the page title rather than the slug entered. So in this case if I give wordpress the tag ...
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
3answers
3k 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
0
votes
1answer
488 views

Identify that a page is a grandchild page

How do I identify that a page is a grandchild page?
0
votes
1answer
305 views

post-page: reference to parent page?

i'm having a problem with wordpress and the post-page: my web has several pages like: news, projects, links each page is displaying posts of the corresponding category. my question: when clicking on ...
0
votes
2answers
663 views

Is there any Wordpress alternative to Book module of Drupal?

Wordpress can be used as CMS. So, I think I can switch from Drupal to Wordpress. I'm looking for a book module alternative for creating structured document. If you don't know about Book module of ...
1
vote
1answer
734 views

If a page does not exist, include a different page?

I'm setting up a website for a client where they want several different sections, like so: Regular Site (/) - Section 1 (/section_1/) - Section 2 (/section_2/) ... - Section X The ...
0
votes
1answer
215 views

How to build a post and comment editing form in a page?

This plugin enables you to submit a custom post type called 'Questions' using a form that can be embeded in a page via shortcode. Is there a way of accomplishing the same, but this time, building a ...
0
votes
2answers
208 views

What is a subpage in WordPress?

Can someone explain what a subpage is in wordpress? Does it look any different from a regular page? What is its purpose and what does it do? Thank you
2
votes
1answer
863 views

Can I apply a WP theme to a specific custom page template?

One section of my website is going to be completely different visually than the rest of the pages, is there a way to apply a WP Theme to specific page templates ?
0
votes
1answer
2k views

WordPress: query pages except remove one page

I'm currently running this query to get pages (not posts) from the site section: query_posts("post_type=page&post_parent=6"); I'd like to remove one page, 271, from this query. Based on this ...
1
vote
2answers
1k views

How to add URL-Parameter for Javascript Widgets?

I need to add pamarameters to URLs that are read by javascript widgest/gadgets run on the site. Whenever I just add them e.g. the original URL is http://example.com/blog/page/ and the parameter is ...
0
votes
3answers
690 views

Listing all sub-pages?

I'm wondering how to write a list of sub-pages of actually visited page. So I have 2 pages and 3 sub-pages for each: Colors [page] - Red [child of Colors - subpage] - Blue [child of Colors - ...
0
votes
3answers
2k views

Add google org chart to wordpress page

How do I display this page in a Wordpress site? What do i need to add or remove? This is for a static page not a blog post. (FYI: I want to use this to display a family tree on my website). I'm a ...
0
votes
1answer
139 views

Page displays content from different query?

How can I reset all variables in order to get the actual page content? I keep getting the last post's content I've called from a news-box I've implemented - but need the actual page's content .. ...
1
vote
2answers
1k views

add new metabox to page editor with just page parent

I run a multisite install and I have removed the page attributes meta box from view for my users because I don't want them to be able to change templates. I would like them to be able to change the ...
2
votes
1answer
774 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. ...
1
vote
4answers
210 views

Dynamic Landing Page

I have a site with posts going back 5 years and I want to create a couple landing pages to highlight groups of posts. For example, I want to create a page about "blue widgets". The page should include ...
0
votes
1answer
59 views

How to display a page?

I'm creating new pages under Pages > Add new. And creating my own page.php file from the ground up, what's the best way of displaying pages contents? I guess not get_template_part( 'loop'), since ...
0
votes
2answers
802 views

Conflict between wp_list_pages and get_posts - list pages not displaying

This has only been a problem since I updated to Wordpress 3.1 I have a page that displays a list of custom post types. The page is the child of a parent page. There is a sidebar that lists sibling ...
0
votes
3answers
282 views

Include related posts on a page

i've got several posts which are tagged with "design", but also a page called "design". my question: i put some text into the design-page and would then display all posts which are tagged by ...
1
vote
1answer
527 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 ...
0
votes
3answers
2k views

How do I make page URLs look like “www.site.com/page” instead of “www.site.com/blog/page” but have post URLs stay “www.site.com/blog/post”?

I would like to make it so the URLs of my pages (created in the Wordpress dashboard) show up right after the domain name instead of after the blog directory. I have installed Wordpress in a ...
0
votes
1answer
916 views

Hide page title in Wordpress 3.0

I can't find the option to hide the page title. Is there some other plugin required to get this functionality? If you look in this video video you can see the option to set the page title. I don't ...
1
vote
3answers
357 views

How to enumerate a list of posts?

I've created a page with a list of posts from a specific category. I would like to enumerate this list like this: lecture 1: post title 1 lecture 2: post title 2 lecture 3: post title 3 etc. How ...
0
votes
1answer
405 views

Custom Page Template [closed]

Could somebody help me make a custom page template? I'd like to have a basic page (with sidebars, header and footers) and a table for data. I'd like the data to be taken from custom fields. ...
2
votes
2answers
2k views

Displaying Child pages of the current page in post format and their thumbnails (featured image)?

I'm using the following code I got from the Wordpress codex: <?php // Displaying Child pages of the current page in post format $mypages = ...
0
votes
2answers
1k views

Including link to custom post type in 'wp_list_pages' function

I am generating a navigation menu on my website using the wp_list_pages() function and I also am using a couple of custom post types with a post type archive function. How would I go about adding a ...