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

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

Restrict admin access to certain pages for certain users

As the title says, I'd like to restrict back-end access to certain pages for certain users. While doing a site with 45-50 pages, I realised it would be a much better user experience if the Page menu ...
0
votes
1answer
282 views

Include content from one page to another

I'd like to include content from one Page (named "contact_text") to another Page in a specific spot (both of these are WordPress admin pages). I've followed this Stack Overflow thread. However I ...
-1
votes
1answer
21 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
1answer
17 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
1k views

Show custom menu in category and its posts

I have a category X of posts. The category page and it's individual posts are all part of a custom menu consisting of pages and posts. My submenu, in the sidebar, works fine for showing on the pages, ...
0
votes
0answers
20 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
12 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
2answers
325 views

Create subpage - filter parent pages list

I have a website here with a lot of content and with the content where is necessary to create pages in hierarchy. But it is uncomfortable to go through the dropdown in the administration with a lot of ...
0
votes
0answers
7 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 ...
0
votes
2answers
409 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
19 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
9 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
0answers
12 views

Content disappearing from layout builder after updating the page [closed]

i have been developing a website (http://www.estero.co.nz). firstly i am really happy with wordpress which made our lives easier for developing websites. i have already built two site using ...
0
votes
1answer
389 views

Pagination for Pages and Posts

I want to use Pagination throughout a new theme but am having trouble getting it to work correctly. I am using some code within my functions.php file and then calling that function. It works on the ...
1
vote
1answer
1k views

Shared Content but “Updatable” Through the Main Site

I have been doing quite a lot of research the past week, and have not been able to find a solid answer that fixes my problem. So, I decided to come here to ask to see if anyone knows of how to help ...
0
votes
0answers
8 views

need to increase pages width [closed]

please check out my blog http://cine-matt.com/archives/ and here http://cine-matt.com/news-and-rumors/ see the amazon ads? they cut off and the widget only comes in specific sizes. how do I ...
0
votes
1answer
10 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
19 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 ...
0
votes
2answers
281 views

Why won't pagination work?

I am using a page template with code to display all blog posts: <?php /* Template Name: Blog */ ?> <?php get_header(); ?> <div id="main"> <?php // ACF Page number variable ...
-1
votes
1answer
21 views

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

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()
-2
votes
0answers
36 views

CSS not loading correctly [closed]

I have made a website, and am hosting it on my Raspberry Pi. It works really well on the LAN, but when I look at it through a proxy, or shoot the link to a friend, all I/they see is plaintext. Since I ...
-1
votes
1answer
27 views

Wordpress running on rasppi not displaying themes correctly

I have a Raspberry pi that I set up to be a webserver, and it works great. As far as I can tell, my only issue is that the themes do not display right. (The text seems to be okay, but its like the ...
1
vote
1answer
295 views

Displaying different page links on different pages

I have a wordpress site with 100+ pages. Now suppose 5 pages are related to page 1, and I want to show them in side bar as similar pages/related pages and other group of pages in other menu in ...
0
votes
1answer
431 views

Automatically search and replace link in content (pages/posts)?

The users of my site mainly share documents by inserting links into content (pages/posts) using the built in editor. These files include everything from pdfs to word documents. The users currently ...
1
vote
1answer
450 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: ...
3
votes
1answer
546 views

Connection lost. Saving has been disabled… (Updating Posts/Pages)

I've been developing for Wordpress for a few years now without any trouble on an old XP/WAMP development server (v1.7.4) but recently have been getting the error "Connection lost. Saving has been ...
0
votes
0answers
18 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 ...
-1
votes
0answers
22 views

All pages are shown on home page?

My all the pages are shown on homepage. I have selected static page. Still it does not appear on home page. Suggest me something.
0
votes
1answer
1k views

How can I use “getarchives_where” to get monthly archives for static pages?

I would like to get monthly archives for static pages. I tried to use the next code: add_filter('getarchives_where','my_archives_filter'); function my_archives_filter($where_clause) { return "WHERE ...
0
votes
0answers
20 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
2answers
43 views

Best way to create a page outside of the pages list

Currently, to add a single page that should not be part of the CMS, I add a new Page entry in the WP admin panel and then markup the page in page-{page-slug}.php. This however causes the Pages list to ...
1
vote
1answer
434 views

WP_Query not retrieving by random order under parent

I currently have TWO subpages under parent page ID 43. Client testimonials.. Anyway. I have the random order thing in the query $args but the order never changes. What could I be missing? ...
0
votes
0answers
18 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
15 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
7 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
21 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 ...
-1
votes
0answers
6 views

Blog parameter section to create a new page?

How to add Select Blog Parameter in the page ? I need to create a new page that show all my blog post . I want to add two of my categories in a page name as Blog . I need some thing like as See in ...
0
votes
1answer
17 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
529 views

Relative or Absolute Paths for Flash Video Player Files

I have a Flash SWF file working correctly in the root of my website. It is fully embedded, with everything including the player hosted directly on the website (not a YouTube embed). This flash file ...
3
votes
1answer
702 views

Slugs as breadcrumbs for Pages

I´m trying to create a function that creates a breadcrumb trail of Page slugs outside of The Loop. These breadcrumbs show the path from the homepage to the current (sub)page. For example, on the ...
0
votes
1answer
18 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!
0
votes
1answer
25 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!
1
vote
0answers
17 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 ...
4
votes
1answer
49 views

How can I store page ID in a post instead of other selected permalink?

We're using Wordpress as a knowledge base. We just left mediawiki and jekyll for Github pages and reduced the amount of different systems from four to just one. One Wordpress installation for blogging ...
0
votes
0answers
11 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
35 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 ...
0
votes
1answer
173 views

How to display list of child pages of parent page in wordpress?

I have following format of menu. Treatment -Beauty --Services --Products -Surgery -washing I have followed follwed following link: How to Display a List of Child Pages For a Parent Page in ...
12
votes
6answers
4k views

Integrating a custom post type into a page hierarchy

I'm creating a theme with a custom post type for team members, I've also got the following page structure: about <-- this is a page about/team-members <-- this is a page, lists all the team ...
0
votes
2answers
23 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 ...
-1
votes
2answers
25 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 ...