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

learn more… | top users | synonyms (1)

-4
votes
1answer
41 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
32 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
17 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
33 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
58 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
44 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
55 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
63 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
31 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
28 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
39 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
19 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
15 views

Where wordpress try to find php file for site?

I have installed woocommerce. When I open site host.eu/product/category/something else `host.eu/product/sth' Where wordpress try to find .php file to run this page? add_rewrite_rule('^product/([^/]*...
0
votes
0answers
23 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
50 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
46 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
48 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 ...
1
vote
1answer
35 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', '...
0
votes
1answer
19 views

The permalink for the page doesn't work and page's defined link throws “Object not found!”

I created new page in a fresh WordPress install. Version of WordPress is fairly new - 4.4.2. I set the permalink for the new page to be http://localhost/gp/page-two/‎.
0
votes
2answers
44 views

How to properly enable comments form in page template

I've applied the following code to enable the comment section in the page template. <div class="col-md-12"> <?php while ( have_posts() ) : the_post(); ?> ...
0
votes
0answers
18 views

Posting from page linked to plugin

I am creating my first WordPress plugin and so far I am not doing to badly but looking for some guidance as not really sure if the way I am thinking of doing this is correct. I have a plugin that ...
0
votes
0answers
38 views

Automatically Paginate Posts after specific number of words

I want to insert <!--nextpage--> (for paginating posts) after a specific number of words, and I want it to keep inserting the tag until the post ends. There is a plugin which does a similar ...
0
votes
1answer
36 views

Page template gives 'Parse error: syntax error' when used, but no error found!

I get this message, whenever I activate this page template for one page, for instance about.php : Parse error: syntax error, unexpected end of file in /home/u425744603/public_html/wp-content/...
0
votes
1answer
25 views

How to have a separate page? What should be the link to that page?

I want to have a separate php page. What should be an anchor for that page if i'm placing the link on home page? Suppose my page name is projects.php, but when I put it in an anchor tag like , it ...
0
votes
0answers
25 views

how to create sections on page

Can anybody tell me how I can make the sections on wordpress. e.g http://www.foton-global.com/mediumheavy-duty-trucks/ They are showing sections on each page. Is there any plugin or this is custom ...
-1
votes
1answer
31 views

Custom post page has attributes of latest post [closed]

When you share the custom post page, it shows title, description, author of latest post. Even page ID is from latest post. Does it supposed to work like that? Besides this, it causes many other ...
0
votes
0answers
29 views

How do I put my Blog posts on two or three different pages?

So my site has a static front page and a blog page on my website, but I would like to show my blog on both the blog page and the static front page. Also, I have several pages representing several ...
0
votes
0answers
9 views

I need to add table records from an admin menu page

How do I keep control of a admin menu page that I create via 'add_options_page'? I have built a "demo" plugin that creates an option page. This was through a tutorial and the page that was created ...
0
votes
1answer
15 views

Folder wordpress page redirect

I have my wordpress on a folder, lets say /blog. I would like to be albe to redirect virtualy the users so visit some specific urls to a page. Let's say: I have my terms page that so it is on /blog/...
0
votes
0answers
13 views

Single pages disappearing, even in database?

I have an issue about I'm a little bit confused... Does anyone ever had an experience about pages, which are just disappearing without any reason? It happened with just two until now (I have 68), ...
0
votes
1answer
52 views

How to sort a sub-menu, generated with get_pages(), by the page order instead of alphabetically?

I want the top nav on a wordpress site to automatically show the child pages. I know that I can edit my menu and add the children, but I want them to appear automatically, and for the menu to update ...
0
votes
0answers
27 views

How to create page programmatically? [duplicate]

I want to create a page without using admin only from codes.
0
votes
0answers
16 views

Call XML file in WordPress Page

I have a WordPress Page in which I want to call/display data from an XML file (uploaded to the same server/domain) whenever the user calls that Page. How can I do that?
0
votes
1answer
65 views

Make wordpress pages accessible for Woocommerce logged in users only

I have created one page on my WordPress that I want to set only woocommerce user can view it. That mean they must logged in first to be able to view it. For unregistered user if they try to access to ...
0
votes
1answer
16 views

Wrong Sub-Page Order

I've got this code to display sub-pages of page with their template, <?php global $wp_query; // is Page a parent page if ( $post->post_parent == 0 ) { // on a parent page, ...
0
votes
0answers
25 views

Wordpress changes not showing

I'm wondering how to fix the website when the changes are not showing instantly? I tried the following fix: Installed W3 Total Cache and Super cache and cleared all the cache on the website Cleared ...
0
votes
1answer
28 views

Showing Categories for Page Edit - without plugin

I am building a theme without any extra plugins. Does anyone know the code needed to show the Categories in page Edit - without using a plugin?
0
votes
1answer
108 views

Check if has any sidebar active on current page

Is possible to check if has any sidebar active on current page? Like this: @edit This function also return true even if the current page does not have this sidebar active... <?php if(...