Unanswered Questions
5,264 questions with no upvoted or accepted answers
6
votes
0
answers
636
views
How to load paginated post pages via ajax
Here's the case I got: I've setup post pagination for my website and everything works well. Except one thing - on every new page request all the resources are loaded again. This makes the website ...
6
votes
2
answers
2k
views
Admin Area Custom Type Search By Meta Fields Without Title & Content
I have a custom post type that uses several meta fields. In the admin area I would like to be able to search by those meta fields. I have implemented this currently in my functions.php with this code:
...
6
votes
2
answers
688
views
Let readers suggest edits from the frontend
I'd like to make my articles editable at the front-end for any reader who visits the site. (More like a wiki). I don't really want to trouble them through the registration process. I have no idea how ...
5
votes
3
answers
2k
views
Find out what is using PHP sessions in WordPress
Is there a way to find out what is using PHP sessions or spawning PHP processes?
My Wordpress site gets heavy traffic (3.5 million hits per month). We discovered recently that we had permissions set ...
5
votes
1
answer
660
views
Disable plugins on cron and ajax page
I want to disable few wordpress plugins on my cron and an ajax page. I have already tried option_active_plugins filter but it's not working. I have checked and found most of the people say that ...
5
votes
3
answers
1k
views
Making plugin unique to not conflict with plugins with the same name
I have plugin that has the same name as other plugin uploaded to wordpress.org
How can i make it unique so it doesn't share "View Detais" link and auto-update with other plugin uploaded to wordpress....
5
votes
1
answer
597
views
Cropping, Re-sizing and Saving images from one folder to another folder in wordpress
I'm adding an upgrade for the WordPress plugin which I have developed ages ago. This plugin is just a product catalog, so just show products and their images. Products can have more than one images.
...
5
votes
1
answer
12k
views
wp_query->max_num_pages always returns 0 on custom post type
Hi there I am developing a theme where I have to load some posts with ajax, in my index page everything works properly, the problem is when I need to use it on custom post type, I pass the values for ...
5
votes
1
answer
324
views
How can I append custom data to images in the editor?
I've added a custom meta field to my image details so that a client can add a number to their photos (a design choice). The data would need to show up under each image (like a caption) inserted into ...
5
votes
1
answer
4k
views
I want to load post content by categories using Ajax
I have question.
I would like to load post content, custom post, depends on category.
So first of all I would like to have drop down menu which will list all my categories then once user will select ...
4
votes
1
answer
858
views
How can I list only sites that use a particular theme or plugin?
I need to search through dozens of WordPress multisite (network enabled) installs for sites that use a particular plugin.
How can I list only sites that use a particular theme or plugin, preferably ...
4
votes
0
answers
442
views
extend Meta Box / Document Panel
For a project, I'm trying to figure out the best way to implement a checkbox, related to a post type.
What I'm trying to to:
On the final website, there should be a dropdown-button, with upcoming ...
4
votes
0
answers
3k
views
Gravity Forms: Create fields programmatically
Is there any possiblity to create and manage gravity fields dynamically?
I have form with ID 4 with couple fields. I want to add some fields of type checkbox with my own custom external data which can ...
4
votes
1
answer
5k
views
AJAX handler throws 400 (Bad request) - why?
I am trying to apply a "Load more posts" function to a post loop, but I am dealing with a 400 Bad request, when admin-ajax.php is referred to.
The reference I used is this - https://rudrastyh.com/...
4
votes
2
answers
2k
views
Advanced Custom Fields into functions.php
I'm trying to include a few custom fields I've created in my functions.php file so they're native to the theme I'm working on. However they're not showing up on the edit screens of the posts I've set ...