0
votes
0answers
3 views

Plugins missing in front end but appear in backend FTP

So, I'm working with the Advanced Access Manager and then the W3 Total Cache plugins and all of a sudden WHOOPS, there's a problem. First last night: After setting up W3 Total Cache, and then ...
0
votes
0answers
4 views

Divi Theme with Slider Module - on iPhone theme does not work and the slider module shortcodes show in plain text

I am using the Divi theme from Elegant Themes and have inserted the Slider Module to my page. I have it setup properly (according to documentation) and it works on everything (desktop browsers, iPad, ...
3
votes
0answers
13 views

Are WordPress Heartbeat API 'beats' staggered or do they occur simultaneously for all users?

The WordPress Heartbeat API uses admin-ajax.php to run AJAX calls. If User X leaves their browser open, many calls will be made to the server, with each call happening when there is a 'beat'. Now if ...
0
votes
0answers
7 views

Custom Gravatar not working

I'm trying to upload a custom gravatar to wordpress however something is breaking the image link and I'm not sure what or how to fix it. add_filter( 'avatar_defaults', 'new_default_avatar' ); ...
0
votes
0answers
5 views

Facebook share button not displaying

I'm trying to add a facebook and twitter share button to some posts. I'm not getting the fb share button to display. I'm grabbing the code from here: FB DSK I'm using the roots theme so I am adding ...
0
votes
1answer
15 views

Simple/basic use of get_current_screen

I would like to load a stylesheet on only 3 admin pages: post.php?post=7&action=edit post.php?post=10&action=edit post.php?post=18&action=edit I was trying with admin_enqueue_script ...
0
votes
0answers
10 views

Cannot add media to a page

I am unable to add media to a page. I click the button on the page edit page and nothing happens. The web console of firefox says "TypeError: wp.Uploader is undefined". I already tried deactivating ...
0
votes
0answers
16 views

Ordering posts by day (not time) AND meta value

I would like to have a list of posts that is first ordered by day, and then within that day ordered user votes (stored as a meta field). Would it be better to convert each timestamp to the day at ...
0
votes
1answer
14 views

Is it possible to be more page/post specific with admin_enqueue_script?

I am using this code to load a stylesheet in the admin, but only on post.php related pages: function my_enqueue_for_post_pages_only($hook) { if( 'post.php' != $hook ) return; ...
0
votes
0answers
14 views

Get formatted variation name [on hold]

I am editing the "quickshop" plugin that is using ajax to add a product to cart from a modal. The problem is that when I add a product variation to a cart instead of "9-12 miesięcy; 80cm" it dispays ...
1
vote
1answer
17 views

Ordering by meta_value AND date NOT WORKING with wp_query

I want to select posts and custom post type with a specific meta value (mb_home!=0), of last week and ORDER them by mb_home. If they have the same mb_home value, I want them to be ordered by date. ...
-1
votes
0answers
16 views

Best approach to mobile wordpress [on hold]

I've been thinking about this a lot, recently I've been using the Bones Boilerplate which contains several breakpoints in the form of media queries which normally involves overuse of display:none; ...
0
votes
1answer
16 views

Comments not enabled for custom post types

I don't get this at all. I've looked online and I think I did everything I was supposed to, but my custom post type does not display a comments form. In functions.php. where I define the post type I ...
0
votes
1answer
15 views

How to disable autocomplete on the wp-login.php page

It looks like there is not an easy way to add autocomplete="off" to the password input on the WordPress login page without editing the wp-login.php page directly. Is there something I'm missing? I ...
0
votes
0answers
4 views

SQL query returning unknown column error

I have a query such as: $get_cv = $wpdb->get_results( " SELECT * FROM wp_my_table WHERE attr_value=Green " ); And to this ...
-2
votes
0answers
10 views

custom page with masterslider plugin

i have prepared a new theme. i have prepared a single page website. every single section is calling a div. i am stuck with calling masterslider plugin with custom code in first page. and unable to ...
0
votes
1answer
11 views

Add date under slider/grid featured content

I'd like to add post date under slider/grid text (which is category+Title) in my twenty fourteen wordpress child theme. Is it possible?
0
votes
0answers
11 views

Ai1ec - Event Query

In regards to All-in-One Event Calendar: Custom Query - Getting each event Instance post (Here), how do you incorporate this code into my existing code? I'm was calling queries straight from the ...
0
votes
0answers
12 views

Blog guid link is re-directing to a 404 page

I have this link from the wp_posts table http://domain.com/blog/?p=895 But when I put that link into a browser it redirects to http://doamin.com/blog/title-of-my-blog-post/ It is using the ...
0
votes
1answer
21 views

WordPress opens js files as a catalog. Path is right

When I import external js file everything is okay.. no matter if I import it by <script> tag or by wp_register_script function but when i try to import local file everything crashes. Firstly I ...
-3
votes
0answers
20 views

Moving WP to root, fixing it's database

EDIT : Found that my site was hacked and that's why nothing else than the homepage was working! You can delete this post now! I made a site with Wordpress TwentyTen in a sub-folder mysite.com/site . ...
0
votes
0answers
16 views

Need to convert Sitecore blogs to WordPress

To this point, I haven't been able to find very much information on this subject, but I am going to need to convert some Sitecore blog content to a WordPress blog. I'm not new to WordPress, but am to ...
0
votes
1answer
12 views

Update image links in database

I recently changed the URL of a wordpress site and I can't seem to find some of the image links I was able to update most of the links in the wp_posts tables update wp_posts set guid = REPLACE(guid, ...
0
votes
0answers
12 views

How do i set cron job for my WordPress site?

My target is to run a file to be executed on each day whether the WordPress site runs or not. How to execute cron file? I have got stuck in this is issue. This is new task for me and i don't got ...
-1
votes
1answer
12 views

Spam links injected into WordPress site, as viewed in Google Structured Data Testing Tool?

My self-hosted WordPress site is apparently showing links to spam sites inside the Structured Data Testing Tool (of Google Webmaster Tools), but I could not find any traces of these spammy links, ...
0
votes
1answer
43 views

Fetch post meta in the same query as the main loop

I have a custom post type "staff" and each as a custom field "_staff_purpose" (describing its function). I would like that the archive-staff.php template display all staff members, sorted by their ...
0
votes
1answer
42 views

Different header image 'Home' and Pages

I want to use two images in the header. In the home page and single.php is the image I've uploaded in the panel (named logo.png). For pages I want use the image 'logopage.png' (directory: ...
-1
votes
0answers
13 views

session is not generating for sub domain for woocommerce pages?

I have created sub domain from mobile domain plugin, also i am using woocommerce. For all the pages sub domain is working fine but not for the woocommerce pages where session is required. So how to ...
1
vote
0answers
14 views

Check the Version of an Enqueue'd External Library

I want to use an external font library in my plugin, but I want to do a version check first to determine if I should bother enqueue'ing my version or not. I know I can see if a library is already ...
-1
votes
0answers
9 views

Woocommerce Refund Emails [on hold]

I am trying to modify a tutorial over at http://www.skyverge.com/blog/how-to-add-a-custom-woocommerce-email/#comment-553147 I am trying to have an email sent out when an orders order status is ...
1
vote
1answer
30 views

Meta query with string starting like pattern

I have a custom WP_Query with the following meta_query: $meta_query = array(); $meta_query['relation'] = 'AND'; if(!empty($postcode)) { $meta_query[] = array( 'key' => 'postcode', ...
0
votes
0answers
6 views

WP_Customize_Image_Control and selecting from library?

I am adding some theme options, one of which is an image option. $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, ...
0
votes
1answer
16 views

WP_Query on custom post type not displaying, multiple loops & get_template_part

I'm having problems getting my testimonials to display. On page.php I have a testimonials section. So I have a loop that grabs the content for page.php, and then a get_template_part('content', ...
-1
votes
0answers
8 views

Looking for help with ACF fields not showing on a wordpress custom taxonomy page [on hold]

Hi I'm having trouble showing ACF on a custom taxonomy page. The custom tax is 'destinations' with the page being taxomony-destinations.php the field is called 'destination_landing_image. I'm trying ...
0
votes
1answer
22 views

Using $wpdb in a plugin, what sort of data does it return?

I have following code: <?php $q = intval($_GET['q']); global $wpdb; $myoption = get_option( 'fixformdata_options' ); $myoptionValue = maybe_unserialize( $myoption ); $result2 = ...
0
votes
1answer
17 views

Meta Box value not been pulled in

Here is the code that creates my metabox on my CPT named clients it displays fine and seems to keep the value input upon clicking update. The problem is with displaying the value saved within the ...
0
votes
1answer
16 views

Redirect loop when forwarding to mobile site

I have successfully redirected my page to m.example.com from example.com when i open in mobile environment with this code in functions.php add_action('template_redirect', ...
0
votes
3answers
22 views

Include files in child themes, declare in functions.php

I'm using a child theme. I want to make a change to a file which currently resides in: mybasetheme>includes>sf-content-display>sf-post-layouts.php So I copied the exact same file structure into ...
0
votes
1answer
15 views

.htaccess RewriteRule to include post type and taxonomy

I'm trying to rewrite this url www.domain.com/gallery/?university=birmingham to an seo friendly one like this www.domain.com/uni/birmingham/gallery the (?university=birmingham) represent the ...
0
votes
0answers
18 views

How to 'remember' a site member's last visited page?

I've seen this on a couple of sites - they offer a multipage tutorials to site members. When you return to the site, they have a link that takes to the last page of the tutorial you were on. How is ...
0
votes
1answer
14 views

Auto delete Wordpress users according to time

In my wordpress site spam users are registered so i am add mail confirmation to my resister area. And my problem is how can i delete users when not check or activated the mail. is it possible to ...
0
votes
1answer
6 views

How to Add Image to Wordpress RSS-Feed with no Plug-in?

I have searched for adding featuring image to rss feed with no plug-in for WordPress. I have found some examples and applied how it was instructed. But All I have got now is nothing. Still can't ...
0
votes
0answers
13 views

WordPress database error on a query working fine in MySQL Workbench

On activating my plugin Wordpress adds an entry to the error log... WordPress database error for query SELECT * FROM wp_c2pprojects WHERE projectid = 20 made by ...
0
votes
1answer
12 views

Make URL in custom field hyper link

In my WordPress site I have created a custom field for author website link. but I don't know how to make it hyperlink, so people can click on it to surf that website. at this moment it only shows raw ...
0
votes
1answer
22 views

Link to handle $_GET request

I have a set of items retrieved from a database custom table that work. So believe me that $ticket->ID outputs some integer. Say I want to delete some of them. While printing them I offer a link to ...
0
votes
1answer
18 views

Protect wp-login, but get an internal server error

I am trying to protect my wp-login by #Protect wp-login <Files wp-login.php> AuthUserFile ~/.htpasswd AuthName "Private access" AuthType Basic require user myusername </Files> after the ...
0
votes
1answer
16 views

How can I programmatically save data into custom fields that contain serialized data?

I purchased a theme from themeforest recently that has a custom post type. Here is a link to a page that's been created with the custom post type: ...
-3
votes
0answers
9 views

How to have a products list on a single page and let the user check whatever products he wants and then buy all in one go? [on hold]

I'm new to woocommerce. so please suggest me how to go about this. I need to have a list of products on a single page. here's the list: I don’t want the products in a dropdown, but rather as a list ...
0
votes
2answers
10 views

All links in my site start with localhost?

This is my website http://173.214.165.83/. The home page shows, but all links start with localhost/wordpress, rather than the current address, which is 173.214.165.83. The server is windows and runs ...
0
votes
1answer
8 views

Variable scope producing undefined variable notices in included files

I'm building a Wordpress Theme and on the front page the user is able to select how they would like to order their posts. I've then created two functions that take the users selection through the ...

15 30 50 per page