Questions tagged [pages]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Homemade global template, advice?

For the theme I’m using there is a hook for an area just above the footer section and here I would like to output different ”banner sections” that are ”prepared globally”. So for each ”banner section”...
0
votes
1answer
67 views

How to include a query_vars value in document_title_parts?

I have a page template, used on a single page, which takes URL string parameters like this... http://www.example.com/mypage?tags=Publishing Facilitated like this... // Inherit the meta target ...
0
votes
0answers
15 views

There is how to change url domain on some posts?

There is how to change the URL on some posts? Like, for example, my website is www.mydomain.com, on posts it's like www.mydomain.com/post now can i change some posts to a url like www.myotherdomain....
0
votes
2answers
28 views

Why my home page doesnt work?

I migrated my website from one hosting to another by importing the DB and reinstalling the old exported DB on the new hosting. I have also re-installed the wordpress template. The result is the ...
-1
votes
1answer
36 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
0answers
125 views

How to extend gutenberg page attributes?

How can I add an extra option under page attributes in Gutenberg editor? I would like to have a radio to show, hide page title
0
votes
1answer
15 views

Displaying posts inside table having issues

I am trying to create a comparsion table like the attached image. But it was not working like in the image. for that i have done following code what i am getting is not like the image for example the ...
0
votes
1answer
12 views

Update Same Contents on every Page

I have same Table on 10 different pages. Table is basically of prices and rates. I have to update it every once a day or week. The problem is I have to update it opening every page. yes I do copy ...
0
votes
0answers
5 views

Link URL jumps/skipps to a different slug

For some reason the page I´ve set navigation to lead to skipps and fint a similar slug to visit. i.e. Linked page url: mysite.no/rc2019/workshops on click it "skips" and loads mysite.no/rc2018/...
0
votes
0answers
7 views

The summaries of my blog posts on my blog page are taking me to my static home page. Why?

I have a Wordpress site. It has a static home page to inform visitors abut the site and the blog. My posts are on a different page. On the blog/posts page, whenever a visitor clicks the summary of a ...
0
votes
2answers
56 views

Deleted Wordpress page appears in Google Search Results

I created a page (https://padigital.org/rights/) to test something, then deleted it. It still appears in Google searches. However, it no longer appears in the Admin Dashboard, so I'm unable to delete/...
0
votes
1answer
264 views

the_content(); of custom post type treated as an array or object

I created a custom post type in the mu-plugins folder. function wpdocs_codex_book_init() { $labels = array( 'name' => _x( 'Books', 'Post type general name', '...
0
votes
0answers
28 views

Display all tags even if they are not assigned to a post

Tags will not display if they are not assigned to a post/page. Is there a function that will allow a tag to be displayed when it is not assigned to a post or page? example: If you click on the "...
0
votes
1answer
17 views

makeing a terms of use page that is part of the theme

I need to make a "terms of use" page. The only way I see to do so involves the user needing to manually add a page in the admin. But I need to implement it as an integral part of the theme. Is ...
0
votes
0answers
46 views

Password protect multiple pages

Is it possible to have the "password protected page" feature of WordPress apply to more than one page? I have multiple pages I wish to protect with the same password, but I don't want people to keep ...
0
votes
0answers
9 views

Display/Print list of filtered pages from Dashboard in Wordpress?

Our wordpress website has over 250 live pages at any given time. In the admin panel/ dashboard, we have over 1000 pages. Many are not even being used. I would like to create a PDF report of all "...
0
votes
1answer
23 views

Create multiple custom HTML pages

I need to make a few unique "landing" pages each with unique designs. They will each be one off. I am looking for a way to organise these pages. What I used to do is have a subfolder in the theme ...
0
votes
1answer
46 views

WordPress redirects to login page when I enter url.com/index.php

WordPress redirects to login page when I enter url.com/index.php or just http://url.com. When I enter with https the opens normally. Please help.
0
votes
0answers
27 views

How to add a block to a category page?

I've got my wordpress site set up to show various menu pages that will feature the content of a category page. I'm curious, is there any way to add a block to the category page? I have a filter that ...
0
votes
0answers
28 views

make a POST public and visible for everyone on a PRIVATE WordPress website

I have a privated my wordpress website. so you need to put the username and password to see the pages and posts of the site. I need to make a post called "Legal Notice" as a public post visible by ...
0
votes
0answers
9 views

Can't get rid of Blog Sidebar on homepage — HELP!

I'm brand new to Wordpress and already ran into a frustrating issue. I set my page to a static page (I'm building a page for a business, not building a blog) and would really like it to display as ...
0
votes
0answers
12 views

How to create learning section in wordpress?

I want to create Left side Table of content for pages. If we click the pages right content will be display which is done by with help https://wordpress.org/plugins/sgr-nextpage-titles/ wordpress ...
2
votes
2answers
588 views

Hide add new page button

I want to hide the add new page button from users that are not administrators. I managed to hide the submenu item from the right column like this: $page = remove_submenu_page( 'edit.php?post_type=...
0
votes
1answer
197 views

Show posts from custom post type sorted by category/taxonomy on a one-pager/page

I'm working on a one-pager wp site for a festival (page: Home). This festival has 4 stages. I created a custom post type "artists" with custom taxonomy "stages" and entered the 4 names of the stages. ...
0
votes
1answer
28 views

Redirect From Url To Url

I want to redirect the same directory, but different url structure. The url structure I use: http:example.com/car/cadillac/image/2 I want to direct http: example.com/car/cadillac/image/ url. Because ...
2
votes
1answer
52 views

How to change the permalink structure of a master page?

Links on the page I use are progressing as follows: http://example.com/image/1 The code I use for Functions.php add_action( 'init', 'wpse316713_pagination_base_rewrite_rule' ); function ...
0
votes
0answers
13 views

Groups plugin: Specific users can edit specific pages

How I can allow only specific users to edit specific pages? With code or the Groups plugin (by itthinx), Im not allowed to use another plugin. Is that possible? I ended up to this solution: ...
0
votes
0answers
28 views

Custom archive paged head title

My website is in hebrew and when im in a paged archive the title is "archive title" page 2 of 4. How can i add the title only in archives that are in a page 2 or higher? I am using Yoast SEO. And its ...
0
votes
0answers
22 views

How to lock a page wordpress with ads?

i would like to know if there is a method to lock a wordpress page with ads. I explain better, i would like to lock some content but at the same time to let my users read my content only after they ...
0
votes
0answers
29 views

How to filter a page title with custom taxonomies

I'm trying to hook a page title using is_page() and its ID 1637 along with two taxonomies serie and area. But I can't get it to work. am I missing something code: add_filter( 'wp_title', '...
0
votes
0answers
27 views

Custom post types & Pages hierarchy - Error 404

I've defined two custom post types: Theme Fiche I've also 7 pages using a defined rubrique template: (template-rubrique.php) Both my Theme and Fiche have an ACF post-object field. The Theme ACF ...
-1
votes
1answer
319 views

custom post type single page template not working

I created a page portfolio and select template Portfolio Template My portfolio page does not access the template-portfolio.php file. In which also includes content-portfolio.php in template parts ...
0
votes
2answers
51 views

Static Page with php echo [duplicate]

I build a static page in my WordPress root folder. Now I'm trying to include a list of my categories with echo clpr_categories_list();. Its not working because I some how have to tell the static page ...
0
votes
1answer
94 views

Wordpress 302 Redirect to Random Product/Post/Page

I'm trying to add the ability to redirect a user to a random product/page/post url similar to example.com/page/random which would redirect to example.com/page/oneofmany. This question is not ...
1
vote
4answers
39 views

How can the plugin directory path be returned into <script> </script>?

How can the plugin directory path be returned into <script> </script> instead of hard coding the path? Here is the custom-page.php: <?php get_header(); ?> <script type="text/...
0
votes
1answer
35 views

How can a .css file be applied to a virtual page?

If creating a virtual page while keeping the theme intact using the following plugin wp-virtual-page-tutorial, how can a .css file be applied to this virtual page? How can this be done using an if-...
0
votes
2answers
30 views

WordPress blog posts template bug [closed]

I'm facing an issue I've never seen before. I fully copied a WP website to my localhost machine and everything was looking fine. When I was trying to make some changes on the blog page template (that ...
0
votes
1answer
10 views

how to put post customized in page

can someone help me please? for example i decide to open web about cooking one of my pages is about posts of how to cook.... the post is full details,but i wanna put only one picture of it (just like ...
0
votes
1answer
19 views

post and page and custom post type

I have been struggling with this, please correct me if I am wrong Posts are used for time sensitive information - like blog posts Pages are used for non transitive information - like about us and ...
0
votes
1answer
30 views

List of pages of a specific user

How to get list of pages of a specific user? And show them in a WordPress page. Say i have page1 , page2 , page3 , page4 created by User1 . How to list them in a page like this: page1 created: 1/1/...
3
votes
1answer
59 views

Why do I need to use The Loop on pages (inside page.php etc)?

This question is addition to the following question. The answers to the linked question say that you have to write THE LOOP inside each php template file, but what is still open is WHY? why is it ...
2
votes
1answer
222 views

How to create a Page alias in WordPress

In the image you see... WordPress has alias for Pages like Home Page, Checkout Page, Privacy Policy Page and any appear beside the page you assign them. How to create this feature in WordPress? If I ...
0
votes
2answers
28 views

Can I link to content dynamically from a page to a new page?

I am new to Wordpress dev, and I have a page that loops through some custom fields(repeater) of people. I'd like each subfield link to go to another page that has more info from that person on the ...
0
votes
1answer
22 views

Display different pages based on form entry

In addition to 3 public pages, my site has 20 private pages, each of which are built for an individual customer. I want a user to be able to come to a public page, enter a customer code, and display ...
0
votes
2answers
314 views

ACF: Echo page title when checkbox is checked

How can I show the title when a checkbox is checked. I use Advanced custom fields my field name is nav This is what i currently have. <?php if(get_field('nav')) { ?> <li> <a href=...
0
votes
2answers
57 views

How to echo every parent page title?

I have like 5 parent pages and would like to echo all their title's on the front page.php. Maybe with get_the_id(); but don't know how.
0
votes
0answers
21 views

Not allow add New Page for role 'editor'

Sorry for my English first. What I want to achive is, that it is possible to change existing posts and not possible to add New Posts for the user role "Editor". Is it possible with wp caps or do I ...
0
votes
1answer
17 views

wordpress custom posts page not showing

In Wordpress I created 2 templates : The first template is a custom homepage The second template is custom page for for post results(search by category, search by keywords) After that I specified ...
0
votes
1answer
29 views

If page or sub page not working as expected

I would like to display a specific dynamic sidebar the the "about" page and its children. From the codex, I have tried the following: <?php // Begin main loop if ( have_posts() ): while ( ...
1
vote
2answers
521 views

Getting a 404 error when clicking edit page

The problem I've run into is the WordPress for my website yesterday randomly stopped allowing us to edit any of the pages. Every time you click to edit a page it comes up with a 404 error. Things I ...