0
votes
0answers
18 views

Create a list of sites on the network (multisite)

I'm using shardb which splits the database into multiple. I'm trying to make a page that will list all the sites on the network but I'm unable to do it cause they're on multiple database so this theme ...
-1
votes
0answers
10 views

WooCommerce get Order email [on hold]

i have been searching for a while, how do i get the email belonging to the order, i am operating inside a class that extends WC_Payment_Gateway, specifically the method generate_form. Now the ...
1
vote
1answer
29 views

Turning the read more link into a button [on hold]

I want to change the read more text to translate it and add a background to it to make it look more like a button. As it is done here: http://unaventananuevayork.com/. I´m using ultimatum theme and ...
0
votes
2answers
25 views

How to change the default class for the widget title?

I would like to change the default class of the widget title. Currently it is h2 and I would like it to be h3. I have seen there is the option of customizing css so that h2 looks like h3. #sidebar h2 ...
1
vote
1answer
19 views

How to find meta entries with their posts missing via SQL?

I'm looking to write an SQL query to do the following: Select all postmeta rows where the meta_value = a post id that does not exist. For example, postmeta meta_value may equal 235. Usually this ...
0
votes
0answers
17 views

Displaying a list of custom field values alphabetically [on hold]

I'm pulling in a list of custom field values, but I'm struggling to make it filter alphabetically... This code pulls the list perfectly - <select name="person" tabindex="1" class="pretty ...
1
vote
1answer
33 views

What's wrong with my date_query?

It's WordPress 3.9 "Smith". I'm trying to implement a new Archive page as per the suggestion of @Milo. $categories = get_categories( $cat_args ); //it's NOT important for the Q, as it's fetching ...
0
votes
2answers
51 views

wp_ajax action is not running

I'm writing a plugin. I want to run the method get_my_option when someone pressing a button in the settings page of my wordpress plugin. The ajax call is made but the method never runs. In the page I ...
-2
votes
0answers
9 views

Trouble with latex set notation

I am trying to write that y contains the elements a,b and c and that y is a subset of x and that x contains {a, b, c} and d and e. However, my latex code doesn't parse. I have been trying this for ...
0
votes
1answer
12 views

How to set search query for joining two tables in sql?

What's the wrong with this query? SELECT l.company_name,DISTINCT c.sub_cat_name FROM tbl_listing l,tbl_sub_category c WHERE l.company_name LIKE '%cy%' and l.city_id='2' and l.area_id=23 ORDER BY ...
1
vote
1answer
22 views

Custom fields on a virtual page

I've used Dave Jesch's solution for making virtual pages (from content temporarily saved in a custom database table, updated from an RSS every four hours). See more here: ...
0
votes
0answers
18 views

How to relate multiple CPTs via Custom Taxomonies?

I have 3 custom post types - Events, Sessions and Speakers. Events have multiple Sessions. Sessions have multiple speakers. Speakers can be at multiple everything. They all have their own ...
0
votes
0answers
22 views

Error Notice: Undefined offset 0 on query.php line 2493 [on hold]

I am getting the following error only when $cat_ids is not empty AND $tax_ids is empty: Notice: Undefined offset: 0 in /home/user/public_html/site.com/wp-includes/query.php on line 2493 ...
0
votes
1answer
21 views

Get all fields inlcuding “ACF” (Advanced Custom Fields) columns in wp_query

When retrieving posts with wp_query how do I make the loop contain the acf fields? $args = array( 'post_type' => $postTypes, 'posts_per_page' => $numPosts, ...
0
votes
0answers
22 views

Upgrading wordpress from 3.5.8 to 3.8.2 with multisite

First of all, I want to introduce myself as a novice Wordpress developer and dig out questions in this forum before posting here. So, don't mark this question as duplicate. I have a wordpress ...
0
votes
0answers
25 views

Proper output of post classes using apply_filters

I added this to my functions.php to show custom taxonomies as post classes: add_filter( 'post_class', 'custom_taxonomy_post_class', 10, 3 ); if ( ! function_exists('custom_taxonomy_post_class') ) { ...
0
votes
0answers
23 views

wp_dropdown_nav function to list menu items

Is there a wp_dropdown_nav function to list the menu items in a dropdown the same way as like in wp_dropdown_categories. I need to display a menu when the media size is greater than 480px and ...
-1
votes
0answers
19 views

User blog in wordpress

Is it possible to let users build their own blog? What I need is a user blog portal that allows users to post their own articles, and have their own blog portal.
0
votes
0answers
10 views

wp-members plugin create a default form in all pages [on hold]

I have installed wp-members plugin, and after activation, we just use the short tag in registration and login page. That works fine, but the registaration and login form is also shown in the footer of ...
1
vote
2answers
27 views

Post.php - Conditional statements for new post and edit post

This question came up when creating a custom meta box for the edit.php page. Is there a conditional statement to target posts that are already exist vs posts that are not created yet? The idea: If ...
1
vote
0answers
15 views

Multiple pages displaying “Latest Posts” Content

My index page is set to show the latest posts. It have a custom option to display it with a "grid" format and another option to display only one post per row with an excerpt. I want to set two ...
1
vote
0answers
5 views

Jetpack Blog Subscriptions on Multisite

I am using Jetpack on Multisite. When I connect with WordPress, it note the MultiSite Blog Address, and uses this when a user subscribes to get emails for any posts from the site. Subscriber get ...
1
vote
1answer
13 views

How do I add an admin notice within javascript in the admin interface for posts?

I want to use javascript to add a notice to the top of the wordpress page just like they do when auto-saving the page. But in looking at the DOM, I don't see any special div that I could find to add ...
0
votes
0answers
14 views

Can't view network plugins.php or upgrade-core.php on multisite

I have a network with 5 or 6 sites. In the network admin panel I can see all pages except the /wp-admin/network/plugins.php page and the /wp-admin/network/upgrade-core.php page. Both of those files ...
0
votes
0answers
18 views

query_posts with sorting on a custom datestamp

I have a custom meta field that I want to use to sort with query_posts but its not ordering my posts properly since it is a datestamp (i.e. 04/21/2014) and its treating it like a normal text string. ...
0
votes
0answers
16 views

Why isn't my registered sidebar showing up in the admin?

I'm using sidebars in my mega menu drop downs to let the admin add widgets specific areas of the menu: <ul class="sub-menu"> <li class="sub-menu-item first"> <ul> ...
0
votes
1answer
21 views

Can user meta be shown or hidden depending on user logged in status?

Can is_user_logged_in be combined with jquery somehow to add/remove fields wrapped in a certain class? More specifically: I want to wrap the users' phone and email in class "private". Then if the ...
0
votes
0answers
19 views

Image X or Image Y Based on Meta-Box Input Value

I have a meta box for a film review test site I'm trying to build. I have 3 fields in my meta box, they are $director, $starring and $rating. I want to take the rating, and put it into a page ...
0
votes
1answer
26 views

Trailing slash at the end of permalink loads faster / better SEO?

Is it true that if you put a trailing slash at the end of the permalink, it would load faster for a single or a multisite WordPress post? Also, is this better for SEO?
0
votes
2answers
57 views

Broken CSS after changing the site URL

I have a self-hosted Wordpress blog on my home server. Previously I accessed it directly via its original IP address taken from DHCP, but now I have configured a static IP address for it. The problem ...
0
votes
1answer
12 views

Call to undefined function error after adding add_filter to wp-config

I am getting Fatal error: Call to undefined function add_filter() in example.com/wp-config.php on line 20 after adding add_filter( 'auto_update_plugin', '__return_true' ); to wp-config.php My ...
1
vote
0answers
40 views

How to get Wordpress to save upload file beyond web root

I am using nginx on a multisite install. I am trying to get Wordpress to save uploads to a folder beyond the webroot : /var/www/vhosts/mydomain.com/private as opposed to ...
0
votes
0answers
15 views

ACF media fields

I'm using ACF to add galleries to a post type. In the gallery field you can click edit on an image and type Title, Alt Text, Caption and Description. These seem to be media related fields. I'm ...
-1
votes
1answer
37 views

Hardcode a form in Contact Form 7 [on hold]

I've been digging a little into Contact Form 7 source code without success, but I was wondering if, like in Advanced Custom Fields, it's possible to hardcode a complete form (fields, recipients and ...
1
vote
1answer
26 views

Why does dbDelta() not catch MysqlErrors?

From what I can see, dbDelta() is designed to suppress database errors that occur during its operation. Generally speaking, this seems to be the case, but New Relic is still reporting MysqlErrors ...
0
votes
1answer
22 views

Using Wp_Query without the loop?

I want to query for posts with a certain meta value. I would use the WP_Query but when in a loop (correct me if i am wrong.. I am learning wordpress; is it only when in loop? is the the_post() that ...
0
votes
2answers
16 views

Automated Footer information

Working on a theme and I'd like the copyright and title texts on the footer to be automated. It works but the tittle switches to the current page instead of the website's main title when you switch ...
-2
votes
0answers
20 views

Include one more check submit [on hold]

I have sitemile project theme installed and i need to make it work only with credit system. One of my tasks is when some user bids a project . There must be an checking on form submiting that ...
1
vote
1answer
18 views

Add “Delete” button to my Theme

I'd like to be able to delete my custom theme from within Wordpress. This option is available for the default themes, via the screenshot link below. There is a red "Delete" link in the Theme ...
0
votes
3answers
55 views

Style.css redirects to 404 Page not found

I've just uploaded a wordpress site from MAMP to a live site. Exactly the same methods I usually use to upload them, including permalinks and all the usual PHPMyAdmin bits. This time the style.css, ...
0
votes
0answers
17 views

Add new box in new post page to upload file [on hold]

I want to have a custom file uploading in new post page. I need to add a box in post-new.php page to give user allow upload one file and then i have ability to show the link of that uploaded files to ...
0
votes
0answers
34 views

how to load custom single.php?

Hi I have a blog where the categories are news, events and inspiration. These categories are selected using radio buttons on acf. I want to load news on single-news.php while events on ...
1
vote
0answers
107 views

Why is there a status message “302 Found” on top of the site?

I'm confused about current state of my website. Whole website is working fine but on the top of the site it shows a weird message. Please see the image below: Why this message shows up? Is my site ...
-4
votes
2answers
24 views

How to make 3 boxes like this screenshot has?

I am trying to create the 3 boxes that appear right below navigation and the email sign-up form. Is there a plugin to create something like that? Or what is a possible way to accomplish this sort of ...
-1
votes
0answers
10 views

WP plugin import content from wikipedia [on hold]

Is there a plugin which allow users do search from wikipedia and WP will stocks the content in database as a owned site content? I have tried search a lot of this plugin, some are almost but the ...
1
vote
0answers
24 views

Configuring a meta query with multiple post types that have the same relationship on a single page

I am creating a client portal were my clients can maintain their projects and leave feedback. I have two custom post types called "Clients" and "Projects" and they each pull information from one ...
-1
votes
1answer
26 views

Emailing Authors only when a CUSTOM POST TYPE post is published- not when edited later [duplicate]

I have the following function that emails authors of a custom post type when the post is published which is great, but I would like it so that it does not email them on any future edits after that to ...
0
votes
0answers
24 views

Network created blogs URL

I'm building a blog network where people can register their blogs. As default if my domain is domain.com and if user creates a blog, the URL will be domain.com/mynewblog/ Now I would like that all ...
0
votes
0answers
21 views

Menus not showing in the admin menu, after save

I updated wordpress to v3.9, I added several custom links and pages in that menu, saved it and after that the menu editing UI disappeared: Here is image how it looks now and what JS error it ...
0
votes
2answers
19 views

Is there a way to fire other functions from wp_insert_post

I am creating a new post using the wp_insert_post function. Here's what that code looks like: $new_post = array( 'post_title' => $newtitle, 'post_status' => 'publish', ...

15 30 50 per page