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

learn more… | top users | synonyms (1)

0
votes
1answer
62 views

WP_Query with multiple orderby NOT working with ASC and DESC, what's wrong?

I have a query with multiple orderby params in a custom page that I am having difficulty getting to work. The query is to return posts with either tag-AAA or tag-BBB tags. And I'd like to sort it ...
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
29 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 ...
-1
votes
2answers
29 views

How to find the page of specific post?

i have a specific post and i have a website (example.com) that have pagination 1, 2, 3, ... what is the page of my mentioned post in this pagination. for example is it example.com/page/5 or 6 or etc. ...
0
votes
3answers
48 views

How to create custom layouts and static pages in themes for clients

How do I build goodlooking, custom pages into my themes. I've decided to use underscores to create custom client themes, as I need complete freedom in design, and all the tutorials I've found on theme ...
1
vote
0answers
22 views

Wordpress form. Variables to display on other page? [closed]

I'm using Ninja Forms, and I'm working on a form where when the users presses "ok" then the page is supposed to go to another page which shows specific information and links for that user. Right now ...
3
votes
2answers
35 views

Object gets unwanted width and height

Is it possible to stop WordPress adding a width and height to an object when you pate it in to the source view? When I paste in <a href="#"><object data="grid-linked-in.svg" type="image/svg+...
-1
votes
1answer
29 views

How restrict page for users logged? [closed]

I have a website with login page that works normal. The problem is that once logged in, the user still has access to the login page form to enter, which should not happen. I would like to know a ...
3
votes
1answer
91 views

Making Wordpress' page and menus visible only for logged in users, checking session variables

I'm trying to login users in wordpress through an API of another platform, so what I do is use an ajax function to call an external API sending the user credentials (username, password) and getting ...
0
votes
0answers
23 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); ...
1
vote
1answer
22 views

Custom category code not showing all posts

I have a PHP template I am applying to several pages on my site so that they show a list of all posts in a category with the same name as the page. However, this is not working correctly in that posts ...
1
vote
1answer
30 views

Search pages that are a child of the current page

I'm developing my own Wordpress theme and I was wondering if it is possible to modify the search query in a way that it only return results that are child pages of the actual page. The reason I want ...
0
votes
0answers
13 views

Automatic building and deployment of new pages

I'm managing a Wordpress site for a media group on campus. I'd like reporters to be able to publish content without having to login to Wordpress and manually create a page. I envision creating some ...
0
votes
1answer
11 views

Option for pages order in backend

Can someone tell me what is this ordering in pages list in backend and how does it affect anything? Searching for wordpress pages order doesn't give me meaningfull results
0
votes
0answers
15 views

Limit editing capabilities to one page [duplicate]

I have one user on WP website. I want to give him editor role because he need to edit pages and as I see - edit_pages capability requires user to be at least editor. The problem is that i want to ...
0
votes
1answer
23 views

Return subpages of an author if the parent page was published by an other author

I just stumbled over an issue while programming my own WordPress theme and I need your help. I defined an author.php file which should display the static pages and the blog pages of a given author. ...
1
vote
2answers
46 views

Role can edit just one page [closed]

I've built a site for a client, only ten pages, nothing especially big, and created a role for the group members called Blogger, as the staff need to all be able to both blog and access a couple of ...
0
votes
2answers
15 views

Detecting current page from class method

I've tried to look for a specific answer/tutorial on this subject but I'm coming up short and wanted to see what the SE community could suggest. At this point, any guidance whatsoever would be most ...
0
votes
1answer
16 views

Getting the Most Recent Posts from Multiple Categories

I've got a page (page, not post) that near the bottom of the page I want to get the most recent 15 posts from a set of categories. I'm new to doing this and thought I was doing it correctly. The div (....
0
votes
2answers
35 views

Admin menu disable new/delete page

So I've been tinkering with the admin roles and I can't seem to be able to revoke create page rights for the admin. I can only find 'Edit page'. If I remove Edit page, the entire pages tab goes away(...
1
vote
1answer
27 views

Page vs Custom Post Types Differences/Issues

I started noticing issues last week when 4.5 was released and mistakenly believed that update caused an issue. In reality, I just happened to notice it for the first time around then because last week ...
-4
votes
1answer
42 views

How to remove container box in Wordpress pages? [closed]

I would like some help on removing the container box from all my pages (Theme: Zerif Lite). In the screenshot below, you will see it red-boxed. Thanks in advance! Regards, Suraj Edit 1: I think ...
1
vote
1answer
23 views

Creating custom page

I am new to this and can not find any material how to create new page without admin control panel. I am not programmer, but I created my theme files manually and would like to know how should I create ...
0
votes
2answers
24 views

Posts and pages not getting published

I just installed a fresh version of 4.5 on my server. But for some reason every page or post is getting the status "Scheduled", it won't go to Published. Other sites on the same server works fine. ...
-3
votes
1answer
20 views

How To Display Date (/Time/Author) In pages?

I'm trying to search for a way to display the published date of a page, but I can't seem to find one. Maybe because the "PAGE" word is very generic. But what I'm looking for is a way to display date ...
0
votes
0answers
19 views

How to add a pagination in custom post type maker plugin

I declared testimonial using a testimonial page template. I want a pagination in testimonial menu. <div class="testimonial"> <ul> <?php $args = array( "post_type" => "...
0
votes
0answers
25 views

Addressing Child Page from Custom Menu

I build the website of an association with centers in different cities. Each city's pages need their own sidebar. I want to program an automated solution where the editors dont need to select anything....
0
votes
0answers
13 views

What is right way to check a page?

If I want to do a check for a page. For example, if I am on page with the title "About", it is better to check for the title, slug, id or some other way? The reason I ask is because page Titles and ...
0
votes
2answers
34 views

One Post with different content, depending on a Page

My goal is to make a user manual WP site for the web app that my company is selling. My issue is that the web app has some differences in functionality for different clients. For example, we have a ...
0
votes
0answers
18 views

Help with python script in Wordpress [duplicate]

I've been trying to run a python script on my Wordpress site using the method described in this post: Running a python script within wordpress. I got it to work, but there are some issues that I'm ...
0
votes
3answers
36 views

WordPress Load Only Page Text

I'm working on a page template and I need the_title to be separate from the page text. I'm not sure how to load the_content without it having the title. Can anyone help?
0
votes
1answer
68 views

Why does not this wp_redirect work in is_single()?

I have a custom post type (portfolio) and I have to redirect a certain page (of this custom post type) to another page. when I look at my custom post type page: So I wrote the code as follow to ...
0
votes
1answer
50 views

Send e-mail from admin area to adresses in custom field

My client wants to be able to send an e-mail from the Page Editing Screen to a number of e-mail addresses. Every page has a custom field called email_addresses that takes comma seperated addresses: ...
0
votes
2answers
62 views

Prevent Wordpress from adding linebreaks to javascript embedded in a page

On a page in Wordpress, If I enter the following code: var r='<li><a href="#"><img src="' + slide.src + '" width="50" height="50" /></a></li>'; it is rendered in the ...
0
votes
1answer
16 views

Wordpress URL question

I have a web page that I created and in doing a google search for the company and my name a weird page came up. For private reasons I will not reveal the company name so I will use a fictitious ...
0
votes
2answers
78 views

Display specific page (that is child) content on parent page

I have problem displaying child page content on parent page (both static). I can display other page content but only if on same level. It dosent work in relation parent - child. <?php $...
0
votes
1answer
41 views

Pagination For Page Post Type

I try to use the Eric Meyer's pagination codes to make it working for page post type, but unable to figure out how to make it working. It's always show the first page. Here is the codes: <?php /* ...
0
votes
1answer
32 views

How to add a regular page under a custom post type?

I'm building a WordPress website that should have the following structure: Project A (project post type) About (regular page) Location (regular page) Partners (regular page) News (regular page) ...
0
votes
0answers
17 views

Redirecting a Post to a Page Because the Page is More Flexible

Wonder if there is an acceptable way to do this. I am using a theme on this site that allows me a good amount of functionality for pages that isn't there for posts. So, I can create a page and have ...
-1
votes
1answer
39 views

Output the published date / last modified date of specific page

I am trying to output the published date and last modified date of specific pages on a exclusive portal for certain users. Right now I can only find something similar for posts or within the specific ...
0
votes
1answer
34 views

How to create a custom page in woocommerce?

I would like to create a blank page, which is used to list out the product by the category , so far I have found some code like this: $args = array( 'post_type' => 'product', '...
0
votes
2answers
40 views

Google Page Speed Insights not recognising WP-Cofig settings?

I have been using Google Page Speed to help try speed up my site, which it rates pretty poorly. Google suggest I Enable Compression and Minify. Well, these are defined in my WP-Config file. So either ...
0
votes
0answers
28 views

How to turn post into pages and via versa?

I made a wordpress blog. Too many pages. I want to convert all of them into posts and maintain all the links. How do I do so?
0
votes
0answers
22 views

Create a custom theme-specific page, invisible in the admin-panel?

I've learned that when I want a custom page, I need to create a page template, create my page and assign the template to it. Also I've read about fake/virtual pages, where the page is generated on the ...
0
votes
0answers
24 views

Enable/Disable code in static pages

I'm trying to add a checking (hide/show) option in my wordpress pages that allow to either allow a code to be displayed or hidden, so that when i create a page i choose if i want that code to be ...
0
votes
1answer
51 views

Show different pages on site depending on user choice

I am building now a Wordpress site that has a automatic opened popup on the first page which gives the users the possibility to choose between 2 options (ex if they are private customers or company ...
0
votes
0answers
22 views

Parent Under The Page Attribute WordPress 4.2.2 Is Missing

Parent under the Page Attribute panel of WordPress 4.2.2 is missing. At first I thought because I am using Child Twenty-Fourteen theme instead of the parent might be be the cause it. But the problem ...
0
votes
1answer
49 views

Removing custom sort order from admin page listing

For the background to my question: On my page listing, I've got a set of pages that are countries and the child pages of those are categorised into 'Types'. So I've got a page structure like this: ...
0
votes
1answer
57 views

add_rewrite_rule with bottom priority doesn't handle the Wordpress pages

I have a php file named test.php that outputs the page querystring parameter. I want to use add_rewrite_rule to serve my php file, while the WordPress pages which exist already or will be created ...
2
votes
1answer
38 views

Pages should have priority when using add_rewrite_rule

I'm using the following code to have dynamic pages function custom_rewrite_basic() { add_rewrite_rule('^prefix-(.*)', 'foo/bar/index.php?page=$matces[1]', 'top'); } add_action('init', '...