All Questions

Filter by
Sorted by
Tagged with
-1
votes
1answer
31 views

Page-parent field not appearing in editor [closed]

The drop-down of page parents doesn't appear in some sites as of upgrading to WordPress 5.0.+
0
votes
3answers
31 views

Detecting if I'm on a single, non-post, non-homepage page?

I'm trying to see if I am on a single page, this page is defined by: Is not the homepage for sure. Doesn't have any posts for sure. Here's my code: <?php if ( !is_home() && !have_posts() ...
0
votes
2answers
29 views

How can I switch pages?

I have website for local restaurant and for menu there are separate pages (ex: salads, soups etc). Right now the second restaurant was opened and it has a separate menu. What I want to do is to ...
7
votes
4answers
26k 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 ...
1
vote
1answer
4k views

Missing parent page attribute

Suddenly the parent page attribute is missing on the page edit view. I'm using Wordpress 3.9.1 and the newest Avada theme. The parent attribute has worked. Now it is not shown as page attribute. I've ...
0
votes
0answers
121 views

How to exclude page in pages module

Site has page with url http://example.com/mywpsite/mypage Pinboard theme is used. Pages module shows this in left sidebar. How to remove it from this? Pages module setting contain field excluded ...
0
votes
3answers
181 views

list child-pages as normal pages?

wp_list_pages('title_li=&depth=&exclude='); lists all pages of my site. If there are childpages of a certain page the output looks like this: <li class="page_item page-item-2"> &...