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

learn more… | top users | synonyms (1)

0
votes
0answers
19 views

why only admin or visitor can see a custom page? [on hold]

i test all role , when i login and try to load a page , i get not found page ! my pages work correctly when sign out or login with admin role . what is the problem ?
0
votes
0answers
9 views

Wordpress - 404 When creating Post/Page

I'm using the most recent version of WordPress and have encountered an issue that I've never seen before. Basically, when I try to publish a Page or a Post, WordPress directs me to a 404 page rather ...
0
votes
1answer
21 views

Display all posts/pages in a multiple selectbox

So I'm looking for a way to show all posts/pages inside a multiple selectbox, which is used to select and store which page/posts has been checked in order to display some text on that page(custom ...
0
votes
0answers
10 views

Is it possible to create an empty page template and build it choosing between custom components?

I'm quite new to WordPress development and i didn't find much online about this topic (maybe i'm not searching with the right WordPress terminology). I'd like to know if it's possible to have an ...
0
votes
0answers
20 views

Individual page data in one page template

So I am trying to create a one page template but still allow the user to add separate pages in the admin panel. What I did to output all the pages in one template file is as followed: <?php ...
0
votes
1answer
18 views

How to Change the path of a child page?

I am displaying the list of child pages of the current page. but at one child page i want to give a path to pdf. how can it be possible? Please help. Here is my code: $args = array( ...
0
votes
0answers
15 views

Why does `url_to_postid` return 0 when testing `page_for_posts` Page?

If I set Reading Settings > Posts Page (in other words, the page_for_posts option) to a static page, and then attempt to pass its URL through url_to_postid() it will return 0 - why is it? I ...
0
votes
0answers
13 views

Access pages depending on user gender [closed]

How we can open page in wordpress depend on GENDER? for example if the user is MALE he can only open specific pages then if the user is FEMALE she can only open another specific pages. is there any ...
0
votes
2answers
39 views

How to set up php,javascript and css to allow for our finished product to be displayed within a page?

hey wordpress experts, We have coded a table using php, javascript and css which pulls up information from a text file and displays it in the browser. We have everything working as desired when we ...
0
votes
2answers
41 views

Custom page in archive page for certain category

In my archive page I want a certain category not to display. The rest of the code I'm adding, but it goes to a custom page The logic is like, if is category=33, then include photo.php <div ...
0
votes
1answer
12 views

Firing page_publish where page is child page

I'm having difficulty getting a function to fire when publishing a new page. I'd like it to fire when a new page is being published or edited but ONLY when that page has a parent. Here's what I've ...
0
votes
0answers
16 views

How custom Wordpress Page Builders work?

I wonder how custom page builders work. I want to create page builder in my theme's control panel. Currently i created simple system which creates Page Templates with generated HTML for each layout ...
0
votes
1answer
24 views

Echo page path suffix only - not the title, path or permalink

Is it possible to echo a page path suffix only? ie: if the path/permalink is example.com/about, echo just "about"? My page paths are different than my page titles (ie: page title for ...
0
votes
3answers
37 views

Creating a dashboard menu page similar to the “Pages” page

I'm looking to create a group of static pages for a "staff" category, and then have a separate menu option for them in the dashboard, similar to the "pages" option that already exists. What I'm ...
0
votes
2answers
27 views

Why in the static pages of my theme are showing these information?

I am working on a WordPress theme and I have some problem with the pages\posts layout. For example if you go here: http://lnx.asper-eritrea.com/lassociazione/ This is a static page that show some ...
0
votes
1answer
15 views

Can I divide the pages into categories?

I wanto know if I can divide the pages into categories? Going into the Wp administration panel I can see that I can create some categories for the posts but it seems to me that I can't do it for the ...
0
votes
1answer
22 views

WordPress Search

I'm trying to write a search feature on a website of mine, and it seems like it's not pulling in any of the pages, only posts. Below is the code. Search Form: <form role="search" ...
0
votes
0answers
29 views

Get Page content to displayin Bootstrap Modal

Ok I'm a relative novice here, and after looking around I still haven't found the answer to my problem. I'm basically trying to link a Bootstrap Modal to some text in a footer (widget), the content of ...
0
votes
0answers
23 views

How to open particular featured image clicking on desired post using javascript in wordpress?

I have created a custom post type "gallery" and created seven post in it. Since I am using dynamic featured image plugin of wordpress so I assigned two featured images to each post. Then I ...
0
votes
1answer
44 views

How to display list of child pages of parent page in wordpress?

I have following format of menu. Treatment -Beauty --Services --Products -Surgery -washing I have followed follwed following link: How to Display a List of Child Pages For a Parent Page in ...
2
votes
1answer
23 views

Creating a menu page in a Object Oriented developed plugin

I am trying for the first time to build a plugin for Wordpress following OOP way. I am having some problems while trying to create a submenu page using add_users_page() function. Here is a simple ...
0
votes
1answer
16 views

Annoying notification when trying to create a new page

Whenever I try tomake a new page, I get an annoying block asking me so upgrade some plugin of some sort. Is there a way to get rid of this extremely annoying notification?
0
votes
0answers
40 views

Page stuttering on load

My theme is using nprogress.js and scrollreveal.js. When you click to a new page in the website the page shows for a split second before fading in. Its as if the page is loading ahead of my scripts, ...
0
votes
0answers
20 views

Include Entire Custom Page Template On Another Page

I am trying to create a "one page slider" where I am creating a custom page template to display multiple pages that I specify. (yes I know there are themes for this- I want to customize it myself) I ...
0
votes
1answer
9 views

more tag in the $post->content when get_pages were used

I used get_pages() to get the content of the child pages of a page. Although the excerpt can also be an answer but is there any other way to display the contents of the page before the more tag when I ...
1
vote
0answers
16 views

Wordpress is suppressing page extensions!

I've built 2 sites on Wordpress. In both of them, I did two things: Created a slug for each page. In Settings > Permalink Settings, I chose "Custom Structure", and entered /%postname%.php In one ...
0
votes
1answer
26 views

Multiple pages to show posts

I don't have any code or pages to show yet so I'll just have to describe my question. I have group of posts, no categories or taxnomoy yet. On my home page I have a 'View all posts' link that is ...
0
votes
1answer
14 views

Why does the default Insert/edit link function in Visual mode in posts or pages produce full urls?

Situation: I'm using the default description field on a page in visual mode. I'm trying to link the words "news page" to the my news page. I pick the News page from the content list that is offered to ...
0
votes
1answer
28 views

Custom SINGLE page with custom metaboxes and custom template

I run in this situation where I must create complex contacts page with custom template, custom meta boxes. I know how to make custom post type, add meta boxes and display all information in custom ...
0
votes
0answers
14 views

Ask for template when adding a new page

I would ask the admin which template they would like to user when they click on "Add New" Page. Is this possible? I think I have seen something similar before where it ask you how many columns you ...
0
votes
2answers
39 views

Static posts page with home.php

For my website, I am using a static home page page Home (template front-page.php) and for posts- page News (template home.php) I need to show all the post titles and exceprts on that page News ...
0
votes
0answers
40 views

Conditional tag to check if 'page.php' is being used?

I'm trying to check whether the page.php template is being used or not. I've tried is_page_template( 'page.php' ) but it doesn't work. I also can't use is_page() because I only want to do something ...
0
votes
2answers
24 views

How do we exclude multiple pages (like opposite of is_page)

Scenario I have a following customized format for the website with Woocommerce. <?php if(is_shop()) {?> There are certain css styles, JS options used for this particular page <?php } ...
0
votes
1answer
44 views

How to finish this loop?

I had already asked a question of how to get only get the child pages of a parent page that belonged to a certain taxonomy. A very helpful user gave me the answer to this, however, I was not provided ...
0
votes
1answer
15 views

Remove number in URL

I'm trying to use WordPress to make a web page. I made a "Contact" page, but for some reason it didn't show up. WordPress kept saying it couldn't find it. So I deleted it and made a new one called the ...
0
votes
1answer
112 views

Why does enabling Permalinks make pages not found?

I'm new to Wordpress and am creating a site using v3.9.1 of WordPress. When I create a new page, I can see it in edit mode, but the URL it is supposedly creating is not found when permalinks is used, ...
0
votes
1answer
21 views

Display an authors post on a single page only when they are logged in

I am having trouble finding a solution or the correct tutorial on how to get this done, I have been looking for weeks and still no outcome. What I am trying to accomplish is display all post on the ...
0
votes
0answers
34 views

Set Session Time Limit for Password Protected Posts

I have made a series of posts and pages password protected on my website using the built-in Visibility setting. They all use the same password, so the user can view all of them after entering the ...
0
votes
1answer
44 views

Setting a homepage - doesn't seem to work

have a page (home) that runs a template page-home.php that I can access at mydomin.com/home. I am wanting to have this as my static homepage page, so accessible at mydomain.com/ however I cannot seem ...
0
votes
1answer
26 views

I can't add more pages to menu - menu delete pages

Two days ago I decided to add three more pages to the menu on my site. I already had like 140 pages in the menu, so this is something I know how to do. But I hadn't done it in some months, so maybe ...
0
votes
2answers
38 views

Add a static page that links to homepage

My home page is a dynamic page and on my navbar I have different static pages I want to add one to link to the homepage as if I clicked the logo.
0
votes
1answer
13 views

Previewing Draft shows white page, publishing works fine?

I haven't run into this issue before. On my site, if I create a draft of a page and I save the draft and preview it, I get a blank white screen. However, if I publish that page, it shows up just ...
0
votes
2answers
130 views

Pagination not working on Custom Page Template

I searched a lot on this but I can't figure out why my code is not working. I published a page with slug "blog" that uses a custom built template "page-blog.php" that I build from editing the ...
0
votes
0answers
15 views

Custom pages on all multisite network, to NOT show in wp-admin at all

I have a Wordpress Multisite that I would like to create additional pages for all of the sites in my network. These pages will not show up in the list of pages that are editable by the site admin in ...
0
votes
1answer
31 views

How To List Sibling Pages And Include The Featured Image?

I recently came across this cool tutorial on listing sibling pages. Below is the suggested code: <?php //GET CHILD PAGES IF THERE ARE ANY $children = get_pages('child_of='.$post->ID); ...
0
votes
1answer
19 views

Specify parent page template

I don't want to define a template from admin because I have lot of page and so if I change it I might forget my selected template. So I want make that template in page. Here is my page structure ...
0
votes
1answer
18 views

Is it possible to make one of two custom fields in Custom Post Type UI Required but not the other?

I'm new to wordpress and I'm trying to make a field that either links to a page internally via a dropdown OR a text area for a URL. Obviously I don't want the button to have two destinations so I'd ...
0
votes
1answer
21 views

How to tell which Plugin is displaying?

I'm editing a Wordpress website for a client that was written by someone else. I'm noticing that a video and button are displayed on the home page. I used the Reveal-Template plugin to figure out ...
0
votes
0answers
21 views

How to include and handle more or less static text blocks/columns in a template

I have a front-page.php template, which contains dynamic content pulled from custom post types (like dates and quotes) but also more or less static text blocks in several sections alongside. The text ...
1
vote
1answer
29 views

Backend option to include a javascript file on specific pages?

I am working on a template that my coworkers will be using to populate content. On some of the pages there will be a slider or multiple sliders but on other pages there won't be any. Because of this, ...