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

learn more… | top users | synonyms (1)

1
vote
2answers
3k views

How to create wordpress page that shows posts with specific tags?

Like the title says, what code would I use on a wordpress page so that it will only show posts that have a specific tag?
0
votes
1answer
3k views

query_posts doesnt show pages with given ID when post_type => page

At the moment I am working on a WP-site, which on the frontpages has 3 excerpts of other pages on it. The code I am trying to use for this is as following: <?php query_posts(array('post_type' ...
2
votes
1answer
10k views

how to display the wordpress login and register forms on a page?

I have a wordpress site. Which has the built-in login form with the url http://domain/wp-login.php and register page http://domain/wp-login.php?action=register. As these pages have no sidebar and ...
1
vote
1answer
355 views

Do the permalink settings apply to pages as well as posts?

I want to have all my blog posts have the structure http://mysite/blog/blogarticle1 but I want the pages to have the structure http://mysite/page1 (no "blog" in there). I see how to include "blog" in ...
1
vote
1answer
304 views

Location-Based Pages displaying results near customer

I'm creating a website where the customer will enter their postal code and the pages (with a distance selected of 5, 10, 20 miles) will display on either a Google map or Bing map. The page results ...
0
votes
1answer
100 views

How does wordpress link page templates to individual pages

According to the Codex docs, wordpress uses the query string and the template hierarchy to determine which template to use for a certain page. First, WordPress matches every Query String to query ...
0
votes
2answers
168 views

Edit page shown after login in Wordpress?

I am currently using the wp_login hook to run a php function when a user logins. However, I want to show users who login notifications (a pop up with recent posts, etc) and I was planning to do this ...
0
votes
2answers
220 views

Default scripts added to each admin page

Whilst jQuery is available on all admin pages, only selected jQuery UI libraries are added for certain pages (i.e. it is different for each admin page). I am trying to find out where the jQuery UI ...
2
votes
1answer
2k views

Overriding the currently selected menu item

I have a WP 3.x site that I'm using mainly as a CMS. The menu links to the various WordPress pages. One of the pages, "News", is the "posts" page. However, when clicking on one of the posts on the ...
1
vote
2answers
1k views

Add Word Limit to Posts

Is there a way to limit the number of words per post through the the_content() function or something similar?
0
votes
3answers
2k views

Direct some posts to only appear on a specific page

I have a blog at JonCrowell.org. When I add a new post, it appears on the home page. I have created a new page called "Technical Notes". I would like to be able to choose whether a new post that I ...
4
votes
2answers
850 views

Create a page without adding a page in the Database

I am trying to include a special Archive page with my theme, right now I have a PHP file with Template Name: Archives Template at the top and I the user must create a blank archive POST PAGE and ...
0
votes
2answers
2k views

Admin taking a very long time to load

Logging into my site's Wordpress admin backend take several minutes. The site indicates that it is loading and then just hangs for many minutes before finally loading. It smells like something is ...
1
vote
2answers
1k views

Single post as homepage?

I'm wanting to set a single post as my homepage. I have a photographer's site. There are a few galleries (weddings, portraits etc). Each gallery is a wordpress post with attached images. The post ...
1
vote
1answer
2k views

Sort query_posts for Parent Pages to menue order or the count?

thanks to a member here i display my Parent Pages in a 2 column grid with title and excerpt. But for some reason i can't figure out how to sort all 5 Pages by the menu order for example or the order ...
1
vote
1answer
693 views

How to hide all child pages with post_query?

i have a page template as start page(home.php). i use a 2 columns grid to display all pages on that home.php with title and excerpt. unfortunately also my child pages are shown and i can't figure out ...
0
votes
1answer
218 views

Adding if statement into the_content()

I've created my own page template where I have a list of posts coming in directly below the content as so: <?php the_content(); ?> <?php query_posts('category_name=vacancies'); ...
0
votes
1answer
135 views

How can I add a page that shows posts from a single category?

Is it possible to add a page that shows posts for a certain category? Do I need to create a page and have it redirect to http://site.com/category/myposts?
0
votes
1answer
703 views

How to show next/prev link, when it's not active?

When on the first page of blog wordpress shows only "older posts" link because there are no newer posts, but i would like to show also the "newer posts" link but style it as inactive. i need to do ...
0
votes
1answer
233 views

Is there a syntax highlighting plugin for HTML View? [duplicate]

Possible Duplicate: Syntax highlighting for post/page editor I've googled this already to no avail, all I'm finding are syntax highlighting plugins to post actual code to the front-end of ...
-1
votes
1answer
55 views

How to make a conditional statement that checks if the page is the child of a certain page?

I know that you can use is_page to check the current page. How to check if the current page is the child of a certain page?
1
vote
2answers
4k views

Show TwentyEleven header image only on home page

i am trying to remove the header from one page (actually all the pages exept the Home page) i did some research i found this code #post-xx .entry-title{display:none;} whereas the xx is the page ID . ...
0
votes
1answer
957 views

How do I do a page break?

Is there a way to add a page break into length pages? Preferably automatically, but doesn't really matter. Ideally without a plugin.
0
votes
3answers
15k views

How to display last 3 posts (recent posts) in a static page?

I would like to implement something like "recent posts" in a static page: http://themes.codehunk.me/insignio/ (at the footer) How I would be able to do this without a widget?
2
votes
5answers
4k views

How to disable posts and use pages only

I am new to Wordpress theming and I would like to set up a Website that only has static content. Therefore would it make sense to disable posts and only use static pages? If so, is there an easy way ...
0
votes
1answer
178 views

What is the best way to make a custom page from a plugin?

After hours seeking through the WordPress sources it I was unable to find ANY reasonable method of creating a front end page from a plugin. My goal was simple, I wanted http://mysite.com/friends to ...
0
votes
1answer
166 views

Archive with specific keyword by category sorted by date

I need help to create a template for an archive with specific a keyword by category sorted by date. This is the code for my archive page so far: http://pastebin.com/WEjNGhJ1 My client wants every ...
0
votes
2answers
969 views

Setting text widget to one page only

I've tried several methods of trying to add my text widget to only one page (my about page) and everything fails! Currently I have a plugin that lets you choose with a text box which page you want the ...
0
votes
2answers
152 views

WP as a CMS menu

I've converted a client website from Joomla to WordPress. However, there is one aspect of the old site I haven't been able to replicate perfectly without modifying core WordPress. The goal is to ...
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, ...
0
votes
1answer
2k views

Archive limit the text of the_content

here's the code for my archive page.. <?php /* Template Name: Archive Page */ ?> <?php get_header(); ?> <div id ="maincontent"class = "group"> <?php ...
0
votes
1answer
847 views

Enqueue script on every page except one

I want to load my javascript and exclude 1 page, so I tried the following without success: function mypage_scripts() { if ( !is_admin() ) { wp_deregister_script('jquery'); ...
0
votes
1answer
105 views

How To Display Pages Based On Subscriber Signup Date

I want to get a course rolling where I show a new link for a weekly lesson to a subscriber, based on how many weeks the subscriber has been registered. Say, the subscriber goes to the course page ...
0
votes
2answers
2k views

Subdomains pointing to a permalink URL

I have Wordpress (v3.2.1) set up at domain.org.nz/wordpress with a number of pages set up as domain.org.nz/wordpress/services/example. I want to set up a subdomain, example.domain.org.nz to point to ...
0
votes
1answer
94 views

Archieve page, Advertisement Every 3 Posts

Currently this code http://pastebin.com/As0exwZy is displaying 10 posts because I set it in the Reading settings. Now what I want is to display a advertisement(widgetize) every 3 posts... how can I do ...
0
votes
1answer
119 views

Pasting this PHP breaks my page. Why?

I tried a few echo commands, and they return properly. Breaking Statement <?php $gallery_ids = $wpdb->get_results( "SELECT gid FROM ".$wpdb->prefix."ngg_gallery ORDER BY gid ASC", ...
0
votes
1answer
328 views

Page load timer?

Ok, so I'm confused as to what's going on here... I've been trying for hours now to get a relatively accurate page load timer setup on my WordPress site, but nothing is working like it's supposed to. ...
5
votes
4answers
5k views

WordPress admin screen very slow / timing out when editing or adding a new page/custom post

I'm new to the site but appreciate any help you can give. I have a WordPress set-up which (rightly or wrongly) has hundreds of pages and thousands of another custom post type which is also based on a ...
0
votes
1answer
199 views

Add pagination to this following template

<div id="omc-main-left-column" class="omc-content"> <?php query_posts($query_string . '&pagename=&page_id='); ?> <?php query_posts('posts_per_page=3'); ?> ...
0
votes
1answer
357 views

How can I see a list of all pages my WordPress site has generated?

I would like to be able to to see some sort of list of all the individual pages my WordPress site has generated that would inevitably be visible to a user or a search engine. For example, I know tags ...
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 ...
0
votes
1answer
27 views

How do i pick the pages in 20-11 header?

With the 20-11 theme when i add a page it shows in the header. I like this. I found and changed the order of them in quick edit. Now i would like to hide a few pages from the header. How do i do this? ...
4
votes
2answers
13k views

Get content from one page and show it on another page

So, I've been googling and reading and testing and failing. I'm fairly new to php, so don't expect to much :) I'm working on a new design, and I want to show content from the about page on my ...
0
votes
1answer
52 views

Authors posts on a author created page

Any suggestions/ideas on how to get posts made by certain author to be displayed on a page that same author has created without using author.php? To clear this up a bit, I have a site where author ...
0
votes
1answer
592 views

Check if page has subpages

I'm try to build a menu with wp_list_pages() that must work like this: Main Page -Subpage1 -Subpage2 I check if the Page has_subpage and i can see the 2 subpages when i'm in the Parent ...
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?
0
votes
2answers
881 views

Viewing category pages without the word 'category' in URL

When I view a static page its url is like: http://example.com/mybooks/ When I view a category page its url is like: http://example.com/category/books-ebooks/ For SEO, I want some modification so ...
0
votes
2answers
2k views

IF user is logged in only show certain page

I have this wordpress site that I am making where a user has to login to see their specific gallery. My problem is that all our users are members and all the members can see all the other member ...
0
votes
1answer
88 views

Using WP just to edit pages of an existing site

I was asked to let the user to edit an existing site articles using Worpress. But because the site has a lot of php code (not used for the articles) that would take quite a lot to convert in WP ...
5
votes
4answers
6k views

wp_nav_menu: show menu only if one exists, otherwise show nothing

I'm trying to use wp_nav_menu to only display a menu if one exists, otherwise, display nothing. If I delete the menu, it will output a list of the pages. My functions.php file contains: if ...