0
votes
2answers
42 views

Localizing script to pass a value to a javascript function

i'm really getting crazy about this. after hours of trials, i can't get out of this. I'm trying to pass a php variable value to an enqueued jquery script but i can't. here is my code. php : ...
0
votes
0answers
13 views

WP_List_Table Bulk Edit Not Showing

I have a custom post item table extending the WP_List_Table class. The table works nicely, I have added bulk delete and it works fine. Its following this tutorial: ...
0
votes
0answers
9 views

Use two Seperate Submit buttons for same contact form 7 and redirect one to other page

I want to use two seperate submit buttons for a contact form 7. One (eg.enquire) to submit form only and the other (eg. enquire and buy) to submit and redirect to other page. How do i do the same? ...
2
votes
1answer
24 views

What are conventions about the schema of the $table_prefix

I wonder if there are any conventions or best practices about the table prefix of any WordPress set up. The official documentation on wordpress.org does not make any statements to that topic. ...
0
votes
0answers
11 views

CSS won't style output of wp_nav_menu() correctly

I'm tyring to create a theme with a horizontal menu that is dynamically streched to fill the container element. I use wp_nav_menu() to fetch a menu from the backend and style it via CSS. Here some ...
0
votes
0answers
14 views

How to use plugin only for specifict page template

I installed welcome message for wordpress like text which is fading out after some seconds automatically and it has no option to set it only on a main page. I'm interesed is there a way to use this ...
0
votes
2answers
2k views

Deregister scripts on unnecessary pages using remove_action

To all would-be close-voters: This question is not a duplicate, because I need to remove all scripts added by plugin using remove_action. In Very stubborn wp_register_script / add_action vs ...
0
votes
0answers
22 views

Safari only bug: script enqueuing blocks other scripts

Looking for some advice. One page of my blog is an angular app that is loaded via systemjs. It loads fine in Chrome (and firefox) on my computers and Android phone. But Safari is very erratic and ...
0
votes
0answers
5 views

Drop down multi column menu Width reduce

I have developed wordpress website using Woo commerce plugin and I have created multi column menu drop down menu. My Site Link Url: Site URl In my Site I have watch brands, knife brands and also ...
0
votes
0answers
7 views

Assign specific user type to specific plugin

I was wondering if there is a way (or even a plugin) to assign a specific user role to a certain plugin. Thanks.
0
votes
2answers
547 views

Get data from Theme Options and use them into meta options field in custom post type

I want to grab data from my theme options and have to use them in meta option fields in custom post types. I know how to grab theme option data and show them on front pages but don't know how to grab ...
0
votes
0answers
13 views

URL rewriting, problem getting arguments

How can I get URL/courses/[course_name] to point to URL/index.php?page_id=127&course_name=[course_name]? The redirection works well but I can't access the course_name argument. In fact, the page ...
1
vote
2answers
34 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 ...
-3
votes
0answers
9 views

How do i get facebook chekins to wordpress site [on hold]

How can i get only facebook checkins to site . I want to display checkins from facebook to site.
0
votes
1answer
16 views

Why I am getting Parse error: syntax error when I use 'wp_is_mobile'?

I am getting following error message : Parse error: syntax error, unexpected '{' in /home/otcpaneluser/public_html/mytheme/header.php on line 1 My header.php have very simple lines of code. Those ...
0
votes
0answers
15 views

How do I change the button “comments”?

How do I change the button "comments" in theme twentyfifteen to "..."? I'm assuming it's in the comments.php file? I could be wrong. I'm referring to this area. prntscr.com/89nr1q <?php /** * The ...
0
votes
1answer
366 views

Unwanted redirect in admin area

I have a strange behaviour on my backend. This is possible due to the way my WordPress is located. I installed it in a VirtualBox, using Ubuntu from the standard repository (i.e., apt-get install ...
0
votes
0answers
20 views

How To Edit Permalink In wordpress page?

i have developed Watch shopping site .its site about 15 branded . i want change page Link . now Gucci page Link Permalink: http://watchedge.com/product/gucci/ But My client Wants TO link main ...
0
votes
0answers
2 views

Wodpress Drop down menu Width reduce

I have developed Wordpress site using Woo commerce plugin and i have created drop menu. this My site take Looks at this My site LInk In my Site Have only watch brands and knife brands some unwanted ...
4
votes
1answer
112 views

Add a custom tab alongside Screen Options and Help

Using the WP_Screen object, is it possible to add additional tabs to a custom admin settings page? I already have Screen Options and Help, but I also wish to add a Import/Export tab. I've looked in ...
0
votes
2answers
302 views

How to include DW Question & Answer plugin in front page template?

I tried using a shortlink code, but only the link is displaying and it isn't working either. <?php the_shortlink('http://abc.com/?p=52'); ?> I am using DW Question & Answer plugin and ...
0
votes
0answers
8 views

Rewrite url without flushing the database?

Is it possible to create a rewrite in WP dynamically such that no flushing is needed? i.e. not storing the rewrite in the database? Only defined in my plugin code?
0
votes
1answer
472 views

Hide Meta Boxes for Non-Admins

I have a review based wordpress site where I have a page for each different company where there users can review them. The theme I use adds a custom post type called "review" and I have used Press ...
0
votes
0answers
6 views

Send post via XMLRPC with open comment

I'm trying to send post via xmlrpc to wordpress but I don't know how to send comment_open to the wordpress. Is there any options to do so? I read the documentation but didn't find any option regarding ...
4
votes
1answer
174 views

Multisite Domain Mapping with SSL

I've done some searching but couldn't find this issue elsewhere, apologies if this has already been discussed elsewhere. I've set up a Multisite install; and am trying to set up domain mapping for ...
0
votes
0answers
7 views

How could I add button next to “edit image” button in “Attachment Details”

How could I add button next to "edit image" button in "Attachment Details" This is the location I would like to add button, Do you have any recommend?
4
votes
2answers
2k views

Uncaught ReferenceError:switchEditors is not defined

Is anyone familiar with this error? It is causing TinyMCE to break in my Wordpress theme. In console it gives me these two errors both seem to originate from wp-admin/post-new.php Uncaught ...
0
votes
0answers
4 views

Parent menu not active anymore after page url rename

I updated some of my page urls and now the parent menu item is not active any more when I'm on a child page. Why's that? Do I need to refresh something?
0
votes
1answer
15 views

What is comment_karma?

doing a var_dump on $comment object, I mentioned there is a comment_karma property. What is that?
0
votes
1answer
12 views

Combining similar shortcode functions?

function customfield_1_shortcode( $atts ) { if ( get_post_meta( get_the_ID(), 'customfield1', true ) ) { $customfield = get_post_meta( get_the_ID(), 'customfield1', true ); ...
0
votes
1answer
27 views

Force SSL 100%?

In order to completely move from HTTP to HTTPS, is it best practise to export the database and replace all http:// links with https://? I did that and also made sure that 100% of the links in the ...
0
votes
1answer
11 views

Stop the execution of foreach loop which extract data from array?

In detail the condition is There are multiple new users to whom admin want to send welcome message but only once for each member. I have done sending message but if the member refresh his email page ...
1
vote
3answers
1k views

Automatically Assign Parent Terms When A Child Term is Selected

I have deep hierarchical taxonomy and I want to have all parent term assigned when I select a child term. I need it for category structure on a online listing/classified site. CPT name: product ...
0
votes
2answers
630 views

How to hook into the quick edit action?

I found this solution to automatically assign parent terms when a child term is selected, which is working fine for the save_post hook: add_action('save_post', 'assign_parent_terms'); function ...
0
votes
1answer
357 views

The next_posts_link() show me a aditional page in blank

The description Hi, I am using a custom post type and a loop through the values ​​I show. I'm using a term ($ term) that comes from a previous page in the loop to only show related items. Just for ...
2
votes
3answers
291 views

Implementing DNS Prefetching with WordPress

I'm not sure whether my question sounds promising or not but what I'm going to ask is very much relevant. So please read the full question before down voting or flag. I'm trying to implement DNS ...
2
votes
7answers
3k views

Multisite database upgrade SSL error

I have upgraded my Multisite setup WordPress to 3.6.1. And after that, when I do Network Upgrade > Database Upgrade it's showing: Warning! Problem updating http://www.example.com/site1. Your ...
0
votes
0answers
10 views

Sort custom post type by multiple custom fields

I have 4 text fields in a custom post type. How can I sort the posts by this order of text fields: brand_fbn - model_fbn - year_fbn - plate_number? This is my code, which isn't working: $ins = new ...
0
votes
1answer
2k views

Sticky menu for WP custom menubars

This seems simple, except that I am not able to figure it out. In a wordpress theme, how can I make a custom menubar below the header image stick at the top after scrolling down the page? Example ...
0
votes
0answers
7 views

How to run onclick in text editor? (Follow-up question)

This is a follow up question from How to wp_enqueue_script with html? I have html tags with onclick. I place it on a page, but the divs with onlick are not properly working. How to fix this? Here's ...
0
votes
0answers
10 views

I can access subdirectory, but not files within it

I want to first point out that I have tried to solutions listed in this post and in every case it either hasn't worked or hasn't been appropriate for what I'm trying to do. I have tried several ...
0
votes
1answer
473 views

“Item not updated” when try to change category properties

When I try to change some properties for some categories (in most categories it works without any issues), like category name, or description, I see that it is not updated, and I get an issue "Item ...
0
votes
0answers
5 views

WooCommerce product option without tax

I have got a new request from client. Basically he wants to add an additional charge to his products. This charge is tax exempt, but the product itself has a tax class. The charge should be shown as a ...
0
votes
0answers
4 views

Not getting confirmation link with email change

I'm requesting a change for my email address. I get an email at the old address saying a change has been requested & to delete the message if I made the request. But when I log back in, even days ...
0
votes
1answer
461 views

Update user meta on custom wordpress form and redirect

I have a fully functioning custom wordpress form that updates the user meta when they are logged in, however when I submit it just reloads the same page I am on, I am trying to get it to redirect to a ...
0
votes
1answer
12 views

Add a function call after content automatically?

I want to add a function call in the single post page after the content, one way is that I add it in the single page template, eg. <div id="content"> <?php the_content(); ?> ...
0
votes
1answer
575 views

Custom admin email for new user registration

I've scoured the web for the solution to this small issue, but I keep getting results that tell me how to customise the notification e-mail not the email address. I have the admin email address in ...
-1
votes
0answers
13 views

What is wrong with my logos on my Sponsors Page

http://www.caldwellnightrodeo.com/sponsors/ - this is my website and my logos are looking all scrambled. The last ones look to be even in another row. Any idea on what might be happening ? Thank ...
1
vote
0answers
19 views

How to restrict access to specific pages on the back-end?

Before anything... I understand how roles and capabilities work. And there are tons of plugins that help you manage those. Roles and capabilities can only be so specific though. Is there "wordpress ...
0
votes
0answers
6 views

WooCommerce: Cross-sell show un catalogued products

I want to show a product as a cross-sell product, but not in my catalog. It seems there is a filter that removes un catalogued product from the cross-sell list. Can anyone help me remove it?

15 30 50 per page