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
11 views

Static page not working on Wordpress dashboard, only latest posts showing

I am also facing a problem with my review site I have 2 websites with one WordPress hosting from GoDaddy my one site's static page is working but my new domain's static page still not working after ...
0
votes
0answers
39 views

Missing 'Page Attributes' in page edit

Im missing Page Attributes from page edit screen. I have searched and not found any solution. Anybody with some ideas?
0
votes
1answer
19 views

How to prevent WordPress from redirecting single page to prefixed category archive with same name?

I have been trying to solve this problem for hours. I would like to have a page with a simple slug (/blog) and a category term with the same name (/category/blog) exist on my site together at the same ...
0
votes
0answers
13 views

Wordpress Sticky Post Count “Fix” Breaking Pagecount by 72 pages!

I have a permanent sticky post on my front page and have implemented the code (pasted below) into my functions.php file to stop it adding an extra post to my post count on the front page (it's a grid ...
0
votes
0answers
6 views

Page Title has a navy portion behind it blocking part of feature image

I am using the Full Width - Parallax Title as my Page Attributes and have selected a Feature Image. This works on all of my pages except for "About Us" which has the feature image and then a ...
0
votes
1answer
17 views

How to get custom page template being edited in gutenberg editor

I want to know custom page template name (the one chosen in page attributes - template) in PHP, before page opens in order to enqueue additional scripts according to chosen template. I know how to get ...
0
votes
0answers
14 views

How to add categories for pages only?

I have added this function in my functions.php file to show category option for wordpress pages. It works fine. function support_category_for_pages() { // Add category support to pages ...
0
votes
1answer
20 views

page-slug.php not working but only for specific slug

I'm trying to create a page called "Comics" with the slug "comics" to use as the main table of contents for my webcomic site. I've created a page-comics.php file, however when I ...
0
votes
0answers
13 views

Main Menu Appears But Sub Menu Does Not Appear

I have added the top menu code below as follows. Home page names are visible, but sub pages are not. How can I fix. $defaults = array( 'theme_location' => 'header-menu', ...
0
votes
0answers
29 views

Why does updating permalink structure only update posts and not pages?

This might sound like a stupid question but I've honestly looked everywhere. Currently my WP Page structure is {site-title}/{page-title}. This works fine, however I want to change the permalink ...
1
vote
0answers
23 views

How to delete page by deactivating plugin

register_activation_hook( __FILE__, 'myplugin_activate' ); function myplugin_activate() { //create a variable to specify the details of page $post = array( 'post_content' ...
0
votes
1answer
26 views

Create page template

I am completely new to working in Wordpress but have some skills in coding. My company has a website where we write about different publicly traded companies. I want to add company specific pages to ...
0
votes
1answer
13 views

Plugin frontend page design irrespective of the theme used

I am writing a WordPress plugin which will have some front-end pages including inputs, forms, buttons etc. The plugin should be usable with different themes. But I am confused or don't know how to ...
0
votes
0answers
14 views

How do you tie a database to a block?

I am rather new to wordpress, and need help tying a database to a block and get it to function like a search engine for a candidate.
0
votes
2answers
11 views

Change the size of the featured image for post?

Is there a way to change the size of featured images on posts? When I click on one of my blog posts, I can see it’s extremely large and inefficient. https://graduateinvestor.com
0
votes
2answers
4k views

Updated Wordpress, now getting errors on site

I just recently updated my Wordpress, theme, and plugins, and am now getting these two errors on top of the homepage and pages page. Deprecated: wp_make_content_images_responsive is deprecated since ...
0
votes
2answers
28 views

how to get a list of all top level pages

I am trying to figure out how to get a list of the permalinks for top-level pages only. My goal is to put them in a selection box on a form. I have spent a couple of hours searching here for an answer ...
0
votes
0answers
11 views

How to enable pages that have been hidden unless a user is logged in

I've inherited a Mutlisite Wordpress network (so I don't have all of the details around how it's been set up yet) that contains 3 sites. One site hides all pages from users unless they are logged in ...
1
vote
1answer
19 views

How to redirect a page to another?

On my website, I have following url structure: example.com/test/ example.com/test/a-page example.com/test/another-page How can I redirect all of the URLS that contains /test/ right after the domain ...
1
vote
0answers
103 views

WASM page in Wordpress website

I used emscripten to generate some html/js/wasm/data files and would like to add that as a page to my (Wordpress) website. Is this possible? If so, how?
0
votes
0answers
3 views

I have a HTML structured page which I want to link with a button on custom theme hompage. Which file should we write to do that?

In the image, there is a button called Schedule a Call. I have made a page with a form on it and I want to link the page to the button. Which file should I edit/create in my custom theme folder?
0
votes
0answers
22 views

How to write this wordpress code

The idea here is to share bulk WordPress posts between multisite blogs automatically. I have googled some tutorials and I know I can use save_post action hook, switch_to_blog and get_post() + ...
0
votes
1answer
33 views

How to show only homepage in google results instead of privacy, contact pages

When I search my website in google, all the pages and posts can see. I want to make only homepage visible in search results and remove other pages(privacy, contact etc). And also all the posts can ...
0
votes
1answer
15 views

Every change made by “Author” role is going to “pending review”

I don't know if this is an issue with the module https://wordpress.org/plugins/user-role-editor/, or this is an internal behavior of WordPress, but for some reason, every time a user with "Author&...
0
votes
0answers
22 views

Go back to the exact post page number

I use pagination in my index.php and I have many posts per page. Every post have a button to go back to home. The problem is that when I visit a post in a page 5 for example, the button always send me ...
1
vote
1answer
29 views

Permalinks by page/post name returning 404

All my content is currently setup as pages. I want to setup permalinks with page names. I read some posts online that said choosing %postname% path should render the content. But this does not work. ...
0
votes
0answers
19 views

Stop playing music (rev slider) when user opens new tab

i have a simple yet tricky question. I have a few empty wordpress pages with only a Revolution Slider in each of them. Each Slider has an audio player layer that automatically plays when a user opens ...
0
votes
0answers
18 views

Template category.php with page (no posts)

on my home page I have clickable images that redirect me to custom pages. On each page, I've made sure I can assign categories. Now, I want to filter these categories by clicking on the button ...
0
votes
0answers
40 views

How to sort posts based on likes using Likebtn-plugin

On Likebtn-plugin homepage ([https://likebtn.com/en/wordpress-like-button-plugin#sort_posts_by_likes][1]) they give this code to input in a template file, e.g. index.php, archives.php, page.php, such ...
0
votes
2answers
22 views

Groping Pages Per Department Option

Is it possible to create groups for pages? We are a government agency and we have several departments. With so many departments there is a strong possibility that the pages will get confusing to use....
0
votes
1answer
15 views

what does the symbol “?” mean and how can i edit that page?

I have a site I can't edit the page of it the page contains the following link https://www.testsite.com/?booking how can I edit my booking page
0
votes
0answers
28 views

Adding a page to custom post type hierarchy?

My custom post type has the URL Structure "/work/post-name" The default archive is disabled with "'has_archive' => false" and replaced by a WordPress Page called "/work/&...
0
votes
0answers
21 views

Custom WP search not looking at page tags

So, i created a custom search using WP_Query and it is working as i need it to except for the fact that it does not seem to be searching in page tags (i have a custom plugin that allows me to add tags ...
0
votes
1answer
36 views

All blog data on a page using custom query gives 404 for page 2 and onward

Below is my code on page_{slug}.php. The first page is working fine, but after 1 page, I am getting 404 error for all pages. Pagination with the main query is working fine, but it does not support ...
0
votes
1answer
19 views

Swap home page based on user role, Elementor layout breaking

I work for a manufacturer that has normal boring consumers and wholesale dealers. We want to display a different home page for these two different audiences. Consumers will get more of a brand ...
0
votes
0answers
17 views

i need to rewrite a custom URL

i want to rewrite this url: example.com/ygal/1 to be pointed to: example.com/?vk_callback=1 add_rewrite_rule('^ygal/(\d+)/', 'index.php?vk_callback=$matches[1]', 'top'); I have press on save setting ...
0
votes
0answers
13 views

Automatically attach subpage to taxonomy terms

I'm creating sports news page which popularizes some not "well known" sports. It has "Sports" taxonomy, which has terms "Sport 1, Sport 2, Sport 3". It is used for displaying sport-specific posts on ...
0
votes
0answers
47 views

hide pages for the page list for some user role

I need a way to make some pages not visible for 3 users role (editor, contributor, author) on the page list (edit.php?post_type=page). I think it is about permissions but i dont know how to do it. I ...
1
vote
1answer
34 views

Use an empty page to build custom plugin output

I've been Googling for an answer to this and have yet to find much of use. I have seen plugins that will say "pick the page for showing X" and "pick the page for showing y". Then if the page is ...
0
votes
0answers
30 views

How to add a subpage link on my custom page?

I'm using the wppb.me plugin boilerplate and i manage to add a custom menu under the "product" menu (admin panel), to render the data from a API, but now i need to admin a second page so the user can "...
0
votes
1answer
13 views

Google indexing duplicate page content with Page #### in post title and /page-2 in permalink instead of the ones I set

I'm hoping someone familiar with this problem can help me. I have a WordPress site with thousands of posts, and Google is indexing pages that look like this: mysite.com/page/1 mysite.com/page/2 ...
0
votes
1answer
32 views

Requiring a Visitor to Enter a Password Each Time They visit a Page

the pandemic has changed my role within my company so that I'm now doing all of our WordPress development, despite having zero training with WordPress. Feel free to include any comments about my boss'...
0
votes
0answers
25 views

How do I add a new item to this menu on the Add New Page section?

This menu has 5 items: All, Mine, Published, Draft, Trash I want to add a new one FrontPage, in red, that will list pages with specific ID, like 43, 32, 11, 344, etc. If the answer is complex, just ...
0
votes
0answers
18 views

Coaching Business - How to best make sales

Thank you for taking the time to read this and help. I am a Life Coach and I also sell books and seminars. How can I collect payments, auto-send materials, schedule seminars, and coaching sessions? ...
0
votes
0answers
42 views

Create custom feed for child pages of a parent page

I have been trying to create URL feed for all child pages of a parent page. Those child pages have featured image and excerpt info (+author, published date) I found here that is possible to create ...
0
votes
0answers
15 views

Wordpress empty page! what is wrong with this code?

I wrote this code, but when I set the page where I write this code as a posts page from the dashboad, then viewed it on the browser. it has become empty, although I puplished one post. what is wrong ...
0
votes
1answer
43 views

include specific Pages to wp_list_pages with filter

How can i make a simple filter to display only specific pages (include instead of exclude) as an output to wordpress pages widget? I made this code , but its not working function specific_pages($...
0
votes
0answers
31 views

What plugin would make this happen? If is the theme

Update: My Responsive Version 1.9.3.6 has a bunch of custom post and page templates. When I update it to Responsive Version 4.3.6. I lose all the templates. Any ideas on how to keep the templates ...
1
vote
1answer
28 views

How to insert 2 args into 1 Wp_Query for a slideshow

I need to post articles and pages present in two specific taxonomy in a slider. I tried to merge the $args and $args2 but the slider disappears from the page. Could anyone tell me how to write the ...
1
vote
0answers
38 views

Wordpress web pages keep getting deleted (moved into the trash) by themselves

I'm new to Wordpress. My Wordpress web pages keep getting deleted (moved into the trash) by themselves, without any input from me. Luckily I have made a backup with All in one migration tool, prior to ...

1
2
3 4 5
49