Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Remove 3rd party plugin notices from within own plugin

I'm trying to build a plugin (complete novice) and on the landing page of my plugin I don't get the 3rd party plugin notices / banners but with all of my sub pages I do. How can I completely remove ...
demo7up's user avatar
  • 178
0 votes
1 answer
23 views

ImageMagick on wordpress 6.5.5 for Linux Alma 8 success but which no magick

I am trying to add a Page or an Entry and the message when trying to publish is the following: The publication has failed. The response is not a valid JSON response. I have also published my query ...
euroluar's user avatar
1 vote
0 answers
261 views

Elementor Combined all Sections into 1 Text Editor

I am hoping someone might be able to help me with this. I used Elementor to edit my front page, which was great because it was nicely organized with sections and content and everything. Now I just ...
Daniel Meegan's user avatar
1 vote
1 answer
60 views

The sidebar in wp-admin dashboard disappears when viewed on mobile screens in WordPress

I have created a user role called "Customers" through the "Ultimate Member" plugin which has access to only the "Pages", and "Profile" sections in the wp-admin ...
Programming Geek's user avatar
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
0 answers
42 views

Wordpress Plugin and other pages not opening

WordPress dashboard is open but the Plugin and other pages are not opening. It's loading but not open. Below I attached the screenshot.
Mohamed Azhab's user avatar
0 votes
0 answers
39 views

How to access the page without registering in wordpress

I have an issue with WordPress. I have the below code and I am getting into the admin menu: public function Create_Menu() { add_menu_page("demoset", "Demoset",...
Naren Verma's user avatar
-1 votes
1 answer
440 views

Show only those pages that are created by the specific logged in user in WordPress

In WordPress, I created a new User role called "Customers" to only see the pages in the wp-admin Dashboard that only that role has created and not all the pages that are created by other ...
Programming Geek's user avatar
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 ...
Amber Lynn's user avatar
0 votes
0 answers
64 views

Meta box not displaying on the plugin page

I am working on a plugin and I am creating a meta box on my page using the below code but it's not displaying anything. Any idea where is the issue with my code? class bt_dashboard { function ...
Naren Verma's user avatar
17 votes
3 answers
21k views

Pass PHP variable to javascript

Is there any possibility to pass some PHP variables in javascript so I can use them later? Only in single.php. I heard about wp_enqueue_scripts but with that it is neccesary to declare a path to a JS ...
Sebastian Corneliu Vîrlan's user avatar
0 votes
0 answers
138 views

Create new page without menu in custom wordpress plugin

I am creating a custom WordPress plugin. I am writing all HTML by yourself. I don't use WP_List_Table class etc. When I create new page using add_submenu_page method, this page appears in menu. I don'...
learnle's user avatar
1 vote
1 answer
289 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' ...
Muhammad Rizwan's user avatar
0 votes
0 answers
43 views

Custom plugin places html head content in body

I'm currently working on a plugin. I have to render a lot of html on a specific page. I've placed that piece of code in the plugin it's core file, like so: add_filter('the_content', '...
Jorn Reed's user avatar
0 votes
1 answer
2k views

Include images from pages in wp search.php results in default wp search

Is there a way to include page images in wp search? Like I want to search through my sites images on pages not in posts by caption/alt text and display them in the results page as thumbnails.
Taylo.K's user avatar
  • 33
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
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
1 vote
0 answers
708 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 ...
Hazzaldo's user avatar
  • 111
0 votes
2 answers
3k 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 ...
nickh's user avatar
  • 105
0 votes
2 answers
8k views

Proper way to replace the_content only for pages created by custom plugin

I'm creating a plugin that needs to replace the_content of only two specific pages that it created upon activation. Here is my code: add_filter('the_content', 'emd_content'); function ...
Mark Rummel's user avatar
  • 2,177
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 ...
bobsya's user avatar
  • 63
0 votes
1 answer
866 views

Fatal error when accessing Pages in WP admin (and problems editing any pages)

I have a site that's been going for about 4 years with several hundred pages. I've had strange problems when accessing the Pages section (to choose a page for editing) and while in Page editing. These ...
Eric Bobrow's user avatar
6 votes
2 answers
16k views

Creating a WordPress admin page without a menu for a plugin

I am writing a plugin, that will list a number of entries from a custom set of tables. I added the main page for the plugin using the following WordPress functions: // Add menu and pages to ...
Greeso's user avatar
  • 2,204
4 votes
1 answer
1k views

Best way to manage a lot of pages in Wp Admin [closed]

There is already a thread for this from 6 years ago here How can we make managing lots of pages in WordPress Admin better? but I can't believe I can't find something useful today. Most of these ...
Alex Mn's user avatar
  • 41
2 votes
1 answer
3k views

How to create a Page alias in WordPress

In the image you see... WordPress has alias for Pages like Home Page, Checkout Page, Privacy Policy Page and any appear beside the page you assign them. How to create this feature in WordPress? If I ...
besrabasant's user avatar
0 votes
1 answer
34 views

Would Gutenberg be considered a PlugIn?

I believe Gutenberg is the default editor in WordPress. Would it still be considered as a plugin if it is installed in WordPress by default and no option to remove it? I assume plugins are able to be ...
janamparn's user avatar
-1 votes
1 answer
324 views

Static page with formatted post list

I'd be surprised if this doesn't get asked a lot, but I did a quick search and couldn't find an answer so... I have a couple of Wordpress sites and in both cases I really want to have pages comprised ...
Will Appleby's user avatar
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
265 views

create pages automatically and dynamically in wordPress

Is there an easy way to create pages automatically and dynamically in wordPress? Let me explain further: I am developing a website where I have more than 20 equal pages, with the same layout, where ...
nosperov's user avatar
0 votes
1 answer
3k views

How to create plugin auto create page wordpress?

I want a plugin can create auto page insert into database wordpress. How ?
Nguyen Quoc Thang's user avatar
2 votes
1 answer
7k views

How to show category images (from plugin) on a regular page (page-example.php)?

I am trying to use the Category Images Plugin to show images with my Custom Taxonomy (Region) categories/terms. Here is the code I have so far in a page-example.php that lists all the categories/terms ...
codeview's user avatar
  • 455
0 votes
2 answers
1k views

Get post content from outside the loop with plugin shortcode usability

This is great for showing just the raw content... Get post content from outside the loop But i'd also like to apply shortcodes from various plugins to my content to affect the content. What would I ...
Pete's user avatar
  • 1,048
0 votes
0 answers
392 views

Failed to load resource: the server responded with a status of 500 () post.php

I got no error in my Admin panel but when I define a new editor or author role when the user goes the panel to edit or add new page nothing works, no button, no page builder and nothing and He got ...
zEn feeLo's user avatar
  • 207
0 votes
1 answer
152 views

Automatic chage password of pages after some time

Hello any idea how to make a page I publish to chage the password after 2 days automatically (I am looking for a plugin or something else I can implement)? Right now I am using the pages to present ...
GeorgeMat's user avatar
0 votes
3 answers
169 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 ...
livinge123's user avatar
0 votes
0 answers
350 views

Wordpress Frontend Page using Plugin

I'm trying to create a front-end page using the WordPress custom plugin where I want to create a custom registration page. I have created a boilerplate plugin, where I can only activate and deactivate ...
Ramesh KR's user avatar
  • 101
0 votes
0 answers
127 views

Randomize post (and page) IDs on generation

I'd like to have my post (and ideally page) IDs being random (not sequential). Just like what this plugin does, but for posts and pages - for an added layer of security (not that my tiny site needs it,...
Dan's user avatar
  • 1
0 votes
0 answers
34 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 ...
Kimberly's user avatar
9 votes
8 answers
17k views

Is there a way (plugin?) to restrict a user to being able to edit just one page?

We use wordpress like a CMS and would very much like to allow users to have a "homepage". Ideally they'd be prevented from mucking up the whole site. Is there a simple way to limit users editing ...
Tom Wright's user avatar
0 votes
1 answer
401 views

Create a blank admin page from plugin

is there an opportunity to create a blank admin page in wordpress from a plugin or theme? I mean like the theme customizer without the admin bar or the sidebar menu. Jonathan
Jonathan's user avatar
0 votes
2 answers
138 views

How to Disable Auto Executing Script in A Particular Page Only

I used this https://wordpress.org/plugins/mailchimp-wp/ plugin to add an opt-in form on every page. Now I want to disable a page to auto-insert this form and make a landing page. I'll use a different ...
Mohsin Alam's user avatar
2 votes
2 answers
2k views

add_meta_box Callback not being called

I created my first plugin last week that makes a custom post type. As this worked, I copy pasted the code I already had and modified it to be a different post type. For whatever reason however, the ...
Aidan Knight's user avatar
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 ...
Luca's user avatar
  • 19
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 ...
Karolina's user avatar
-1 votes
1 answer
2k views

How do I add custom fields to the "Edit page" admin screen?

I'm writing a plugin to add a set of custom fields to the "edit page" admin screen, using Custom Meta Boxes 2 plugin. That's what I wrote so far: <?php /** * Plugin Name: foo Page Banner * ...
ifthenelse's user avatar
1 vote
0 answers
28 views

(FES EDD) New vendor submission page is blank

When someone signups as a vendor and tries to post a new submission(service), when its posted the page is blank: https://markety.gg/downloads/demo-from-dilip In the backend, the submission is ...
valez's user avatar
  • 11
0 votes
0 answers
2k views

How to remove a css class for any wordpress page

I need to remove a class for a wordpress page without using javascript, can it be done with php? or any wordpress function?. the thing is the following: I'm using a plugin and this plugin uses a class ...
Kenny Amaro's user avatar
0 votes
1 answer
580 views

Add_Meta_box to custom page (formidable edit post)

I'm working on a minor "project" on my wordpress site, and im trying to add a custom metabox to the formidable - edit post(page?) screen. But i seem to be unable to figure out how to do it. ...
Mac's user avatar
  • 313
0 votes
1 answer
326 views

How to disable users to view Other pages

I have a membership website where my users can create their own page. I use below snippets in function.php to remove the options of published, trash etc. of other users and only show "mine". /** * ...
Deb's user avatar
  • 3
2 votes
1 answer
5k views

Create a custom page template inside my wordpress plugin

I'm developing a Wordpress plugin and I want to create a file to where I want to redirect the user to show some information. I know that a perfect solution for this is using Wordpress custom pages. I'...
user1517951's user avatar