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

learn more… | top users | synonyms (1)

0
votes
1answer
471 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 ...
0
votes
1answer
16 views

Display on page every post in blog WITH comments

I am trying to create a page which displays all the posts in the blog, with the comments to each post listed below the respective post. By looking around the internet I figured out how to create a ...
0
votes
1answer
889 views

List child pages by slug not ID?

I am looking to use the wp_list_pages function to show children pages of a specific page ID. I was able to do this easily, but now I found an issue with it. I am running a Wordpress network of sites ...
0
votes
0answers
12 views

How to slidedown and slideup child pages clicking on parent pages in jquery or javascript?

I have created a sidebar in wordpress in which all parent pages with subpages are listed. I have used following code in sidebar-left.php file and call this in template file. <div id="primary" ...
0
votes
1answer
14 views

Making a specific page wordpress compatable that is not index

When I first created my website I overwrote the wordpress php and essentially made the website static. Now I want to make one specific page wordpress compatable (e.g. when i make posts from the ...
0
votes
0answers
12 views

Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)

I am using this to load css styles in the admin area (for any user who is not an administrator): function wpse_admin_styles() { if ( !current_user_can( 'manage_options' ) ) { echo ...
0
votes
1answer
14 views

Set a variable to using in redirected page

I need to set a global variable that will be used in the page set on wp_redirect global $open; $open = FALSE; function open_menu($user_login) { global $open; $open = TRUE; ...
0
votes
1answer
24 views

Are post, page and category IDs unique to each other?

I was looking for a function to get all ancestors of a post or category and found get_ancestors( $object_id, $object_type ). To my surprise, the Codex shows that the second parameter is required: ...
0
votes
0answers
17 views

Page and Post Links broken but permalinks and .htaccess are good and static sub pages work [on hold]

Wordpress version = 3.9.1 Ubuntu = 14.04 Apache = 2.47 Mysql = 5.5.38 I updated my Ubunutu install recently, and now I find that the pages and posts are not accessible on my Wordpress site. I have ...
2
votes
1answer
31 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
1answer
30 views

How to make pages metabox display all hierarchy in menu admin?

Running WP 3.9.1 I've got lots of pages and sub pages. When I get to create menu lots of sub pages doesn't display on the right level, but some do? This is how the pages metabox is displayed The ...
0
votes
0answers
12 views

Display only certain content to users in my settings [on hold]

I'm trying to create a simple client portal without much additional functionality, but I need to set up wordpress according to the following information: Split users into roles / categories - ...
1
vote
2answers
35 views

Add a Menu Link (to a Wordpress Page) in the Admin Menu/Sidebar

I am trying to add a link, in the Admin Sidebar, that links to one of the pages I've created in the PAGES section. For example, I've created an ABOUT page. So in the sidebar I would like a link to ...
0
votes
2answers
38 views

My php code is not being executed

I have a wordpress page that has this code in the text editor part of a web page: This page creates a cookie and houses a etst link that is only accessible to the holder of the cookie. &nbsp; ...
0
votes
2answers
33 views

Automatically set page order on create page

Is there a way to automatically set page order to the last order number upon creating new pages instead of having it set to 0?
-1
votes
0answers
18 views

Page Tags Not Displaying [duplicate]

I'm trying to have tags for pages, but it's working. What I want to do specifically is display titles and tags of child pages of certain page. The titles are displayed, but the tags aren't. I have ...
2
votes
1answer
46 views

Dynamically Load Styles and Scripts from Theme Functions.php

I am attempting to dynamically load stylesheets and scripts based on the template name. So if I have a template named page-signup.php then it will load the corresponding stylesheet page-signup.css and ...
1
vote
2answers
546 views

How can I automatically add child pages to pages in a WP menu?

In the WP menu creation GUI there's the Automatically add top level pages option. I would like to do the opposite, for any page that is in the menu, automatically add it's child pages. Is there a way ...
0
votes
1answer
14 views

1st Level Page with No Children

I have a website (http://sfa.uconn.edu/) that displays left menu with a list of child pages on any parent page (and its children), like this: However, I would like to hide this functionality from ...
0
votes
1answer
11 views

Loading internal page

How can I load another page in wordpress? For example, I created a post called "Services" and want it to be associated with a page-services page. My index is thus: <?php if (have_posts()) : ...
0
votes
0answers
23 views

Wordpress Page doesn't load the template selected

I've created a new page called Work and I've added it on the navigation bar; after that I've created a file called work.php in which I want to style the page mentioned above. The problem is that the ...
0
votes
1answer
14 views

Page not loading content - Body archive - page

I'm working on this page The problem Is that is not loading any content, altought it's english version does: link I'm not getting any console errors so can't find where the problem is. The only ...
0
votes
0answers
16 views

Backend menu that shows pages with specific page template and their child pages

I've set up a menu in the backend that shows a list of pages that have a specific page template assigned to them. I've managed to do this using the code below, but I also want to display the child ...
0
votes
2answers
42 views

How to set up php,javascript and css to allow for our finished product to be displayed within a page?

hey wordpress experts, We have coded a table using php, javascript and css which pulls up information from a text file and displays it in the browser. We have everything working as desired when we ...
0
votes
0answers
22 views

why only admin or visitor can see a custom page? [closed]

i test all role , when i login and try to load a page , i get not found page ! my pages work correctly when sign out or login with admin role . what is the problem ?
0
votes
3answers
11k 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?
0
votes
0answers
13 views

Wordpress - 404 When creating Post/Page

I'm using the most recent version of WordPress and have encountered an issue that I've never seen before. Basically, when I try to publish a Page or a Post, WordPress directs me to a 404 page rather ...
0
votes
1answer
25 views

Display all posts/pages in a multiple selectbox

So I'm looking for a way to show all posts/pages inside a multiple selectbox, which is used to select and store which page/posts has been checked in order to display some text on that page(custom ...
0
votes
0answers
10 views

Is it possible to create an empty page template and build it choosing between custom components?

I'm quite new to WordPress development and i didn't find much online about this topic (maybe i'm not searching with the right WordPress terminology). I'd like to know if it's possible to have an ...
0
votes
2answers
324 views

Wordpress Page Protect forwards to Admin Login

Once I upgraded to WP 3.4.1, the password protect feature stopped working correctly. The password submit form leads to /wp-login.php?action=postpass and displays the admin login screen. I've sought ...
1
vote
1answer
359 views

How to retrieve attachments from child pages of a specific Page?

How would I retrieve attachments from all subpages of a specific Page ID? Example: SPECIFIC PAGE Child (with attachments) Child (with attachments) Child (with attachments) I'm currently ...
0
votes
0answers
22 views

Individual page data in one page template

So I am trying to create a one page template but still allow the user to add separate pages in the admin panel. What I did to output all the pages in one template file is as followed: <?php ...
0
votes
1answer
21 views

How to Change the path of a child page?

I am displaying the list of child pages of the current page. but at one child page i want to give a path to pdf. how can it be possible? Please help. Here is my code: $args = array( ...
0
votes
0answers
18 views

Why does `url_to_postid` return 0 when testing `page_for_posts` Page?

If I set Reading Settings > Posts Page (in other words, the page_for_posts option) to a static page, and then attempt to pass its URL through url_to_postid() it will return 0 - why is it? I ...
0
votes
2answers
42 views

Custom page in archive page for certain category

In my archive page I want a certain category not to display. The rest of the code I'm adding, but it goes to a custom page The logic is like, if is category=33, then include photo.php <div ...
0
votes
1answer
15 views

Firing page_publish where page is child page

I'm having difficulty getting a function to fire when publishing a new page. I'd like it to fire when a new page is being published or edited but ONLY when that page has a parent. Here's what I've ...
1
vote
2answers
2k 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
18 views

How custom Wordpress Page Builders work?

I wonder how custom page builders work. I want to create page builder in my theme's control panel. Currently i created simple system which creates Page Templates with generated HTML for each layout ...
0
votes
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
24 views

Echo page path suffix only - not the title, path or permalink

Is it possible to echo a page path suffix only? ie: if the path/permalink is example.com/about, echo just "about"? My page paths are different than my page titles (ie: page title for ...
0
votes
3answers
41 views

Creating a dashboard menu page similar to the “Pages” page

I'm looking to create a group of static pages for a "staff" category, and then have a separate menu option for them in the dashboard, similar to the "pages" option that already exists. What I'm ...
0
votes
0answers
25 views

How to open particular featured image clicking on desired post using javascript in wordpress?

I have created a custom post type "gallery" and created seven post in it. Since I am using dynamic featured image plugin of wordpress so I assigned two featured images to each post. Then I ...
0
votes
2answers
238 views

Which file i must edit to define a constant of WP Super Cache?

This WP Super Cache plugin doesn't let my shopcart (using shopp plugin) update when someone add or remove items. There is someone say that i must define a constant define('DONOTCACHEPAGE',1); to ...
0
votes
2answers
29 views

Why in the static pages of my theme are showing these information?

I am working on a WordPress theme and I have some problem with the pages\posts layout. For example if you go here: http://lnx.asper-eritrea.com/lassociazione/ This is a static page that show some ...
0
votes
1answer
19 views

Can I divide the pages into categories?

I wanto know if I can divide the pages into categories? Going into the Wp administration panel I can see that I can create some categories for the posts but it seems to me that I can't do it for the ...
0
votes
1answer
753 views

featured image as background image on pages

I'm adding a featured image on my page through the dashboard and I want to use it as a background image on the container div of the page. I want to apply the background image through css, so I am ...
1
vote
2answers
324 views

Can I hide a specific post from latest posts page?

Let's say that I have a post that I only want to be shown in the page of the category that it belongs to. The problem is that this post is also visible in the latest posts page. Is there a way to ...
2
votes
3answers
546 views

Caption in Page adding unwanted 10px to width

I'm trying to create an image with a caption in a Page I'm working with. In the image options, I have it aligned right, with an image width of 220. Without the caption I have no problems, however with ...
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
1answer
25 views

WordPress Search

I'm trying to write a search feature on a website of mine, and it seems like it's not pulling in any of the pages, only posts. Below is the code. Search Form: <form role="search" ...