Questions tagged [pages]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

How to transform a custom made static HTML website to a WordPress website [closed]

I have an assignment from a customer to transform a custom made static HTML website to a WordPress website. First I thought "That's easy, just make a theme & import it all there & link it ...
0
votes
0answers
7 views

What plugin can i use to manage users authorizations in a site with elementor [closed]

I have a site with multiple countries and every country is managed by one/two person, i want to prevent that the people from a specific country could edit a content in another country. I have tried to ...
0
votes
0answers
28 views

Want to change the "project" name in the url

I created a specific page named "projets" (in French) and put all the projects inside (I'm using Divi). Now I have two pages : one is the right one using the right url "projets" ...
0
votes
1answer
53 views

Are custom shapes of blocks available in WordPress?

I am using WordPress editor to make a page on my website. On the main page of my website, I want to keep pointers to at least ten other pages. I can see only some types of blocks in word press such as ...
0
votes
0answers
14 views

Revert a Draft page to its original version

I recently went into my Main Page to make some changes, and my inexperience with the new block mode caused me to mess it up. However, I had saved the messed-up version as a Draft. Now, I want to get ...
0
votes
1answer
26 views

How to use custom page for all posts with custom url, call another directory?

I have tried many different codes: <a href="<?php echo get_template_part( 'template/test/post' ); ?>"> Test 1</a> <a href="<?php echo ...
0
votes
0answers
23 views

Can i use 2 page content-forum & content-forum-slug on bbpress?

I currently have a bbpress folder in my theme which contains all the theme of my forum. I have a page archive-forum.php which displays the forum page and a page content-single-forum.php which displays ...
0
votes
2answers
22 views

How to redirect to category page if page does not exists?

In my current case, the system try to find a page and show 404 if it does not find. I would like with the same url... like https://example.com/{{slug}}/ Check if a page with this slug exists : Yes - ...
0
votes
0answers
14 views

wp_instert_post() and Gutenberg update error

I have made page with function wp_insert_post(), $page_id = wp_insert_post(array( 'post_title' => 'Name', 'post_status' => 'publish', 'post_author'...
0
votes
1answer
20 views

Page category filter in admin dashboard

I created page category by this way ( or custom taxonomy with the help of ACF Extended Plugin). It works. Now I can add pages into category. My problem is that, I can not filter pages by category in ...
0
votes
0answers
9 views

Link to blog home page in category list

This is a follow up to Exclude a category from the filed under list only on some templates I'm curious now how I would insert a link in the list of categories to add a link to the blog home page? In ...
1
vote
0answers
18 views

Text Editor Tags

Hello Wordpress StackExchange, I'm embarrassed by what is probably a rookie question, but here it is: I migrated and took over a website that a friend hired another developer to create, but I don't ...
1
vote
0answers
29 views

Make parts of your wordpress website completely built with data from external APIs?

I have experience with building frontends with react.js that use external data from RESTful APIs (from a headless CMS). Now I have someone ask me if I could build a wordpress website that has several ...
0
votes
1answer
38 views

What is the text that appears beside the page titles in the list of pages in the WP admin?

Refer to the image below: What is the term used to describe the text that appears right after the page titles on the "All Pages" webpage of the WP admin? e.g. In the image above: an em dash ...
1
vote
0answers
11 views

Missing Pages (Drafts?)

When I go to "All Pages" it tells me: All (29) | Published (24) | Bin (1) but when I click on All it only shows me the 24 published pages, not the 29 pages it thinks are there (which I ...
1
vote
1answer
50 views

Simulating a wp page - wp page load sequence

I'm toying with a honeypot to catch form spammers. I've hidden a link to a non-existent page in the footer. What I'm attempting to do now is, when they visit that link, to display a form that looks ...
0
votes
1answer
37 views

Is there a way to know when a page has been updated and do some action only once?

Have few pages in wordpress cms. Whenever any page is published or updated, there is need to do some action (basically call an API to update some data in another backend service). For publish, I am ...
0
votes
1answer
30 views

Make Audio Element Persistent Across Pages

I'm making a radio site and as part of that there's a listen live element which uses an audio plugin. When the user clicks on a navigation item to bring them to a new page the audio stops (...
0
votes
1answer
35 views

Template field missing in page attributes

Hi I ma trying to assign a template to a Wordpress them. There is no such option as per attachment??Changing the theme does not help...Thanks for the help
2
votes
2answers
217 views

How can I see a list of pages and post where my custom Gutenberg block is used?

Background: Creating Custom Gutenberg Blocks and the Challenges with Breaking Changes I am new to creating custom Gutenberg blocks (each block is a separate plugin) and have recently ran into the ...
0
votes
0answers
21 views

Normal page as child of custom post type

I have a website with the custom post type school. I also have normal pages called Presentation, Team and Teachers. What I would like to do is set the pages as children of the custom post type school: ...
0
votes
1answer
27 views

Add prefix to url, but products not showing in page SHOP

I have managed to add a prefix in the url of my site, now my site allows entering the Shop page with these two urls: misitio.com/tienda and with the prefix: misitio.com/us/tienda When I enter with the ...
0
votes
2answers
28 views

How do you search for a post or page with a certain url on the Wordpress admin panel?

How do you search for a post or page with a certain url on the Wordpress admin panel? I have a page with the url www.tomatoes.com/promotions, but I can't find it by entering it in the search field of ...
0
votes
1answer
16 views

When will body has class "page-id-0"

In my other project, I've been relying on checking body's class to find out what page the current webpage is using. However on this page http://seminary.fbny.org/register/ the body has a class page-id-...
1
vote
1answer
53 views

load common thank you template with different content for different pages

i have created a template called thank-you.php and inside that i want to show different content as per the parent url. for e.g. mywebsite.com/page/thank-you and mywebsite.com/another-page/thank-you. ...
0
votes
0answers
15 views

Show Pages for all Category Links but not for Childless Categories

i can rewrite Category base in Permalink Settings or use function wpa_alter_cat_links( $termlink, $term, $taxonomy ){ if( 'category' == $taxonomy && 0 == $term->parent ){ return ...
0
votes
0answers
14 views

Link Parent Category to Pages and last child category to category.php

I am trying to implement Silo Structure to my Page. I got usually 3 categories added to a post and I have set the permalinks to /%category%/%postname%/ I removed the /category/ base with "."...
0
votes
1answer
21 views

How to highlight 1st level menu item based on actual page

I am trying to highlight 1st level menu item by adding 'current-menu-item' class using nav_menu_css_class filter based on actual page / article / post / etc. For example, menu looks like this: ...
0
votes
0answers
21 views

Custom Post Type loop including pages

I created a loop for my Custom Post Type event. I would like also to include in this loop some extra pages by ID for example. Is it possible to do it? The code for my loop: <?php ...
-1
votes
1answer
25 views

When and how will php code in a user made Wordpress page be executed?

What I have understood about what's happening when a web page in a Wordpress built web site is loaded is that Wordpress determines which post (page) and which template for that page to load. It then ...
0
votes
2answers
23 views

How to hide a page in wordpress made for menu

I'm trying to completely disable access to my parents page menu. For example, I have a menu made like this : parent page -> child page 1 -> child page 2 I made a real page for 'parent page' ...
0
votes
0answers
13 views

How to change custom paginated URLs using PHP code

See our website has pagination URls like below https://www.xxxxxxxx.com/xxxxxxxx/yyyy/zzz/?xx_xxx_page=2 https://www.xxxxxxxx.com/xxxxxxxx/yyyy/zzz/?xx_xxx_page=3 https://www.xxxxxxxx.com/xxxxxxxx/...
0
votes
1answer
16 views

How can I check if a post with a particular slug or title exists?

I want to know if a particular page exists. I'd like to check against either it's slug or it's title. There is a function called 'post_exists'. But this function seems to only work if it's invoked in ...
0
votes
2answers
39 views

Add a searchbox to the body of a page

I'm creating a website in which I need that, when I click on one of the tabs of the specific menu, and it opens, this page contains a search box in its body. My question is how can I add this search ...
1
vote
0answers
35 views

Why is my page feed returning empty content?

I am trying to debug why my page feed with is returning empty. Here's the URL for same, http://localhost/design-patterns/code-improvement/feed/ I'm seeing the following output here, <?xml version=...
0
votes
0answers
34 views

How can I show ACF repeater first row and column post object only as a dropdown list upon select

I have created a repeater field using ACF and inside two post-object field where post type only pages and (parent page) First one multiple select None (sub page) Second one multiple select yes I ...
0
votes
0answers
31 views

register_rest_field only for specific page

I am using register_rest_field to send an additional field to the page endpoint but it is sending it to every page. I only want it on a specific page but don't know how to pass the page id to the ...
1
vote
1answer
28 views

Dash after page title

In the "Pages" section of the WordPress admin panel, after some of the page titles, I see these long dashes and a note(s) of some kind: "Privacy Policy Page", "Front Page, ...
0
votes
0answers
15 views

Not Found The requested URL was not found on this server. wordpress issue while editing or creating a new page

I'm having an issue: My website was working just fine and then suddenly something happened. I'm no longer able to edit the pages nor the post or everything I had. Even if I did the edit it did shows ...
0
votes
0answers
16 views

How to "replicate" the customiser widget editor?

I have a rather unusual set up where pages are assigned unique widget areas. What I would like to do is have a widget editor in the page editor sidebar like the one on the customizer. Where in the ...
0
votes
1answer
17 views

Disable ADD PDF media button on rich text editor

I'm looking for a way to completely disable "add pdf" media button on text editor but not with css tricks. Is it a hook to add on function.php for doing this? Also a need to keep add media ...
0
votes
0answers
19 views

Update Pages ONLY from Stage to Live (not products)

I have a WordPress site that has a bunch of posts, a bunch of pages and a bunch of products (Woocommerce ones). I Staged the site and made loads of changes to the pages on stage, meanwhile the live ...
0
votes
0answers
33 views

How to upload a csv file in wordpress website, processing with a python script and download at wordpress website?

My question includes 3 parts 1)upload a csv file in wordpress website How can I upload a csv file into Wordpress? 2)processing with a python script Run Python Script on WordPress Website 3)download at ...
0
votes
0answers
9 views

Completely hide page from wordpress dashboard

I develop a plugin which create its pages: login, form, admin area. Creating pages done, these pages are available under Pages and Appearance/Menus. I would like to hide for example admin page ...
0
votes
0answers
20 views

Make page route accessible in subfolder URL

Is it possible in WordPress to have a custom subfolder URL for a specific page without creating a parent page? For example: I want to create a page called pizza and make it accesible from https://...
0
votes
1answer
23 views

create pages automatically and dynamically in wordPress

Is there an easy way to create pages automatically and dynamically in wordPress? Let me explain further: I am developing a website where I have more than 20 equal pages, with the same layout, where ...
2
votes
1answer
18 views

What type of page should i use? static page or category page? and what's the difference? [closed]

I’m a new WordPress user and i’m very confused about my how the structure of my website should be. I’m creating a language learning website and i started with the static pages (Home, about, etc.) Then ...
0
votes
0answers
19 views

Auto Suggest/ Autocomplete to Select Option Dropdown

I made a Select Input field where users choose the page they want to go, press GO and get to that page. But as I have 20 Pages, a dropdown is not enough. So I would like add a Autosuggest function to ...
1
vote
1answer
90 views

List all private pages user has access rights to read

I am trying to list all private pages that user has access to read. To explain in more details, below is the initial setup: Each user has a specific role created and assigned only ability to read ...
0
votes
1answer
17 views

Tags on page (not post) returns nothing - why? Improved clarified question!

Problem: I'm trying to echo tags to list items but only manage to echo the "else statement". Since this is about tags for pages I have added support for pages to show tags in functions.php: ...

1
2 3 4 5
49