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

learn more… | top users | synonyms (1)

0
votes
3answers
2k views

Can a page contain php code?

I am trying to use the following line of PHP code in one of my pages: <input name="from" id="from" value="<?php echo $_GET['from'];?>" type="text" /> But instead of displaying an empty ...
0
votes
1answer
48 views

wordpress template page Usage [duplicate]

Possible Duplicate: Loading template files from a subfolder in my theme? How to create template page which is in a separate folder within theme directory, for pages and also to open it in ...
1
vote
1answer
625 views

Is there a wordpress plugin enabling an autocomplete search box, then jump to page?

I have very little experience with WordPress. I am exploring it as a potential solution for our needs. I would like to implement an autocomplete search box (a bit like jQuery's) where users could ...
1
vote
2answers
403 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
1answer
3k views

Creating a 3-column layout on a Wordpress Page

At the moment I am creating a page with Wordpress. Now there is some content, that won't chance often, that's why I want to use a page for it. I also want to create a custom template for that page. ...
1
vote
1answer
550 views

Allow non-logged in users to see a future post after clicking on a list of future posts

I have been able to list out pages that are set for future in a custom template like this: ...
0
votes
1answer
93 views

Page not appearing under its Parent

If I add a page with the name 'Bottle Project' and give it the parent 'Other Projects', the page appears at http://richardclunan.com/other-projects/bottle-project -- so that looks right. ...but if I ...
0
votes
3answers
617 views

How to Structure Pages and Subpages

I'm trying to create a church site using WordPress. The following is a small sample of the page structure I'm trying to create: About Staff Statement of Faith Contact Ministries Furnace Prayer ...
0
votes
1answer
107 views

Merge page with custom post type

This may be a weird scenario, but...I have a custom post type called Resources. When visiting /resources/ I get the archive as expected. What I want is a text describing this post type. Therefore I've ...
3
votes
2answers
1k views

Does Wordpress generate an automatic page for post formats?

I want a page to view only a specific post format (e.g. aside). Do I have to create my own page and run a custom query, or does Wordpress have an automatic page generated for me (like the ...
3
votes
2answers
8k views

How to add a .php file to WordPress

I have a php file in my server (say www.example.com/up/up.php). If i access that file through the url, my site says no page found. but i want to call that php file using url parameter. I want to call ...
0
votes
1answer
305 views

Getting pages filtered by template assigned

I want to retrieve pages with determinate template assigned. Function get_pages() hasn´t any parameter to select by template. For exmaple if I created three pages: Home, Page 1 and Portfolio. After I ...
2
votes
1answer
194 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 ...
0
votes
1answer
132 views

Advanced Multi Tier Navigation across columns

I've been struggling with this for a while now and need some help. I'm trying to create a quite specific navigation setup for a client. I have a top level navigation which is hard coded and not a ...
2
votes
2answers
3k 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()) ...
0
votes
1answer
522 views

How to show pages in menu without link

I need to have a menu like this: - a (link to a) -- b (link to b, children of a) -- c (link to c, children of a) - d (NO LINK, #) -- e (link to e) I have the menu composed by the pages, as ...
0
votes
2answers
215 views

Create page template with some static contents

I am new to wordpress. I searched page vs post and found that pages are mostly static contents (in the sense that they dont need to be changed and stays in its place for ever). My question is my ...
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
356 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
316 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
222 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
881 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
702 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
220 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
712 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
234 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
973 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
983 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
857 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
107 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 ...