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

learn more… | top users | synonyms (1)

0
votes
0answers
79 views

Display page content inside a onclick popup or fancybox or lightbox

I'm doing a single page theme. So in that I would like to have some links which load the page content of the page inside a fancybox or lightbox. I've already tried Best way to load page content in ...
0
votes
0answers
19 views

Duplicate content problem with parent slug

I have one page without a parent page attribute called "bar", with slug "bar": /bar/ I have child pages, for example "foo", which has the "bar" page as parent attribute and slug is "foo": ...
0
votes
0answers
42 views

Multiple Page Loops on front-page.php

Looking to build an easily editable front-page.php using multiple loops set to display pages. One way I thought about doing this was making a HOME page, then setting "About us, Services, Team" all ...
0
votes
2answers
38 views

Creating custom page template

So, on my wordpress site I have page called "Books" and sub-pages, each containing info about some book. It looks something like this: Books Harry Potter, J.K.Rowling Some Other Book, Who WroteIt ...
0
votes
1answer
218 views

Wordpress 4 and wp_editor() Not Showing Visual/Text tabs

I use wordpress a lot, i develop for it a lot too! I have a client website that i have added 10 custom meta boxes to the post edit screen in functions.php . All the meta boxes have an editor using ...
-1
votes
3answers
129 views

List of pages - AJAX load more

I apologise if this is an extraordinarily broad question, but I am getting a little lost. I am using the below to show child pages (note: I am using Advanced Custom Fields) <?php /** * ...
0
votes
0answers
12 views

Splitting of Page

I have opted to go with a single page layout with custom fields. However is becomes tedious to scroll down the page to edit content at end. As such I would like to split the page into smaller parts. ...
0
votes
1answer
14 views

Post/page title to permalink transformation - what is behind the scenes?

If the post name is used as the permalink, what "transformations" does Wordpress do to it when using it as the URL and when does it perform these transformations? Like stropping spaces and special ...
0
votes
1answer
78 views

Programmatically add a custom page/path/url/route to WordPress

Conceptually what I want to do is super simple. In my plugin, I want to add a single path/route to my wordpress site: [mysiteurl]/testpath ... that loads a particular file, like: ...
0
votes
0answers
35 views

SOLVED - Rewrite of custom taxonomy displayed on a page

I have a custom taxonomy "product-category". All parent terms are displayed and linked on a page myurl.com/directory/ with some custom code. Example link: /directory/accessories This gives me a 404, ...
0
votes
1answer
242 views

Avada Theme - Display results from a specific category [closed]

In the Avada Theme there is a page template called 'FAQ page', this 'FAQ Page' can have categories (faq_category_1) and in these categories there can be unlimited questions with answers. This part of ...
0
votes
0answers
27 views

How to display time when page is created and edited

On posts I use this: Time created <?php the_time('Y-m-d'); ?> Edited (updated) <?php the_modified_time('Y-m-d'); ?> It works fine on posts, but on page template it displays just ...
0
votes
1answer
30 views

If is page, archive or search output this code

Hi there I'm trying to make this code works for more than just home page but I'm getting errors while trying to accomplish it... can someone help me? I'm trying to use this: <?php if ...
0
votes
1answer
25 views

User Selectable Delete of Pages

in my WP MultiUser project i am designing a template for deleting a page from the front-end (only the super admin can access the back-end admin panel) I have almost achieved the desired result, but ...
0
votes
3answers
72 views

Custom Post Type Name Causing Problem

Please ignore my poor English. I have custom post type (order). and its working like charm, But default post type (pages) list are not displaying in wp-admin side. You can see More information in ...
-1
votes
1answer
421 views

How to get current page id outside the loop?

How to get current page id outside the loop? i am searching on google for a very long time but in vain.
0
votes
0answers
28 views

What's going on with the get_pages() 'number' argument?

According to the codex, the get_pages() 'number' argument works the same as an SQL LIMIT. number (integer) Sets the number of Pages to list. This causes the SQL LIMIT value to be defined. ...
0
votes
1answer
67 views

get_pages — parent vs child_of?

I'm working with get_pages on a site that has a very clean and hierarchical structure. As part of a template, I wanted to show child pages as part of the template's 'boilerplate'. Reading the Codex ...
0
votes
0answers
32 views

Displaying Custom Post Type on Page with Same Title

I'm building a sports blog. I have a custom post type called conference. Each conference post contains HTML that is displays the team logos horizontally on my team custom posts as shown in the ...
-1
votes
1answer
26 views

Pagination showing same posts despite changing page

I know this is a common problem and there are answers available but I am using pre-existing code from a premium theme, which doesn't seem to work for me. In the blog.php page template, I have: ...
0
votes
1answer
34 views

Why isn't my link attribute getting my css?

<link rel="stylesheet" type="text/css" href="style.css" /> That is the line I am using. The style.css file is in the same directory as the file I am running that from. Tt specifically just ...
0
votes
1answer
22 views

How to map my php files as the files for pages

How do I map my php files (like a file that is supposed to be the page "blog" and it contains all the html and php) to the actual page the html is supposed to be marking up many thanks note: I would ...
0
votes
1answer
22 views

Creating a page that does not show up in the frontend navigation bar

My plugin needs to add a few screens to the frontend of the site, eg. a history overview (http://www.site.com/history?event=X). At first, I implemented this by programmatically adding a page with a ...
0
votes
1answer
32 views

Widget & storing a Select box choice

I am creating a simple widget which displays all of the pages on the website. The trouble I am having is how to store the user's choice and display it on the front end. At the moment, when saving my ...
-1
votes
1answer
93 views

How to detect if is_404() or is_page() or etc…? [closed]

is there any way, to output, like this: echo $current_type; and it gave me: is_404() or is_page() or whatever it is_blabla()
0
votes
0answers
30 views

Restrict my pages from public

In my site I want to restrict some pages from public. How can I do this? example : www.xyz.com/members This pages only access when the user is log in but now its access public also using coping ...
0
votes
0answers
36 views

How to show custom post type in page hierarchy?

Is it possible to show a list of pages with a custom post type included in that list if it's parent is a page? So if I was using the query more specifically something like get_pages(), ...
0
votes
0answers
39 views

Show only grandchild pages with get_pages

I've been struggling with a problem where I need to display the content of child and grandchild pages within a page. Currently I have <?php $mypages = ...
0
votes
0answers
19 views

Have the plugin completely render a page

I'm working on a plugin that uses pretty links by using rewrite rules like so: add_rewrite_rule( $slug . '/email/([^/]*)/?', 'index.php?pagename=' . $slug . ...
0
votes
0answers
23 views

User editable blocks per page

I'm pretty sure this question has been asked a million times but I can't seem to find an answer. Imagine a page template with multiple sidebars. What I want the site admin to be able to do is create ...
0
votes
1answer
95 views

redirect index.html inside folder to wordpress page of same name

i have a wp page called mysite.com/stuff/ i have a subdirectory on my ftp called mysite.com/stuff/index.html with a bunch of files and other subdirectories inside. when i go to ...
0
votes
1answer
36 views

Redirect page to default subpage

On a site that I'm working on I have a particular page that has four subpages, which act like process steps. I want the parent page to always redirect to the first of these as a default, should the ...
0
votes
1answer
28 views

Add posts of a certain category to a page

I have posts with a certain category(Blog Posts) and I would like to add these to a certain page(Blog). What can I do to add my category to a certain page? I really appreciate your help!
1
vote
0answers
24 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 ...
0
votes
1answer
29 views

Display pages in alphabetical order

I think I am missing something in my functions.php because my pages in the admin are displayed randomly. How can you display the pages in admin alphabetically? Thanks!
0
votes
0answers
21 views

Fixed top-level menu

I'm developing a site which has around 10 top-level pages in the menu and each have 4-5 child pages in the sub-menus. I am giving the site users the "Editor" role which I have customised using a ...
0
votes
1answer
70 views

How to use PHP code with wordpress page

new user to WP. I am dynamically creating HTML tables with SQL data in my PHP. WordPress pages do not allow PHP code, and I've been hounded by individuals not to use a PHP plugin due to security ...
-1
votes
2answers
28 views

Is there a way to have information on one page automatically feed into another? [closed]

Specifically, I have a page that lists events that happen each week on Tuesdays and Saturdays. I want these events, posted to this page, to then go onto two separate pages - one just showing the ...
0
votes
1answer
30 views

how to avoid the character conversion of WordPress pages?

I am trying to use the WordPress pages but WordPress is overwriting certain characters. the '>' character is turned into '& gt;' why is WordPress changing these characters? is it possible to ...
0
votes
2answers
41 views

Cannot add media to a page

I am unable to add media to a page. I click the button on the page edit page and nothing happens. The web console of firefox says "TypeError: wp.Uploader is undefined". I already tried deactivating ...
0
votes
1answer
96 views

is_page() and is_page_template() not being differentiated

I need to rearrange how my comments are displayed depending on the page template. My posts and standard pages are displayed in in the middle of the screen, and thus need to share the same comment ...
0
votes
0answers
24 views

Rewrite pages and custom post type

I created a post type named soft_drink with a rewrite rule of /my_soft_drinks/%soft_drink%. my_soft_drinks is also a page slug. In my menu structure has the page soft_drinks parent submenu items. When ...
0
votes
3answers
271 views

How to get post or page excerpt using post_excerpt

I am using the following foreach loop: $pages = get_pages(array ('post_type' => 'page','sort_column' => 'menu_order',)); foreach ($pages as $page) { $apage = $page->post_name; ...
0
votes
1answer
198 views

Structure and Display Content from Multiple Pages on Single Page

I am trying to display the content from multiple pages on a single page. However, for each page I need the title, excerpt, content and featured image. The display of each page's content has a ...
0
votes
0answers
36 views

show the post of all child category in different single page

i have parent category ('photogallery') that have 5 child category like latest,sports,business etc i wanted to show the post of that child category in another single php file that should be by the ...
0
votes
0answers
19 views

Page appearing two times in the frontpage? How do I completely remove that page from the frontpage?

I have this Wordpress website I'm working on as third party. I have to give this Wordpress its final touch. There is a Page named Impressum and it's appearing two times in the frontpage, I need to ...
0
votes
1answer
43 views

Can a user find a child page?

When editing a page, instead of the expected content, all the user sees is this: [child-pages depth="1" sort_column="post_title"] How can the user find that page in order to edit it?
0
votes
2answers
21 views

Separate Editing from Publishing for pages

My site is made of "pages". Those page are static, but my team is going to modificated those pages frequently. I would like to have several authors and one editor. The authors edit content, but ...
0
votes
0answers
80 views

Add icon near meta box title in posts/pages

I'm trying to add some "help icon" that will be use to show "help text" with the help of the tooltip or pointers to admin section. Now I'm trying to understand how can I add in the posts/pages in ...
0
votes
0answers
19 views

How to Make Multiple Pages Display Previous 2 out of 10 Next

I'm using wp_link_pages to split my post into multiple pages. I want to achieve something like this. Please help me with the exact codes. Thank you so much in advance. Here's my code so far ...