WordPress is an open source content management system running on PHP and MySQL, and often used as a blog engine. WordPress questions not about programming are best asked on http://wordpress.stackexchange.com/
1
vote
2answers
34 views
Query to add taxonomies terms in WordPress
I am using JSON API plugin for wordpress and able to add info to meta boxes (custom fields) to any custom post type but cannot do the same with taxonomies.
The code for meta boxes (custom fields) ...
0
votes
1answer
6 views
Conditionally alter next_posts_link() / previous_posts_link() in Wordpress
I have an archive template I'm working on, and at the bottom of the page I'm using
<?php next_posts_link("« Older Posts", $wp_query->max_num_pages); ?>
<?php ...
0
votes
0answers
5 views
Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects for local wordpress site
I recently moved a wordpress site from a server to my local environment, and I am getting the following error when I try to access the wordpress site locally on my computer:
This webpage has a ...
0
votes
1answer
8 views
Get value from option tree wordpress
I want to be use some sliders in my wordpress theme. I want to select them in my theme option. I am using the code below.
<?php
$slider_select = get_option_tree( 'slider_select', '', 'true' ...
3
votes
3answers
183 views
Is Ajax in wordpress
Is there anyway to detect if the current server operation is currently an AJAX request in Wordpress?
For example:
is_ajax()
1
vote
0answers
9 views
WP Ecommerce: Display the “Order Notes” in Sales Log
I have the following function that adds a column in the Sales Log so that I may show the Order Notes. Adding the column is good and showing the id of each item ($item->id) as test is good. Where I am ...
0
votes
2answers
29 views
Why every request is being processed by PHP-FPM? (even if I'm using Cache)
I'm running Wordpress with: Nginx + PHP-FPM + APC + W3 Total Cache + PageSpeed.
After 3 days researching and configuring, I succeeded to configure.
Running "top" and hitting some cached pages, it ...
0
votes
1answer
12 views
Accessing wordpress database in themes includes folder
So I have a plugin that needs to read off a JSON file that I have included in my template. I have all of my queries set up on a custom template that pulls in the correct data so I know the problem ...
1
vote
2answers
174 views
How to get image attachments from multiple (specified) posts
I'm looking for a method to pull thumbnails as well as the source for the large image (to be used as a mini gallery) that pulls image attachments from multiple specified post ID's.
Basically a ...
0
votes
1answer
21 views
Using WordPress functions on an external page
So I need to grab some data from my main WordPress site and use it on an external page.
My WordPress site is located on the root of my domain while the external page is under ...
0
votes
0answers
34 views
Pass variables with url in php as I am integrating payment gateway in wordpress of payu
$url = 'https.secure.payu.in/_payment';
I want to pass the variables to the that site. like merchant key and
other variables values. How I have to approach this.
And values I have passed like ...
0
votes
1answer
11 views
Specialized template for subpages?
If I have a page named 'events' (of which the specialized template will be named 'page-events.php'), is there any way to have a specialized template of a subpage 'events/event-sub-page'?
I can't seem ...
0
votes
2answers
22 views
Next Previous Post in wordpress with previous / next link with title?
I recently tried the previous post and the next post button link. I do that with image in the left and right side of the site.Its working perfect.But i didn't know how to do this
For Example:
...
-4
votes
0answers
16 views
Link a Google map to a list view
I've seen examples of a Google Map linked to a list view, but haven't found how to integrate these two. An example of what I'm looking for: airbnb has almost exactly what I need.
I'm using Wordpress ...
0
votes
0answers
7 views
Update wordpress table after pressing button
I'm trying to create a plugin for Wordpress to update a variable in a database table I created. The database stores a post ID and some other stuff and I've got an admin page with a form where a new ...