Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
1 answer
567 views

Disable featured image

From the description of the plugin "Hide Featured Image": There are instances when one wants to show featured image on single post and hide it on another post. This plugin will allow you to ...
Miqi180's user avatar
  • 113
0 votes
1 answer
14 views

WordPress Animation Adjustments

I have a problem with my WordPress animations. https://cyals.com is the website Currently developing. I Use Elementor Page Builder to build my page. a man and a woman load with animations one by one ...
Dewruwan's user avatar
1 vote
0 answers
80 views

Serve specific "template" page at any URL that ends in its slug

Still new to WordPress, so please go easy on me. Goal: Prevent users of a specific role from viewing other custom post types made by users of same role. Intended solution: Modify the URL and redirect ...
Ryan Cochran's user avatar
0 votes
0 answers
34 views

I want to add another search box on posts page in dashboard

There is already a search box in wordpress dashboard for posts, products, pages etc. in their listing page. My client use wordpress admin with their phone so he requested another search box on top of ...
Alper Gürel's user avatar
0 votes
1 answer
240 views

Cover block always has margin

I'm working on a website where I want to have some group blocks where I want to add some images of patterns to just make the website a bit nicer than just plain colors. I'm using a cover block to hold ...
BRHSM's user avatar
  • 101
0 votes
1 answer
495 views

Website jumps to top when scrolling down

I have a problem with one of my customers pages. When I click a link on the website or when I refresh the page, it automatically jumps back to the top when I immediately start scrolling. If I wait for ...
Advertman's user avatar
0 votes
0 answers
54 views

How to backup just pages from my site, but not posts with other post_type values

I want to backup just pages from my site, but not posts with other post_type values, so my first question is – will this do the trick? enter cPanel phpMyAdmin filter the table wp_posts for post_type=...
Dark's user avatar
  • 101
1 vote
1 answer
259 views

Change the slug of a particular page every x hours

Is it possible to rewrite the slug of a particular page (e.g. Page-ID 123) with a wordpress function? I found this somewhere but It doesnt work and I am also looking to simplify it as I just want to ...
JoaMika's user avatar
  • 698
0 votes
0 answers
694 views

Permanently deleted posts still exist

So, I deleted multiple post of type page (sent them to trash, went to trash and permanently deleted them), but one of my functions didn't work like it was supposed to so I went and investigated, it ...
zoltankundi's user avatar
0 votes
2 answers
593 views

First archive page with a few posts

I'm looking for a way on how to display only a few posts on a first page of my archive. This is my archive template — page-archive.php, which I am using as a template to display all my posts/recipes: &...
Alex Osipov's user avatar
-1 votes
1 answer
601 views

Wordpress pagination returns the same posts

I did search the other posts here related to this problem, and tried all of them in my case, but I can't seem to make it work (probably because I don't know enough code) Can you please help me with ...
vyperlook's user avatar
  • 177
0 votes
0 answers
17 views

My worpress search page is showing no results

I want to display the publications searched for via searchform.php in the search.php page but it does not work ... The search is done well when I look at the url (ex: New World): http://localhost/?...
Maximus's user avatar
0 votes
0 answers
26 views

Create a List of Widgets, where each widget holds three attributes

i have a specific wordpress page, in which I want to add expandable items. So the item has a keyword and when I press it, it expands and more specific text will show up. The styling and setup of such ...
Pokenius's user avatar
0 votes
1 answer
327 views

A function to get the content of a page

I have an Elementor page and I need to get the HTML and CSS output of it without the header and footer to use in an email plugin I am making. Is there a function in WordPress that can do this? I've ...
Maytha8's user avatar
  • 121
0 votes
1 answer
185 views

Edit post & page option does not display on latest wordpress

I am not able to edit the WordPress default posts/pages from front-end. I have tried to deactivate all plugins, check/uncheck toolbar option(from profile) and also wp_footer() function in the file. ...
Maharshi Gadhavi's user avatar
0 votes
1 answer
662 views

How to dynamically parse and transform post/page content before displaying it?

I have several posts where part of the displayed content will depend on several conditions. I am thinking on creating a custom html tag. Then, before displaying the post content, the conditions will ...
ChiPlusPlus's user avatar
0 votes
1 answer
286 views

Show only pages you are author of

I am trying to only show pages that a user is the author of for any role other than administrator. The code below seems to put the site in an infinite loop and it ultimately dies. add_action( 'load-...
Waterfall's user avatar
  • 105
0 votes
0 answers
168 views

Copy/paste local images not working in Wordpress

This is somehow frustrating. I am ussing the latest version of Wordpress I am running my webpage, and when I need to copy-paste an image from Internet into any of my posts/pages I have no problem. ...
antecessor's user avatar
0 votes
1 answer
767 views

Automatically redirect a page to a category that share the same slug

This question shows me how to redirect a category to a page that share the same slug, but how would I redirect a page to a category with the same slug? e.g. abc.com/slug ---> abc.com/category/sub/...
Pete's user avatar
  • 1,048
0 votes
0 answers
194 views

Can't find the page that is using a slug

I am using Wordpress test site and working on a page where I can display Team members. At some point I was working on two Team pages at the same time, just to compare which style I liked more. Along ...
heleri's user avatar
  • 1
0 votes
0 answers
47 views

Use get_pages() before another plugin modifies it

In my little plugin I am using get_pages() to get some specific pages. Important is the usage of "child_of" and a custom field key. $pages = get_pages([ 'child_of' => 206, //Gets ...
Timo's user avatar
  • 1
0 votes
1 answer
55 views

How do I attach a page to a category similar to how we attach media to a post?

Is it possible/how do I to attach a page to a category similar to how we attach media to a post? ps. I'm not asking how to assign a category to a page. update: I need to attach a specific page ...
Pete's user avatar
  • 1,048
0 votes
0 answers
27 views

Automatic duplicate/copy of post to a related page in WordPress

I have a website about introducing softwares and apps. I created pages and so menus (named by categories). I set my WordPress setting homepage to latest posts. I create posts and give them categories ...
asad's user avatar
  • 113
0 votes
1 answer
24 views

Create a loop on my pages with new "WP_Query"

I wanted to loop through these four pages. Basically I would like my loop create a "li" by "page_id". I just know this is from my "new WP_Query" which is not good. How ...
Maximus's user avatar
0 votes
1 answer
63 views

Bad pages redirection

I have a wordpress web site with only a private pages (can only be viewed by logged users) I use the below code in my theme functions.php to be redirected to login page each time a put the page URL on ...
Samuel's user avatar
  • 354
0 votes
1 answer
67 views

Block to Popup Page, on demand?

I have embedded HTML in a block which renders a Python console. What I want to do is to be able to pop-out the Block in a separate window. If that is not possible then may be a link that when I click ...
sten's user avatar
  • 101
0 votes
1 answer
41 views

On the list of Pages, clicking to Edit a particular page redirects to the list of trash

Here's the background. I created a page called "New Home Page" to eventually replace the original "Home" page. When I was ready, I renamed the original Home page to "Old Home&...
breadwild's user avatar
  • 381
2 votes
1 answer
557 views

Set a specific page as 404 - not found via my own plugin

I'm developing a plugin that create some pages and set a specific template for each of these pages. It creates a page in which it sets a template for 404 - not found, how can set this specifc page as ...
icolumbro's user avatar
0 votes
0 answers
660 views

Is there a way to find all posts with Youtube video embedded?

Is there a way to search all posts and pages in my WordPress site and find those who have a Youtube video embedded in them? The reason to do that is I want to disable the wp-embed.min.js but before ...
alancc's user avatar
  • 41
0 votes
1 answer
62 views

Odd twitter meta data description on all pages

On this page – https://cloudmonitor.ai/contact-us/, if you do a View Source, you can see the following meta data: <meta name=”twitter:description” content=”Contact Us Contact For Premium Business ...
Rodney's user avatar
  • 133
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 ...
Joey Lawrence's user avatar
0 votes
1 answer
48 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 ...
Sebastian Norr's user avatar
0 votes
0 answers
55 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 ...
Brad Y.'s user avatar
  • 101
0 votes
1 answer
313 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 ...
Akash Manna's user avatar
0 votes
2 answers
919 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 - ...
J.BizMai's user avatar
  • 900
0 votes
1 answer
1k 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 ...
Gidromasservis QSC's user avatar
1 vote
0 answers
25 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 ...
Eddy Kawira's user avatar
1 vote
0 answers
74 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 ...
FbnKlmn's user avatar
  • 13
0 votes
1 answer
252 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 ...
Flux's user avatar
  • 105
1 vote
0 answers
29 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 ...
GeoffatMM's user avatar
0 votes
1 answer
102 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 ...
uPrompt's user avatar
  • 172
0 votes
1 answer
109 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 ...
Sunil Chaudhary's user avatar
0 votes
1 answer
257 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 (...
Toby's user avatar
  • 1
0 votes
1 answer
141 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
Veselin Kutov's user avatar
5 votes
2 answers
3k 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 ...
Jonathan L Clark's user avatar
0 votes
1 answer
168 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 ...
Alessandro's user avatar
0 votes
2 answers
3k 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 ...
user avatar
0 votes
1 answer
21 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-...
shenkwen's user avatar
  • 131
1 vote
1 answer
59 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. ...
Zuber's user avatar
  • 111
0 votes
1 answer
62 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: ...
Bartosz Brożek's user avatar

1 2
3
4 5
51