Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
0answers
10 views

Save & Share Cart for WooCommerce cart title use in cart page

I'm using save and share cart in woocommerce site and I create a page to load all saved carts title since plugin creates a posttype and I load each saved cart using same url plugin used in a email ...
0
votes
0answers
10 views

Woocommerce product page 404 not found

I don't know what else to try to fix this, i am working on localhost with laragon and i get 404 not found when i go to product link, the url is the same as permalink which i have /%postname%/ and ...
-1
votes
0answers
22 views

Header pages option is showing less in customize page [on hold]

Some of my pages are not showing on header page option in customize page. Recently I could see all the pages on that option but now I can only see a few. Header Option and Footer Option should show ...
0
votes
1answer
24 views

I Changed the Menu Order, But the Page Order Didn't Change on Front Page

First-timer here! I'm trying to change the order of pages on my boardgame webpage, as displayed on the top banner www.mangakagame.com . Basically, I've used "Edit" in the Dashboard and adjusted all ...
0
votes
1answer
36 views

Python in Wordpress - A “Hello World” implementation

I've read this question (and many more web pages) in order to figure out how to run a simple python script via a Wordpress plugin. However, I couldn't do it: I always get a "Blank" output. No errors ...
0
votes
3answers
23 views

How to select a specific page

I'm having an issue selecting a page. There are guides that tell you how to find the page ID and I just couldn't find it in the admin panel to figure out what the page ID is. If only there was a way ...
-1
votes
0answers
9 views

Create a download page for a new file uploaded by users from upload form

I want to create a download page for a new file uploaded by users from an upload form. I have already made an upload form, however I don't know how to create a download page for a new file uploaded by ...
1
vote
1answer
23 views

Making a custom help center page

I am working now on a new WordPress theme and I want to make a help center system to allow users that will buy my theme do add helper articles. So my plan is: 1- Make a normal new page and create ...
1
vote
0answers
10 views

Pages views limit [closed]

Is there a option or plugin that can limit a number of pages user can view per month? Im trying to make a site with video and text toturials and I need to limit user to view only 10 lessons (pages ...
0
votes
0answers
13 views

When would it be best to hook AJAX functions on a back-end page?

I'm setting up my page as follows: add_action( 'admin_menu', [$this, 'addAdminMenu' ], 80 ); And its content: public function addAdminMenu() { $this->hook_suffix = add_theme_page( ...
0
votes
2answers
71 views

determine whether content is of type Page or a Post and display accordingly

I'm looking for a way to open every/any link to a blog post in a lightbox/modal globally and without having to any extra classes or rel attribute to the link element. I know I can access this info ...
0
votes
0answers
20 views

How can I use get_template_directory() inside a specific page

On my researches i learned that to acess specific asset you can use get_template_directory() and then append your filename. Like : <div class="img-box" style="background: url('<?php echo ...
0
votes
0answers
18 views

Is it possible to create blog posts that open as new landing pages? (i.e. can each new blog post be a new landing page)

We are a commercial real estate company that updates our properties by posting new blog posts into 2 major categories, sale and lease. I want to turn these blog posts into individual landing pages for ...
0
votes
1answer
28 views

How to pass page as an argument like post in WordPress?

I am using this code to pass arguments in posts: $args_automobile_just_launched_bike = array( 'posts_per_page' => 3, 'post_type' => 'post', 'order' => 'DESC', '...
0
votes
1answer
20 views

Can't get page content in WordPress

When I use the the_content() on page-about-us I can't get the content of the about us page from WordPress. I got only below warning Warning: count(): Parameter must be an array or an object that ...
0
votes
1answer
15 views

Wordpress displays widgets out of whack

I am using a piece of Javascript that creates a countdown timer that looks good everywhere else but on Wordpress sites. For example, this has been done with Ontraport page builder and it looks great. ...
0
votes
0answers
23 views

Processing URL variable and processing result into post body

In functions.php, I've added function add_custom_query_var( $vars ) { $vars[] = "registration"; return $vars; } add_filter( 'query_vars', 'add_custom_query_var' ); I've created a page template ...
1
vote
1answer
18 views

Programmatically add existing pages and subpages to Appearance Menu

I have inherited a site with over 600 pages/subpages. I plan to use a plugin to change the way the navigation displays but it requires the pages to be in the Appearance -> Menu in this page: /wp-admin/...
0
votes
0answers
16 views

Hide 'create new' from the Pages menu and on the top of pages site

guys I am looking around for a way where i can prevent a user from making new pages, but still change the existing pages. As far as i could find, it was just old scripts that ain't working for the ...
0
votes
0answers
66 views

specific user group create a page that is automatically a subpage

Iam looking for a solution for the question above! Any ideas? Maybe like $user = wp_get_current_user(); if ( in_array( 'user-role', (array) $user->roles ) ) { //page create function } } ...
2
votes
1answer
130 views

problem to delete page

I have a "page" or "post" that I can not find anywhere. I would like to delete it, but I can not find it anywhere. I have already looked at the list of posts and pages, and even the database. Follow ...
5
votes
4answers
201 views

Apply the_title() filter in post & page title, but not in menu title

I use the following code to change the title of WordPress posts and pages. But it changes nav menu item titles too, which I want to avoid. I want to change the title of posts and pages in: home page, ...
-1
votes
0answers
6 views

Using Single portfolio item as homepage

I want to use the following page as my homepage http://www.pleasetakenote.co.uk/portfolio/the-declaration-of-death-is-dead/ but as its a portfolio item its not simply available to select from the ...
1
vote
0answers
22 views

Can't locate a hidden private page

I have 9 published page, and 1 private (invisible) page, in total 10 pages. However, my wordpress says that there are (2) private page, and total of (11) pages. How can I locate the unseen page?? FYI,...
0
votes
0answers
29 views

Allow Static Page Load Dynamic Child Pages

I am new to WordPress -- extreme wet behind the ears as you call it. Using these forums I walked my way through creating my own blank theme and custom templates. I am looking to take one of those ...
1
vote
3answers
19 views

How to create a custom page(not a template) in a theme

I have been searching for theme developing info but all that are related to this subject are talking about a custom page at page.php. What I am trying to achieve is different. The scenario is that I ...
1
vote
1answer
19 views

How i can add 'N' page of 'N' pages under posts loop?

I want show number of current page and count of all pages, near my posts paginations. I am talking about this
2
votes
1answer
51 views

Duplicate Category and Page URL loads Category instead of the Page

I have created a Category with the slug service, which has the permalink: https://example.com/service. and a Page with the link: https://example.com/service. In the Category service, there is a post ...
1
vote
1answer
175 views

Way to querry data (tags) from a wordpress database?

I need to query the WordPress database and display the data on one of my pages. I've looked and search for tutorials online but none of them are really complete. I am trying to display a list of all ...
0
votes
2answers
30 views

Changing logo depending on page on Total theme

Is there a way in changing the company's logo without editing the CSS itself? So when a certain page/link is clicked, the logo changes accordingly. Highly appreciate!
0
votes
1answer
38 views

Hide Visibility Option From WordPress Publish Metabox

I want to hide visibility option on publishbox for PAGE post_type like you see in red square on the below picture. Thanks.
0
votes
1answer
53 views

Remove “Category Archives: title” at the top of a category page [duplicate]

I created a category page that's linked to the main menu. It posts the categories fine, but it has the text "Category Archives:________" at the top of the page. Does anyone know to remove this. I'm ...
-1
votes
1answer
22 views

How do delete a meta key?

Unlike the rest of the platform for some reason, there is no apparent way to simply modify a meta key where it lists them for a given page. I created a meta key as a means of testing, but I can't find ...
0
votes
0answers
17 views

Pulling images from the media folder category to display inside a page

I'm looking to pull images from the media library by a certain category. The images are uploaded by the client themselves via the Media menu in the admin panel and they also select the category. The ...
0
votes
0answers
10 views

Mailchimp RSS feed work with single wordpress page?

I'm trying to implement automated emails which sends my subscribers an email when a single page on my website is updated. The single page contains a table with data which updated manually every day. ...
0
votes
1answer
16 views

Output Post with ACF Fields into other Post

I got a post that should be embeded, included or outputted - however you call it - into another post. I prefer a solo code variant. So far I have tested various shortcode plugins - but they don't ...
0
votes
2answers
30 views

How to create a page that shows the last 10 posts?

I'm new to wordpress and am trying to develop my first own theme. The thing is: the front page must be static, with no display of posts. But I need a blog section and am trying to do it by creating a ...
0
votes
0answers
15 views

Strange behavior on rewrite_rules

I'm having a strange problem that I'm trying to solve since yesterday. I have a website that has a page called Pesquisa e Extensão. 1 month ago the routes Projetos de Extensão e Grupos de Pesquisa, ...
0
votes
0answers
12 views

How do I display a page in the back-end without the dashboard menus?

Please know, my question is about how I can create a page with just my content in the back-end. Yoast just happens to be a nice, accessible example. I'm looking at Yoast's setup wizard and it's ...
0
votes
1answer
16 views

How can I make a category function as a page?

I apologize if this is a simple question but I'm entirely new to the website-building process. I have no prior experience. That being said, if the answer requires complicated HTML or CSS, then it won'...
0
votes
0answers
22 views

wordpress page navigation numeric pagination showing same posts on each navigation

Hi I have a similar issue with page nav, we are showing listing and due to the amount want to page them, We have got most of the code sorted but seems to just duplicate the page and not sure the ...
0
votes
1answer
18 views

Check if the child page has sibling pages, and bookmark current page

I already check if the secondary page has sister pages and I show it in a list of sister pages within each secondary page, but when I am inside a sister page, in the list where I show it I want to ...
1
vote
1answer
23 views

Highest number of WordPress Custom Page Templates?

I'm little bit rookie in understanding WordPress core. But I would like to know that, is there any limit or should we limit to how many custom "page" templates we make in our custom theme? My ...
0
votes
0answers
8 views

How to user role upgrade with product code

I hope i’m posting this the right place, but i really need some help. My company sells 2 different physical products (Product A and Product B). Both of them contain a direct Product Key (Product KEY ...
0
votes
1answer
16 views

How to create custom search page

So I'm trying to make my search.php file loop through three custom post types when doing a search. I currently have three cpts , post, anime, peliculas and I'm currently using a function that will ...
0
votes
2answers
16 views

Show code only on WooCommerce Pages

Does anyone know how to put code into your theme that will only shop up on WooCommerce pages? I want to add a cart link but don't need it to shop up on the rest of the site. Thanks!
0
votes
0answers
15 views

Advanced Custom Fields dynamic update_field

I have a function that is triggered when a new review is submitted on a specific page. function rex_my_action ($review, $post_id) { $some_value = get_post_meta( 753, 'rwp_user_score', true ); ...
0
votes
0answers
14 views

Adding links to .js and .css files on specific custom pages

Is there a plugin or setting in WP that will allow me to include JS/CSS file links (both internal and external) on custom pages? Currently I have skin options for Custom CSS, JS Code before </head&...
0
votes
0answers
17 views

Combining post and pages under a subdirectory

I guess this can be achieved pretty simple, but I can't find any information in the WP codex. All i want is basically this: example.com/jobs/ (page-like) example.com/jobs/<job-offer-1> (post) ...
0
votes
0answers
13 views

Limit users (by user role) to create a certain amount of pages

I asked this question before, but unfortunately I had no luck to get it working. Perhaps someone here can help me? The intention is that I can create users with a certain user role, these users then ...