Unanswered Questions
4,334 questions with no upvoted or accepted answers
0
votes
1
answer
13
views
Redirect to non-Wordpress version of home page for search results via index.php customization overwritten
Because the Wordpress pages in my web site can have an extremely unacceptable 2000+ millisecond TTFB, non-Wordpress web pages has been my approach. By saving large HTML blocks in a couple of ...
0
votes
1
answer
22
views
Custom post type removing /page/2/ from URL when trying to access it
I made a shortcode to list form entry data that paginates using paginate_links(). I added this shortcode to a regular page and it works fine. If I click on page 2, it refreshes the page and adds the /...
0
votes
0
answers
16
views
Wordpress site calling debug.log and .user.ini at certain hour
Im having a hard time understanding what is this behaviour. I have around 300 Wordpress Sites on two big servers. They normally work pretty well, but from some time to now, they started to have a ...
0
votes
0
answers
20
views
Error message not appearing in error email or in the error log
I am developing a plugin. I am getting an error when activating, but I can't find out what is causing the error, even which file is causing the error.
I don't receive an email for the fatal error, and ...
0
votes
0
answers
22
views
Put ACF function output code the_terms
I would like to put an ACF field in the of my the_terms function, is this possible?
Because I can't figure out how to put it.
<?php $dev = get_field ('my_field', 'option');?>
<?php ...
0
votes
0
answers
25
views
Get User By Email - Not Working with Variables (PHP)
I'm trying to return user data based on an email input, code is simply:
$email = '[email protected]';
$user = get_user_by( 'email', $email );
This returns nothing and when I try filter_var($email, ...
0
votes
0
answers
47
views
Are there any legitimate reasons for a web browser to directly access wp-includes/*.php?
This question would appear similar to Deny php execution in /wp-includes - using .htaccess in /wp-includes VS root folder - but is different in that that question asserts the questioner has already ...
1
vote
0
answers
13
views
Custom signup redirection to external URL not working
I am using User Registration plugin to register my users. I have created a widget to show a modal with Signup and Login form. I have one more API where the user gets created from this same form. So I ...
0
votes
0
answers
19
views
Same Custom Post Type Slug and Custom Taxonomy Slug, with hierarchial unique permalink structure
I am new to wordpress custom post type and re-writing urls'.
I have created a Custom Post Type with slug 'industry' further re-writen to 'industries' and Custom Taxonomy associated to it with same ...
1
vote
1
answer
63
views
Load More : Admin Ajax 400 Bad request, returning 0
I've been struggling to create a Load More button on a WP project. Basically, I use the Admin Ajax at our disposal when using WordPress. I also use the fetch API to communicate with it, via my load-...
0
votes
0
answers
11
views
Capture the Selected Radio Button Value between two files in wordpress theme
$html_output .= '<div class="form-group">
<label><input type="radio" name="driver_type" value="society" checked required> ...
0
votes
0
answers
35
views
Changing upload directory temporarily
I have various media file uploads that I need to section off into different subdirectories, for example:
example.com/assets/Uploads
example.com/assets/team
They all go under "/assets" but if ...
0
votes
1
answer
29
views
What is different about using admin-ajax.php in an endpoint and just submitting a form from the front end?
I have created an endpoint with the following php code. The code is currently allowing me to receive the correct pdf but none of the information from the $page is populated in the pdf.
The $page is a ...
0
votes
0
answers
29
views
Getting table to format properly in RSS feed emails
I have a post with a tablepress table with many columns. When the post is added to RSS, Mailchimp emails it out, but the table is jumbled due to the many columns squeezed together.
I found the table ...
0
votes
0
answers
22
views
WordPress Create New Role Just to Manage Users?
I'm trying to create a new role where the only thing this role can do is manage/add/edit/delete users in the admin.
add_role('test_role', 'TEST Role', array(
'read' => true,
'...