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

learn more… | top users | synonyms (1)

0
votes
1answer
22 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
51 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
41 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
40 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
26 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
26 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
10 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
17 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
56 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
18 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
71 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
28 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
33 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
141 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(...
1
vote
1answer
96 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
25 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
22 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
83 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
31 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
34 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
21 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 doamin.com/...
1
vote
3answers
85 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
45 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 ...
12
votes
1answer
2k 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
120 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
60 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
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
42 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 mydomain/...
1
vote
0answers
15 views

Iframe being removed only for some users when publishing a page

I have multi site wordpress installation. Recently I had a user complaining about not being able to add frames to a page. When I did it it just worked. This user is administrator on this page. Is ...
0
votes
0answers
64 views

Adding Pagination to a Custom Wordpress Page Template

I have been playing around with the Resi theme, trying to see if I can add pagination with a few tutorials I have seen online. To date I have only been able to get the pagination to load, with the ...
4
votes
2answers
197 views

What is an alternative to get_page_by_title()?

I'm coding a theme where I want to display information in the footer that's only available on a template page. I have been using get_page_by_title() which works well if you know what the page will be ...
0
votes
1answer
9 views

Access link page and not folder content of that link

I have a problem with some pages on my site. For example: when i access page called staff from www.example.com/staff it redirects me to folder staff from the root of the site where i have some images ...
0
votes
3answers
200 views

How to load JS and CSS only on specific Pages using is_page()?

I am building my first WP plugin, it should load some JS and CSS files only on specific pages selected through a form available in the plugin Admin area. Once selected in the form, Page Title gets ...
0
votes
1answer
47 views

Dynamic page with comments

I am aware that it is possible to write a page template with custom PHP code to generate dynamic content. For example, the page can take in a query parameter e.g. musician ID. It then uses custom ...
0
votes
2answers
29 views

Create page as a file in my theme?

Is it possible to create a single page by just adding a php file inside my theme and add header and footer to it? Yes, I know, this page will not be able to administrate through WP Admin. I have ...
0
votes
0answers
22 views

How would I create custom pages???

I'm a beginner at wordpress themes... and I used http://www.themplio.com/themes/creative-studios/preview to turn it into a wordpress theme for my selfstudy... the picture above is the result after ...
0
votes
0answers
21 views

Editing specific text on Custom Page Template

I'm a Wordpress beginner and made my first personal theme from a static html website. Currently I'm trying to edit specific text on for example the homepage. I did manage to changing background color ...
0
votes
0answers
60 views

Dynamic page loads in browser, returns 404 to curl and GWT

I have created a dynamic page that displays content based on the US state name taken from the URL. I created the page in WP with a title of "CDL Manual PDF" and it has the URL http://dev.cdlmanuals....
6
votes
3answers
279 views

Access the same page from multiple urls (wildcard)

I want to serve a specific Wordpress page for multiple urls. Basically I want to point all the urls in a specific format to a known page: /some-prefix-* => /target-page And accessing /some-...