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

learn more… | top users | synonyms (1)

3
votes
0answers
1k views

Loop that displays PARENT PAGE & CHILD PAGE & outputs GRANDCHILD PAGE title and content

I've never posted here, but I'm tired of slapping code together. That said, I would be most appreciative if someone could help me with this. I need a page template that: outputs the PARENT PAGEs, ...
3
votes
0answers
94 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 ...
2
votes
0answers
92 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 ...
1
vote
0answers
23 views

Cannot add a class to h2 tag

I'm creating a page on my Wordpress website with a series of headings and images on alternating sides of the page for each heading so I need to add clear: left and clear:right to the h2 tags on the ...
1
vote
0answers
70 views

What's the best way to render Visual Composer in posts, not pages?

I have a page with layout and ui content I'd love to use in my posts. Is that possible without running through all the shortcodes with do_shortcode?
1
vote
0answers
31 views

Show Custom Post Type meta boxes only on Page Edit

I've went through the laborious process of creating the CPT. I see it on the sidebar of my WP install, I can add new, save data, and on frontend I can output the data. Is it possible with WP to move ...
1
vote
0answers
9 views

Iframe being removed only for some users when publishing a page

I have multi site wordpress installation. Recently I had a user complaining about not being able to add frames to a page. When I did it it just worked. This user is administrator on this page. Is ...
1
vote
0answers
31 views

How to use Custom Page Templates for hierarchical Custom Post Type

I added custom post type to my website. function any_posttype() { register_post_type( 'any', array( 'labels' => array( 'name' => __( 'Any' )...
1
vote
0answers
245 views

Using in-build Visual Composer param types in custom param types

I'm developing a new param type by following this guide. This new param type will contain a color picker and 3 text fields.To use VC's in-built colorpicker, made a littre research and found these ...
1
vote
0answers
30 views

Page with page template not using template in Preview

I am using a page template created by myself, which is showing and working correctly in page backend. It also works on the front end. The problem: Preview shows the normal "page.php" instead of ...
1
vote
0answers
44 views

How to limit page pagination

I'm looking for a way to show only 15 pages in a category. I have around 50 pages, but I don't want the old pages to be accessible. Only the first 15 pages. How to achieve that? Thank you!
1
vote
0answers
21 views

Host frontpage via example.com and everything else via example.com/blog

I've assigned a page as frontpage which will be available via example.com. All the other pages should be below the /blog. For example: Main-page: example.com All posts: example.com/blog Single Blog ...
1
vote
0answers
61 views

Multiple alias for single page

I have a requirement of displaying a same page for two url's. For example I have a page with url http://www.example.com/cleaning. Also I have a menu with few city names. I wish to have the same page ...
1
vote
0answers
27 views

More Fields Required For Password protect page

There is only Password field is available for protect the page/post. I have to required more fields like: Email, User ID Number and Password. How can i add more fields in the password protected form.
1
vote
0answers
23 views

Create page from plugin, but have it completely hidden

I need to have a plugin create a page that is publicly accessible, but does NOT show up in the admin section anywhere, and cannot be deleted or modified. I thought maybe figuring out a way to have a ...
1
vote
0answers
31 views

how to setup custom content structures

I have some custom pages I need to develop, and I want them to be easily edited by my client. The problem is that the markup is fairly complicated, I want to be able to give them the ability to edit ...
1
vote
0answers
31 views

Page template no longer exists - metaboxes won't save

Ok, this is a weird one. I first experienced this on an older theme that I developed - I assumed I had some buggy code in there somewhere, but couldn't figure it out even with the help of another ...
1
vote
0answers
372 views

Get Page content to displayin Bootstrap Modal

Ok I'm a relative novice here, and after looking around I still haven't found the answer to my problem. I'm basically trying to link a Bootstrap Modal to some text in a footer (widget), the content of ...
1
vote
0answers
35 views

Wordpress is suppressing page extensions!

I've built 2 sites on Wordpress. In both of them, I did two things: Created a slug for each page. In Settings > Permalink Settings, I chose "Custom Structure", and entered /%postname%.php In one ...
1
vote
0answers
462 views

Conditional tag to check if 'page.php' is being used?

I'm trying to check whether the page.php template is being used or not. I've tried is_page_template( 'page.php' ) but it doesn't work. I also can't use is_page() because I only want to do something ...
1
vote
0answers
56 views

A static page view call every custom page templates

I use wordpress 3.9.1 and I get this strange issue: I created a static page with slug customer-order and I created a template page-customer-order.php and Permalink: http://localhost/thanassis/src/...
1
vote
0answers
848 views

Plugin generated virtual pages

I am currently devloping my first WP plugin. This plugin should generate dynamic pages on the fly if a fixed non-existing URL is requested. This means I want my installation to accept addresses like ...
1
vote
0answers
124 views

Layout Builder.

I recently bought a theme from Theme forest called Enfold: http://www.kriesi.at/themedemo/?theme=enfold The pages have an "Advanced layout" building that lets you build you content how you need. I ...
1
vote
0answers
16 views

New user Registration data imported into Page

Here's my goal....New users apply to use a site that I'm working on. When I get an application, I talk to them, and afterwards I approve them. From there, the information they supplied online is ...
1
vote
0answers
53 views

Different banner for different section

I have different section like about us, portfolio, gallery. Client want to upload different banner for different section that I have given on every page custom field. But problem is I want same ...
1
vote
0answers
56 views

Could be a namespace conflict (?) with login form and register form on the same page

I have created a "My Account" page template for WP 3.5.2 that displays certain custom data if a user is logged on. If not, the page displays a login form and a link that opens the register form in a ...
1
vote
0answers
73 views

Removing Parent Page URL While Keeping the Navigation Intact

So here is the current format: site.com/parent-page/child-page/ - example 0 Child-page is ranking higher than parent-page, which is not what I want. So, I have a solution. site.com/parent-page/ - ...
1
vote
0answers
103 views

Loading Multiple Comments Pages via Ajax?

I have been searching Google and still haven't found any great ideas for making comments pages load via Ajax. After searching SE I found this older thread from just a few months ago which provides a ...
1
vote
0answers
133 views

Change base URL of pages created by certain users

Currently on wordpress all pages are created under the base URL (example.com/{PAGE}). Currently I am aware you can change the permalink of posts to example.com/{author}/{POST} but can this also be ...
1
vote
0answers
43 views

How to structure model showcase

I need to make a website of models that contain the following components: Model page - model info, editorials of that particular model Editorial page - containing some editorial info, link back to ...
1
vote
0answers
426 views

Custom category URL rewriting

Here is the situation: let say I have a page called Press and that page has this url: www.example.com/press-center Now, let say that I have a category Press (slug is press) and subcategory called ...
1
vote
0answers
78 views

Add categories and posts to page hierarchy

So, I find myself in this situation now and again, trying to solve a particular workflow. I have a page hierarchy something like this: Page 1 Sub-page 1 (category term listing) Post 1 ...
1
vote
0answers
42 views

Path to Pages Resolves to Archive instead of Actual Content

When I upgraded to 3.4.1, the root level pages (ones that I had before, and any page I have afterwards) do not resolve to the actual page. No matter the name (so i don't think there is a slug issue), ...
1
vote
0answers
30 views

Create custom page and add it in nav menu by code

I am creating a plugin, and this time it should: create a page and add it to the nav menu, all by code ... Here is an example: http://img823.imageshack.us/img823/8531/09072012205520.png
1
vote
0answers
175 views

Passing the page ID to a login php script

I'm trying to create a simple registration process which goes like this, A visitor clicks on a link (which is viewable only after entering some information such as name, email, phone etc.) This ...
0
votes
0answers
8 views

Blank WordPress//BoldGrid site. Where do I start as to not repeat tasks or create conflicts? Is there an order of operations so to speak?

Where do I start as to not repeat tasks or create conflicts? Is there an order of operations so to speak? I want to be efficient and thorough but keep getting stuck on weird tasks that become mute ...
0
votes
0answers
14 views

Hide pages + widget edit

I have 2 questions on this site i have this item i was wondering how can I make this item not show in the widget area or any other part of the site but still be accessible if some1 has the link to it ...
0
votes
0answers
16 views

Use the methods of a class coded in a plugin

I have a plugin which creates a page in the admin options part (backend). It is based on a single class which creates a unique object when initializing the extension. Various methods in this class ...
0
votes
0answers
8 views

How to include siblings with children in multi-level accordion?

I followed bootstrap accordion tutorial and successfully works but I have four level hierarchical for example parent with children, children with child and on. I cant figure out how to write code that ...
0
votes
0answers
39 views

jquery Load All Wordpress Post and Pages Into Div Using AJAX

Ok So I am working on my first Wordpress them based off html5 template that I created myself. Right Now On the site I have a continous music player. It allows the users to listen to music while ...
0
votes
0answers
27 views

How can I make my CPT read from page-*post-type*.php?

I have a CPT created. I made a page that uses page-upcoming-games.php. I have a query written on there to pull posts from my CPT. The issue I'm having is I have no idea how to make the slug /upcoming-...
0
votes
0answers
10 views

Editor user role can't publish pages

I need the editor role to be able to publish pages, I've added this to my functions.php $editor = get_role('editor'); $editor->add_cap('edit_theme_options'); $editor->add_cap('tools_import'); $...
0
votes
0answers
11 views

How can I reduce and update the list of available custom fields in the Name list on the page in admin?

So on the admin page for a certain wordpress page, I want the custom fields list updated, because I don't need some (most of them actually) of the existing values for custom fields. So I want some ...
0
votes
0answers
11 views

Linking Page, Posts & Category together

I want to create a page named Works with the built-in template called Project Listing. And have to make individual posts in the page Works. However, I am not able to do it. Though I can create the ...
0
votes
0answers
27 views

Need help running php on page

I need help running my PHP code on a WordPress page. I’m using a plugin to run my PHP code. This is a code I'm trying to run: <?php define('STEAM_CONDENSER_PATH', dirname(__FILE__) . '/wp-content/...
0
votes
0answers
28 views

Unique page URL redirect to file_get_contents() at domain

I need to take a page from WordPess and 301 redirect itself to a sub-domain. Page = http://adopttheweb.com/does-it-work/ Domain = http://wp-unique-page-url.adopttheweb.com/ These are live, but ...
0
votes
0answers
14 views

Retrieving category pages from subcategory returns empty sets

I've a category overview page. It shows its subcategories. These subcategories have subsubcategories which are pages too. I'd like to retrieve those (title, permalink and excerpt) but so far my ...
0
votes
0answers
10 views

How to target page editor fields when using an import plugin?

I currently have a need to create many pages that only differ by a small amount, so I figured I search for a plugin that can allow me to import multiple pages that I'll create in Excel and save as a ...
0
votes
0answers
24 views

Create Sub-Pages for Custom Post Type with Advanced Custom Fields

I have a Custom Post Type called "Projects". I have a archive-projects.php that displays all of the projects. Then a single-projects.php to display a single project. Trouble is, I want the display for ...
0
votes
0answers
22 views

wp query doesn't return html tags

In file I have the following (only part is showed below): <?php $args = array( 'name' => 'contact-us', 'post_type' => 'page' ); $q = new WP_Query($args); ...