Questions tagged [pages]

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

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

Forbid certain users to access a specific page

I want to build a blog where every user is allowed to post something (only text) after a successful registration. However, a user should only access other contributions from users who have uploaded at ...
0
votes
0answers
51 views

Pages not displaying as sections on static page

I'm currently working on the Twenty-Nineteen theme. I'm trying to make each "page" display as a section on my homepage. This has worked in previous themes (i.e. Twenty Seventeen), however I'm clearly ...
0
votes
0answers
29 views

How to filter page title for certain page?

I have saved in DB in options an ID of certain page. I wanna use that ID to filter corresponding page title and add a postfix in pages overview as follow. So for example to add postfix "- My Chosen ...
-1
votes
1answer
14 views

one time visit to the page

I want to set up a page with PayPal subscription gate away to my members area. It's a simple page with PayPal button which offer discounted subscription price for the chosen customers only. ...
0
votes
1answer
23 views

How to code custom special page

I'm looking for how to code custom "special" page as use many plugins. An idea is that I have in theme links to the custom special page. Then admin can chose which of his pages is the one "special" ...
0
votes
0answers
11 views

Preview is not working with the CUSTOM POTS. WHY?

Question is very simple i searched but i didn't find a sol that solve my problem. So problem is when i preview a Custom POST after doing some changes in wordpress, it didn't show the changes unless ...
0
votes
0answers
30 views

Can I use the wordpress loop in pages?

I'm making my first Wordpress theme and I've faced an issue lately. I have a template file page-event.php. I intend to use it to answer the /events path (I have also created an events page). This ...
0
votes
0answers
20 views

Change the column by which pages are sorted by default [duplicate]

A very simple question - how do you change the column by which they are sorted by default? It always sorts by Date, even though I keep changing it to Title.
0
votes
1answer
37 views

List pages by custom field?

For SEO purposes I use my URLs like this: site.com/parent/child/ Currently I have pages like this: site.com/parent/ site.com/page-1/ site.com/page-2/ site.com/page-3/ I want to ...
0
votes
0answers
21 views

How to add child page to Woocommerce product page?

The goal is "add page to product". ex. bmw.com/shop/i8/ << a Woocommerce product page bmw.com/shop/i8/photo/ << normal page I know Woocommerce have it own page taxanomy, it's not have ...
0
votes
2answers
12 views

Add addtional page parameter before loading the page

the problem I got: I need to force a list view for products which are shown on a specific page only for mobile devices, for me the perfect solution would be an additional url parameter -> '&...
0
votes
1answer
21 views

Woocommerce new shop page

I would like to have a page like page.php to display the content of the shop page. How can i do it? I copied everything from woocommerce/archive-product.php in to page.php but nothing is beeing ...
0
votes
0answers
11 views

How do I set the included landing page as home page using a custom theme?

I feel that this should be very easy to fix, and most people know about how to do it, but for some reason I couldn't manage to find questions in the internet about this. The problem is: I've tried ...
4
votes
1answer
30 views

RSS for Pages Instead of Posts?

I'm trying to set up RSS. However, all the pages on my site are pages, not posts because the SEO is better (all my content is relevant regardless of publish date). My RSS feed isn't working right ...
0
votes
0answers
19 views

How to Generate a Lot of Pages from a Database in Wordpress?

I have a page template that I have to use for hundreds of different products. I don't intend to create all those pages manually, and I want to know how to generate them automatically from a database ...
0
votes
0answers
10 views

pagination problem with changing $_GET

I have a select option and some inputs that are getting into the $_GET, then based on $_GET, the $args of wp_query(args) will be changed, everything is fine and pagination works good. but when i ...
1
vote
0answers
27 views

How to show the root webpage on all subpaths

I want to show the same page on all the subpaths on my web site /events/ /events/firstOne /events/secondOne/edit /events/whatever/blahblahbla/helloworld All that urls must load the same root page. ...
2
votes
1answer
68 views

Created pages not showing up in 'All Pages' list

Due to some custom software integration, I have my theme generate some pages automatically with set templates in order to achieve the required functionalities. I do so with the following script: (...
0
votes
3answers
71 views

Featured Image not changing

Here is what the situation with my featured image. When I try to change the featured on my site. It doesn't change at all. Here is how I currently try to change the featured image on my page: I ...
0
votes
1answer
33 views

Cannot save pages after migration

Recently I've received a task from my clients to improve their company page. I've migrated the page to my VPS and made some modifications: added new content updated Wordpress updated plugins ...
0
votes
0answers
40 views

REST API pages filter by slug redirecting on certain slugs

Im encountering a super weird issue when using the REST API. When fetching a single page by slug i use the following url: wp-json/wp/v2/pages?slug=XXX where XXX is the slug of the page. Now this ...
0
votes
0answers
34 views

A PAGE IS SHOWING AS A POST

I have an issue with a page in WordPress, its showing as a posts page with the sticky right sidebar, I want to remove the sidebar any help ?
0
votes
3answers
49 views

I need help locating a URL that is on my site map, but that I can't find in my Wordpress dashboard

I hired a developer to implement the LearnDash plugin on my Wordpress site. He wasn't able to finish the project and left my site with several unnecessary pages and plugins. I want to get my site back ...
0
votes
0answers
21 views

Change the woocommerce widgets “SORT BY” Links to some custom links

how can i change the woocommerce widgets "SORT BY" Links to some custom links but only for Home page not rest of site Widget i am using woocommerce widget [products limit="7" columns="4" paginate="...
0
votes
0answers
19 views

Removing the unwanted style sheets and scripts using plugin for improvise the page perfomance

I am already installed the asset cleanup plugin for removing the unwanted css and scripts.The plugin does not contains the bulk unload option without some specific pages and post types. Ex: I am ...
0
votes
1answer
29 views

hard coded html / php pages on local host directory don't show up in WP dashboard

My hard coded html static file I converted to php pages on my localhost directory don't show up in WP dashboard. I'm re-purposing a static HTML site to WP. My files don't show up in the dashboard. I ...
0
votes
1answer
26 views

Problem with deleting a “Page”

My developer/designer is being a problem and won't tweek changes to my site... changes I can't do myself because I don't have FTP level ability (if that's the word?). I can only make basic changes ...
0
votes
1answer
16 views

Edit the text location of a form

I was hoping someone might be able to help with something i imagine is very simple. I've created a form and added it to a page, however the text appears to be aligned to the left and the entry box to ...
1
vote
1answer
25 views

Show own shortcode data on each page

I have shortcode [cities] and i need that when i import my pages to wordpress with text with this shortcode, there was own city by page id. Is it possible to do? I created a simple shortcode: ...
0
votes
1answer
16 views

How to show metabox on page if it is using a template

I was creating metaboxes for a special kind of pages. But i got stuck when showing metaboxes to the pages only who currently have the template 'Sky'. my template file name is sky-template.php and ...
4
votes
1answer
70 views

How to edit the properties of a page programmatically?

I know that I can programmatically create a new page via wp_insert_post setting 'post-type' to 'page.' How do I go about editing that page programmatically? (title, content, slug, etc.) Also, if I ...
0
votes
0answers
12 views

Read more directs to old template (Divi)

I'm building a website using the Divi page builder. We had an old page/template we started with but don't use on any actual page anymore. The problem is that when you click read more on a post it, the ...
0
votes
0answers
26 views

Pass form inputs to page content

is it possible to pass form input to page content? In a WordPress Multisite I’d like, when a user register and create his own website, to make him compile a form with the text and the photos that will ...
0
votes
0answers
14 views

Paginate by individual page links, not /page/1, /page/2, etc

I'm moving a group of 20 or so pages from another CMS into WP. These are pages not posts. Each page is a chapter in a book and each page has bottom nav links much like a blog index page. In our case ...
0
votes
1answer
22 views

Put page on Archived statut after end of publication date

I’m looking for a way to put pages on archived statut after expiration of the publication date. First, I add archived statut to the platform (code below). This statut appear if the page is published. ...
0
votes
0answers
13 views

Static Home Page resets to Front Page

I've found many very similar posts but nothing that seems to be exactly like my issue. Unless I've completely not understood how wordpress works. When I go to Settings >> Reading >> Set Static Home ...
0
votes
1answer
25 views

How to add custom php file to right sidebar?

I have created a quick contact form php file where visitor click it slides out a contact form to fill the details ,to add in right sidebar how to add in every pages and post any help how to add in ...
0
votes
0answers
19 views

Choosing a WooCommerce Default Product Template

How can I make a page the default template for WooCommerce? I want to specify a default page for product pages.
0
votes
0answers
19 views

Set anchor to page title

I have set up my menu so that they are all individual links. This way I am able to use an # anchor to jump to the text. For that I use an old style a tag with name= attribute that I set using the code ...
0
votes
0answers
14 views

Correct approach to build dynamic links between translated pages

I have a simple website, www.recconsulting-services.com and I have the pages translated both in Italian and English. As you can see on top of the screen (header.php) I set two anchor flags images. If ...
0
votes
1answer
109 views

Assign Parent Page - Now 404 Error

The strangest thing is happening. I have a page that I want to assign a parent page to. When I assign a specific parent page to it, then the page shows a 404 error. Here is the weird thing, this ...
0
votes
0answers
43 views

How to create and assign a post-state on page creation?

I am creating a page within a plugin, I am then trying to add a post state to this page however I seem to only be able to add the state to all pages as the filter is called before the create page ...
0
votes
0answers
11 views

Backend overview pages in different sections

Is it possible to edit the WordPress admin overview of pages: /wp-admin/edit.php?post_type=page into sections based on post meta values? So for example I got 3 pages with the meta value of "Planten" ...
0
votes
0answers
33 views

Is it possible to change the permalink structure of “pages” to something like `/page/$page_id%`?

The permalink setting in WP admin seems to only affect the "post" type, not the "page" type. The "page" will use the title as the url no matter what is set in the permalink setting. I've searched and ...
0
votes
0answers
13 views

Let user select pages from a multiple select box and only display script on header of those pages

I'm writing a plugin that adds schema to the header. So far it is adding it site-wide. How would I add a multiple select box within plugin settings that lists all the site pages? Whichever pages are ...
0
votes
1answer
57 views

How to access variables from one plugin in another

Intro: My company offers products as well as services, and we currently use Woocommerce to sell both. I would like to keep products separate from our services, as we treat our products similar to food ...
0
votes
2answers
36 views

how can i remove page title on desktop view

i have a problem with my woocommerce, I cant remove the page title in the product on desktop view. Anyone know what can i do ? thank you very much store https://kingsport.ro
0
votes
1answer
24 views

Child and Parent Pages list of sub pages

I have a parent page called services with children, each service child has child pages within it. On the first level child page i want to show all of the pages below it in. When i click through to ...
0
votes
1answer
14 views

Recovering a page from the drafts

I recently deleted a page mistakenly. When i tried to recover it, it went into the drafts. I want it to come back into the published pages but i have failed after several attempts. What do i do? ...
0
votes
1answer
25 views

Archive: Lists itself

So I have created an archive.php, set everything up, and my archive page works fine. Now I was wondering, of how I should prevent the archive page from listing itself. When accessing the page called ...