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

learn more… | top users | synonyms (1)

0
votes
1answer
44 views

How to create single page site in WordPress

I have total 5 pages on my website, I want to display all pages as single page. It is possible? Example: http://yaremchuk.ru
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 ...
2
votes
1answer
31 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) ...
0
votes
0answers
13 views

Can you group pages associated to a specific parent menu item in the admin area?

I'm creating a site that has many neighborhood pages (27) and each of those neighborhood pages has a link to a Points of Interest page, History page, and Gallery page. Would that mean that at the end ...
0
votes
1answer
78 views

Standard way of creating profile pages with custom content for each user?

I'm in need of a solution that I need a profile page (accessible to only admin and that user) with custom content (i.e. different content for different users), for each new user I've registered. Many ...
0
votes
1answer
91 views

Getting content from custom fields of different pages on a single page

I want to get content from one custom field of different pages along side their page titles and I'm using the following code: <?php $mypages = get_pages( array( 'sort_order' => 'ASC', ...
0
votes
1answer
27 views

What is full URL for a post?

What page is used for a post in Wordpress? For example, www.mysite.com/some-post-title/index.php The index.php isn't valid. What is actually after the last slash?
0
votes
1answer
26 views

How to show parent pages on a specific page if user is logged in?

I have tried with the code bellow, but it's not working. 43 is the ID of the forum page. Also I'm trying to use is_user_logged_in(): function forumpage() { global $post; global $wp_query; if ...
0
votes
1answer
93 views

change top banner content on specific page

I have a static top banner on my website build like this : <div class="row-fluid top-banner"> <div class="container"> <div class="banner-overlay"></div> ...
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 ...
0
votes
1answer
137 views

Show parent & child pages with featured image and hide the current page

Ok I'm trying to display the parent and the child page links with their featured images I have this code but the problem wis when on a childpage it doesn't show up how can i make it work? <?php ...
0
votes
2answers
95 views

How to use is_admin in page content?

I'm trying to add a "Click here to edit this page" button in some Wordpress pages. This button should only appear if the user is admin, this is the code that should appear if the user is admin: if ( ...
0
votes
0answers
29 views

Problems converting pages to posts

I have recently set up a new blog and started writing some articles for it. The problem is that i started writing a page instead of a post. I realized this before publishing so I copied all of the ...
0
votes
1answer
105 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 ...
0
votes
2answers
67 views

Hide <sidebar> if subpages are shown

I have this code to show subpages in everypage. <?php $parent = $post->ID; ?> <?php query_posts('posts_per_page=15&post_type=page&post_parent='.$parent); while (have_posts()) ...
0
votes
1answer
30 views

Category.php loads first before page.php?

I've got a problem with the following: I made a category called app-functions, when viewing my domain.com/app-functions/ it opens up the category-app-functions.php instead of page-app-functions.php. ...
0
votes
2answers
73 views

Increment Page Order As Pages Are Created

In the Admin Panel, is there a way to hook into the page creation and increment Page Order number of each page or to be equal to the number of pages. Right now the default is 0 and when I make a new ...
1
vote
2answers
289 views

How to setcookie if is_page('page') ? should I use add_action('init') or there is another action?

I want to setcookie if is_page('arabic') or is_page('english') then redirect to home_url() only if the page name/slug arabic or english, I think that init action happen before the code determine the ...
0
votes
1answer
37 views

How to achieve anchor links on top of pages.

I have been looking around for a plugin or a how-to but I been unable to find the answer. I am trying to get a box with anchor links at the top of my pages. I can see and example on the official ...
-1
votes
1answer
65 views

How to handle parent and child pages?

I want to list episodes of a series I am making of instructional videos with content. The patent page "series" will list episodes weekly. Ie: episodes 1, 2, etc. I'm thinking to setup a template to ...
0
votes
0answers
58 views

Dynamic content in pages

I'm looking to have dynamic content in pages. I've created this page: coaches/basketball/mike-johnson That works great and does everything I want it to do. However, I also want to create something ...
0
votes
0answers
42 views

Can't select a page using is_page()

I've got 2 pages: "home" and "blog". In Settings they're set as following: Front page = "Home", "Posts page = "Blog". However I can't select the "Blog" page: is_page('blog') doesn't validate, nor ...
0
votes
0answers
84 views

How to get featured image removed from post, but to stay on page?

Here is the example of my post: http://garthlaidlaw.com/govan-portrait/ I don't need the cropped featured image file I uploaded to appear at the top of the post - it's overkill. I would however like ...
0
votes
1answer
248 views

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

I asked here how to create virtual pages with information from the user meta profile fields using an external class. I got a good answer and also I have implemented it successfully (thanks to @g-m!). ...
0
votes
1answer
40 views

custom post creation on front page - on submit a search is done

Using a child theme of WP 2013 theme... In Settings > Reading, 'Front page displays' I have selected 'static page' and assigned it a page titled Home. For that page, I've assigned a custom ...
2
votes
1answer
183 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 ...
0
votes
1answer
15 views

Want home page to click through to two different page types

Looking for correct vocabulary to accomplish the following: Home page to show small images for following pages. On click through, (editor chooses) to display distinct page type: EITHER 1: Page that ...
0
votes
1answer
137 views

How to set different users for different pages?

I am designing a site in which I wish to have different users (logged in) for different pages. Illustration: Suppose I have subscribers A,B,C,D,E,F and pages 1,2 and 3. I wish to have the follwing ...
0
votes
1answer
42 views

get next/previous post name

i know that : <?php $pagename = get_query_var('name'); ?> get the name of the current page/post. But I dont know how to get the name of the next and the previous post. I will use it for a hover ...
0
votes
2answers
134 views

Exclude page name from loop

I'm currently using this loop: if (is_single() || is_page() ) : if (have_posts() ) : while (have_posts() ) : the_post(); How can I exclude multiple pages within the loop? For an example, ...
0
votes
1answer
146 views

Featured Image If Else Condition

I have my banner background set to the URL of the featured image. <div id='xpro_shell_text' > <?php if (has_post_thumbnail( $post->ID ) ): ?> <?php $image = ...
0
votes
1answer
93 views

How to create a page with links to other pages that include image and excerpt?

I have several pages (not posts) on my Wordpress site. They contain excerpts (I forgot which plugin enabled that) and have an article image. Now I would like to create another page that contains ...
0
votes
0answers
34 views

page works in preview but not live

Help! I'm new to word press and I'm not sure what I'm doing wrong. I made a new contact page that works perfect when I previeew it, but viewing it live shows a 404 error. What am I doing wrong? ...
0
votes
1answer
32 views

Custom single page based on which custom page template is selected

I have two custom page templates ("template-blog-left.php" with the sidebar of the left side, and "template-blog-right.php" with the sidebar on the right side.) but I don't know if there's any way of ...
0
votes
0answers
158 views

displaying child pages in columns when on a parent page

I would like to display sub pages in columns. Some parent pages have a lot of sub pages and the scroll is very long. I am currently using the below code to display sub pages. ...
0
votes
2answers
248 views

custom query for both category and pages using global $wpdb;

I have a custom query returning categories, but I also need to return some pages with a particular post ids. How would I add those? They obviously have no taxonomy and are page post types. Below is ...
0
votes
0answers
42 views

How i call multiple template in same menu

I want to call two template in same menu means when i click on tab one then page will open different template and when i click on tab two then page will open in different.I have three template ...
0
votes
0answers
73 views

Editing Featured Image Display When Creating Post

I am trying to find out a way to edit the width of the thumbnail that displays for the featured image on the "Edit Post" page (note: not the front end of the site, I'm talking about when making or ...
0
votes
1answer
82 views

How to make a page to not appear in the menu when created?

When one creates a page in the Dashboard (Pages -> Create new) it always appears in the menu and that is the way it should be. But now I want to create a page that does not appear in the menu at ...
0
votes
2answers
161 views

get contents and permalink from a specified page

below is a query where it supposed to get a contents from a page by a specified page title <?php $page = get_page_by_title( 'About Us' ); $content = apply_filters('the_content', ...
0
votes
1answer
158 views

Private Posts/Pages & Search

I have a site up where there is one private page and one private post. When logged is as admin, i can view both of these, and they even appear in the search. However, when logged in as an editor, I ...
0
votes
1answer
36 views

Add pages content to startpage through custom menu

I would like to be able to add page content onto the startpage (index.php). But only the pages that i've added in custom menu, and in that order too. I've been searching for a while now, but can't ...
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()) : ...
0
votes
0answers
74 views

How to create single static page extending another URL

I have existing URL game/ninja-cat-and-zombie-dinosaurs/ which is created by rewrite: game/([^/]+)(/[0-9]+)?/?$ It leads to a custom post type (defined by theme Swatch). Now I'd like to have a URL ...
0
votes
1answer
109 views

add_menu_page does not render the expected result

I'm trying to accomplish the simple task of adding a new page to the admin area but it seems that I just cannot wrap my mind around this simple function. Via codex, this is how I'm trying to add the ...
1
vote
2answers
341 views

Can't change parent page

Some of my pages are children of "home". I want to assign them to a new page. But I cant change the pages parent. Everytime I try and publish, it just switches back to "home". I am using the ...
0
votes
1answer
49 views

Create custom archive page for individual authors which is separate from the author.php page

If this is a duplicate, I apologize. I have searched and searched with no luck. I have a custom author.php set which shows the most recent 10 posts (As it's set in the admin panel under General > ...
0
votes
0answers
7 views

How do I create pages for specific people to insert content in specific fields while retaining the theme/look of my page?

My site has multiple pages, but I want to create pages where associates can upload their profiles and other information, but i want the look of the pages and style to be editable only by myself. How ...
4
votes
2answers
261 views

Delete Associated Media Upon Page Deletion

Note Use at your own risk, it is buggy and I have run across a couple instances where it would delete ALL attachments. Unsure why. Is it possible to delete media associated with a page when that ...
0
votes
0answers
37 views

How to create a custom style for a particular page type

I have a page that requires a different underline color for each first letter on all H2's in every "neighborhood" and there are 27 of them. I'm using a SASS variable for the hex color $a. The current ...