All Questions
170 questions
1
vote
1
answer
3k
views
View Private Published Page with URL Code (no login required)
The goal is to easily allow for larger entities/clients to review content without having to have a user login/account for every project stack holder involved by providing a single URL to the final ...
1
vote
0
answers
136
views
Block Theme: How to use a different template on front page vs paginated pages?
I'm using block themes.
I'd like the front page / home / index to show some extra blocks plus the list of blog posts. However, I want the paginated pages (e.g. /page/2) to not have these extra blocks ...
0
votes
0
answers
194
views
Rewrite URL custom search query
I have this url:
mydomain.com/?s="SEARCH TERM"&categoria="WORDPRESS CATEGORY OF POSTS"&province="CUSTOM POST FIELD"&poblacion="CUSTOM POST FIELD"
...
0
votes
2
answers
78
views
Subpage for Custom Post Type
I have a custom post type "location".
add_action("init", "register_custom_post_types");
function register_custom_post_types() {
register_post_type("location&...
0
votes
0
answers
1k
views
Custom jQuery code in Elementor page is not working on Mac os. On Windows browser work fine
Custom jQuery code in Elementor page is not working on Mac os. On Windows browser work fine.
I make small jQuery script for tabs and put in Elementor page.
On all Windows browsers is working fine, but ...
0
votes
1
answer
74
views
Edit Page button is gone
I am using Wordpress 6.2 and I have created a blog site. I cannot see the page where the blogs on this site are displayed under the "Pages" section, and the "Edit Page" button at ...
0
votes
2
answers
73
views
"about us", " contact" sections should be article(post) or page in the simple small Business website?
I am new in WordPress i am rails programmer that need to do for small Business only WordPress website with : main page, about us, contact + few articles(posts) that will be in the main page
"about ...
0
votes
2
answers
319
views
Create a page for each database table entries
I am creating a job board website(it is a part of the website). I have a JobOffer class with some rows in the database(added with it's form...). My problem now is to have a page for each of these ...
0
votes
4
answers
2k
views
How can I use "getarchives_where" to get monthly archives for static pages?
I would like to get monthly archives for static pages. I tried to use the next code:
add_filter('getarchives_where','my_archives_filter');
function my_archives_filter($where_clause) {
return "WHERE ...
0
votes
1
answer
56
views
How can I make a search term redirect to a page
I'd like users to enter a unique number such as "756463" and it take them to a specific page.
How can this be done please?
0
votes
1
answer
363
views
How do I disable the built-in editor and automatically configure the properties of new pages?
I use a Builder plugin on the site. Members are editors and can create their own page. I want to disable Gutenberg so that they can only edit pages with Buldir. I would also disable the properties of ...
0
votes
0
answers
75
views
Give custom page template a custom post ID
I created several custom pages in WordPress. One displays real estate listings. When you click on the listing it opens into another custom page I created.
The problem is no matter which listing I ...
0
votes
2
answers
72
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 ...
0
votes
1
answer
30
views
Adding LOAD MORE on a page
So I have a blog with different pages and categories and I add each post manually and link it with the URL instead of using post grid. I only want to show 10 posts at a time and add LOAD MORE text ...
0
votes
0
answers
523
views
Use a custom page with dynamic content as a user profile page
I'm trying to create a website with fully customised user profile pages. I've created the page which uses dynamic content to pull user custom fields into it, this works fine to view your own profile ...
0
votes
1
answer
2k
views
What would causes search to return incorrect results?
Recently our site began no longer returning correct search results. When searching it returns one result that's unrelated to the inquiry. I've turned off all plugins and reverted back to a day when I ...
2
votes
1
answer
12k
views
How to merge all my pages into one, while keeping a menu bar?
I have currently a website with a basic organisation : 5 different pages ("About us", "projects" ...etc.) with a typical menu bar.
I would now like to have all the pages into a single one.
1) How can ...
5
votes
2
answers
12k
views
Replace existing pages with new pages, keep menu links
I basically want a plugin or method that would give the same functionality as 'Enable Media Replace' but for replacing pages and posts, instead of redirecting, or manually editing.
I've searched high ...
0
votes
0
answers
83
views
I want to embed mystream video in my wordpress site
I want to embed mystream videos in my wordpress site but when i paste the embed link in the editor, its say that they can't do that. Is there a way to do that?
1
vote
1
answer
656
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
1
answer
127
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 ...
1
vote
1
answer
331
views
Run plugins only on certain pages
I want to use my personal plugin only in some pages.
If I remove the add_action function ('the_content', 'my_plugin_content'); the plugin does not show me the content of the other pages that are not ...
0
votes
0
answers
66
views
Taxonomy template is not reading
I've created a woocommerce shop by using biagiotti theme and I add a taxonomy with the follow code :
// create marques taxonomy for the post type "product"
function create_marque_taxonomies() {
//...
0
votes
1
answer
47
views
New Page/Post Screen Opens an Existing Post
When I go to add a post or page to my WordPress site, the permalink and featured image are already populated with a 10 year old post, thus we are unable to create new content.
Recent changes done on ...
1
vote
1
answer
248
views
Adding buttons to Add New Post and Add New Page
I want to add a button in Add New Page and Add New Post pages.
Here are places I want to add items:
New page's sidebar (next to Page Attributes).
New post's sidebar (next to Post Attributes).
New ...
7
votes
6
answers
10k
views
How to disable page delete
My client is not a computer person. I created a website for him. There is some important pages. My client is always delete this page. Then i want to reconfigure the code (the page id).
How do i ...
0
votes
3
answers
13k
views
Pagination not working on Custom Page Template
I searched a lot on this but I can't figure out why my code is not working.
I published a page with slug "blog" that uses a custom built template "page-blog.php" that I build from ...
1
vote
0
answers
35
views
Selecting An image from the Media LIbrary on the frontend
I'm using Wordpress to create a research tool where archival documents are transcribed into a relational database.
Part of this is a transcription interface, a custom page. What I'm trying to do (...
0
votes
1
answer
2k
views
I can't add more pages to menu - menu delete pages
Two days ago I decided to add three more pages to the menu on my site. I already had like 140 pages in the menu, so this is something I know how to do. But I hadn't done it in some months, so maybe ...
0
votes
2
answers
43
views
Static Page, need Last and Next links at the bottom
I am new here, I do not have a ton of experience with PHP but if I have a correct block I can work the different functions. I have a static page, currently, I have it set to display 5 snippets of ...
0
votes
1
answer
122
views
Custom CSS working on home page but not on NEW created PAGE
I have this WP website http://darius-mann.com/smardigo/ with a lot of custom css. Everything works fine at the home page. Which is the the last mentioned link.
To finish the project I created the ...
0
votes
2
answers
40
views
How can I create a Custom Page? (not a page template!!)
I would like to have inside my theme folder, a folder where I can leave all the portion of code and snippets that I don't want to use anymore or I just want to save for a while, and accessible every ...
10
votes
2
answers
8k
views
How to display by default only published posts/pages in the admin area?
As it is, WordPress displays by default all the pages/posts in the pages/posts list in the admin area, no matter what their publishing status is.
I have a lot of drafts, but usually I'm much more ...
0
votes
0
answers
75
views
Added a ACF field to custom page and want the results to show as a column in admin
A developer made a custom page for our wordpress site and I've added a custom field at the top titled Serial Number.
I want to add this field as a column to the admin page between Date Registered ...
0
votes
1
answer
414
views
Insert menu with a custom walker into page / post body using shortcode?
I'm trying to add a menu using a custom walker class into a page or post body and settled on using a shortcode. I don't have to use a shortcode, but I do have to embed the menu into the central ...
1
vote
0
answers
27
views
Control Content On Non-Blog Pages
I'm new to WordPress, trying to learn it's capabilities.
My Goal
My goal is to make a normal website but have it's content (text and images) be adjustable by the user / client, managed content.
An ...
0
votes
1
answer
49
views
Show post count in custom taxonomy page
How can I show the post count in a taxonomy page. I tried some codes but I could not get success. I will locate this information on the top of taxonomy page.
foreach ( get_the_terms( get_the_ID(), '...
0
votes
3
answers
10k
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
1
answer
37
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
1
answer
70
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. ...
2
votes
0
answers
2k
views
redirect product-category to a custom page
I hope you can help me.
I've made one page for each woocommerce category I have in my store with a specific design.
The problem is that when you click on the link of the product-category to which a ...
0
votes
1
answer
2k
views
Automatically delete default posts and pages on theme install?
Is there a way to automatically delete the default wordpress posts and pages when activating theme theme?
0
votes
1
answer
18
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 ...
-1
votes
1
answer
2k
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
1
answer
30
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
1
answer
45
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
1
answer
175
views
How to create "custom page types" with different custom fields in them?
I have lots of pages that perform very different purposes in my website (landing pages, thank you pages, regular website pages, webinar pages, etc).
As such, I would like to group my pages into ...
0
votes
1
answer
750
views
How Do I Find & Remove H1 From Site-Title-Wrapper? [closed]
Good Afternoon,
I am having difficulty removing a duplicate H1 tag, which is located in my Site-Title-Wrapper, per source code.
When I access "Edit Theme" and load the "site-title.php" I can see the ...
3
votes
2
answers
8k
views
Change admin startpage to Pages-page?
When you login to the admin you see the Welcome page by default. A client of mine requested to see the "Pages" page by default, he had seen it somewhere else.
Is this possible, and if so, how? Tried ...
0
votes
1
answer
26
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'...