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

learn more… | top users | synonyms (1)

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
17 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? ...
0
votes
0answers
22 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
49 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
41 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
45 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
33 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
16 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
36 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
36 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
33 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 ...
0
votes
1answer
23 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
30 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
28 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 ...
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
43 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
51 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
24 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
94 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 ...
1
vote
1answer
59 views

Edit page's “Restore the backup” link does nothing

Every now and then WP logs me out and a pop-up requires me to log back in. After this happens and I am back in, I try to save some changes to a page I'm working on, but there is an error like "Are you ...
0
votes
0answers
7 views

Subpage for custom post type not beeing loaded

A week ago I started working with wordpress. My project is to expand a friends website with a section where she can add offers (e.g. guided hiking tours) in a chronical way. Those offers should have ...
0
votes
0answers
22 views

Redirecting archive page (blog) to normal page

While trying to redirect an archive page to a normal page using .htaccess I can't figure out how to make it work. I've tried using those three lines: Redirect 301 /blog$ /mvo-database RedirectMatch ...
0
votes
1answer
21 views

Make “default” wordpress pages & features unaccessible

I am trying to create specific password-protected mini-sites (single wordpress pages) for specific users or specific passwords to be precise. For example someone clicks the url domain.com/url1 and if ...
-2
votes
1answer
19 views

How to apply styles to the custom page template

I have made a simple page template according to what is said in the how to here :Page Templates When I create a page and in its 'Page attributes' make the template equal to the one I've created, ...
1
vote
0answers
23 views

Cannot add a class to h2 tag

I'm creating a page on my Wordpress website with a series of headings and images on alternating sides of the page for each heading so I need to add clear: left and clear:right to the h2 tags on the ...
1
vote
0answers
49 views

What's the best way to render Visual Composer in posts, not pages?

I have a page with layout and ui content I'd love to use in my posts. Is that possible without running through all the shortcodes with do_shortcode?
1
vote
0answers
29 views

Show Custom Post Type meta boxes only on Page Edit

I've went through the laborious process of creating the CPT. I see it on the sidebar of my WP install, I can add new, save data, and on frontend I can output the data. Is it possible with WP to move ...
0
votes
0answers
30 views

get_posts ( $args) failing when called by AJAX

Here's my code: function ajax_test(){ $default_workout_category = 61 //Hardcoded category for testing $args = array( 'category' => $default_workout_category, 'orderby' => 'title', ...
0
votes
0answers
19 views

How to import pages

How do I import pages from my old wordpress site to my new site in a local environment? I already imported the SQL Database, the theme, and all the plugins. But it there are no pages included when I ...
-3
votes
1answer
19 views

For some reason my posts are not showing up on my front page

For some reason my posts are not showing up on my front page after some small changes. Any suggestions? http://www.justgoodnewsonly.com/
2
votes
1answer
31 views

how to change link of some wordpress pages

I've made templates for the pages of my wordpress site such as: singup,signin,suggestions. Default wordpress pages link is as follows: doamin.com/signup/ or doamin.com/signin/ or ...
1
vote
3answers
79 views

is_page condition not working

The is_page() with post id, post slug isn't working. Below is the code i have been using in divi child theme at the end of the functions.php file. function addingcattocatlist($cat_list){ if ...
1
vote
1answer
34 views

Get page id or status by private pages?

How can I get post id or status by private pages if user is not logged in? This don't works: get_the_ID() get_post_status ( $ID ) I found some usefull informatins here but is not enough to detect ...
9
votes
1answer
1k views

Using pre_get_posts on true pages and static front pages

I have done quite extensive research on how to use pre_get_posts on true pages and the static front pages, and it seems that there is no fool proof method. The best option I found to date was from a ...
0
votes
0answers
92 views

how to create wordpress page using php and mysql

Hi I want to create wordpress page but without using any wordpress built-in functions i.e. like wp_insert_post.I tried using xmlprc and curl but got no luck achieving it.So,now I want to directly ...
0
votes
1answer
55 views

How can I check user capability when a page loads (via functions.php)?

I need to restrict users without a specific capability from seeing a specific page. I can't use shortcodes or anything like that, I just want to redirect them if they get to that page URL. I want to ...
0
votes
0answers
64 views

How to pass multiple page ids from a custom field variable into post__in wp_query

I have a client that wants to pull content from multiple pages using page_ids listed in a custom field (363, 87, 95) without interfering with the main loop content (can't use sub-pages as same page ...
0
votes
1answer
28 views

Bundle a page with custom url and a function

I have a plugin that allows users to bookmark posts and I want to create a page/archive/index for all those bookmarked posts. What I've done so far is: created a menu link that is displayed if user ...
1
vote
0answers
41 views

Home page randomly redirects to another page [closed]

I have a blog, hosted on my own domain which has been working fine for awhile now (almost two years now). I was creating a new page as an register page for adding members. This is done through ...
1
vote
1answer
20 views

category permalinks

i am quite confused about the permalink stuff. So here is whats up... I have a page called tours as well as custom post type called mc_tours. At first i just changed page permalink to ...