0
votes
0answers
7 views

Wordpress 4.2 mce-views migration guide?

With Wordpress 4.2 planned to be released next week, I was wondering about the finalizing of the new WP-views API. Apparently even the more simple examples of mce are failing in 4.2. I know that api ...
0
votes
0answers
11 views

Migrating site from one server to another - getting 500 error

I FTP'd over my files and have transplanted the database. I want to keep the old site going with as minimal downtime as possible so I used the host file method to access the site on the new server ...
0
votes
2answers
20 views

Get term name without a foreach loop

I currently have this: <?php $terms = wp_get_post_terms( $post->ID, 'artist-genre'); foreach($terms as $term) : ?> <li> <?php echo $term->name; ?> </li> ...
0
votes
0answers
9 views

Wordpress blog subscribers get a phishing alert

The subscribers to my blog (http://harshtechtalk.com) get the following warning as header: This message may not have been sent by: <personal_email_id> Learn more Report phishing when they ...
0
votes
1answer
8 views

how to stop wordpress admin menu from scrolling with page

Ive already answered this question but when I came on here I noticed this question hasnt been asked, but the question is: How do you stop the admin sidebar menu from scrolling with the page?
0
votes
1answer
19 views

How to register a menu based on a ACF condition

I am trying to register a Wordpress menu, depending on a ACF field condition. $logo = get_field('logo','options'); if ($logo) { register_nav_menus(array( 'brand_centered_left' => __('Brand ...
0
votes
0answers
7 views

Showing Woocommerce cart in a specific menu?

I've tried adding Woocommerce cart in the menu. And I found this code function add_last_nav_item($items) { global $woocommerce; return $items .= '<li class="menu-item-cart-item"><a ...
0
votes
0answers
5 views

Assign products from categories to custom attribute in Woocommerce [on hold]

I'm looking for a way to bulk assign products from specific categories to custom attributes. For example, I have over 700 books that are assigned to product categories alphabetically, like A-C, D-F, ...
1
vote
1answer
18 views

Sorting Media Library by Author Name

When attempting to sort my media library uploads by author's name, it appears that WordPress will only sort by author ID ( ...
-1
votes
0answers
8 views

filter posts based on custom fields

I wish to create a wordpress website with a custom post type, I wish to display the information from this custom post type in a sortable table. The information that will be displayed will be from ...
0
votes
1answer
9 views

Do these stats indicate the error in a crashing WordPress site?

This wordpress site crashes several times a day. Here are the stats I can find, does it seem big enough to be causing issues by its size alone, or is not working properly? It has 0 plugins and a ...
0
votes
0answers
14 views

Mootools, Wordpress, Print Nuke problems

I am wanting to implement a code for eliminating unwanted DIV's during printing that I found here: http://davidwalsh.name/css-print-javascript-double-click I got this working correctly in a regular ...
0
votes
1answer
7 views

User biographical information erased on login

When any user logs into my Wordpress install, it deletes their biographical information for some reason. I know this by watching the value of a query similar to select*from wp_usermeta where ...
0
votes
0answers
5 views

Show top comments on blog page [duplicate]

I have a custom template wordpress and on the Blog page with contain list of blog posts, I want to show top 5 comments after the "Read More" link after each post. What code I should write there to ...
0
votes
0answers
3 views

Display custom text in Product page depending on Product Category (WooCommerce) [on hold]

I need to display a custom notice (in text format) in my Product Page for a number of products depending on the first-level Product Category they belong to. Categories depth may vary but the custom ...
1
vote
0answers
6 views

How to check for specific content in comments in the loop

I'm using the following conditional code to check if any comments on a given post contains a certain string. -The word 'CHANGES' in this case. I have it working if I specify the comment_ID directly, ...
0
votes
0answers
7 views

WP CLI > Error: Site not found

I can create a site using wp site create --slug=<slug> --title=<title> --email=<email> but if I try deleting it with wp site delete --slug=<slug> where <slug> is exactly ...
0
votes
1answer
15 views

Trying to run website a php file is blank

I have a local copy of a website I am working on and I just found that the index.php files are almost empty. They contain only an opening php tag followed by a commend that says: "Silience is golden." ...
0
votes
0answers
7 views

wp_tag_cloud based on user id

I am using the wp_tag_cloud, however i want to filter this by the taxonomy and a user id, thus having a user tag cloud, I have seen a few hooks but not had much success. So wanting to keep this on the ...
0
votes
1answer
19 views

How to trace shortcode to its functionality

I am trying to modify a plugin and I need to trace its shortcode to the functionality page(s). Is there a way to parse a shortcode?
0
votes
1answer
17 views

Calling related posts to a custom post type, taxonomy & Tag id

I'm trying to call the related posts of a custom post type by the category of the post that is loaded on the page. Below is where I am at - <?php ...
-2
votes
0answers
21 views

Separated Comment from Post

I'm designer with little knowledge of wordpress (newbie >_<) i use Worpress starter theme from : html5blank.com i want to separate COMMENT section from POST section, this still on one single.php ...
0
votes
0answers
14 views

shipping method problem with woocommerce [on hold]

i have a wordpress with woocommerce , i have three different shipping method -free shipping - flat rate -local pickup now my problem is on every product after go in checkout or cart not show the ...
0
votes
0answers
15 views

how to change the wp register page url from www.site.com/register-2 to www.site.com/register

I was playing around with buddy press and had to create and delete the register page before i found the register page properly on my site. I want to keep my site clean and now when I create a new ...
1
vote
2answers
20 views

How to change the color theme per post?

A client of mine wants to be able to choose between a dark and a light theme each time he publishes a post. What's the best way to change the color of a theme per post? I thought in creating a ...
0
votes
1answer
18 views

New Gmail email to a WordPress new post? [on hold]

I have seen several paid, free, trail, etc services (Zapier, IFTTT) where you can give your gmail email login info and WordPress setup info and it will automate certain processes. For example, once ...
0
votes
1answer
13 views

Show/Hide text after the first paragraph

How do i create a Show/Hide script after the first paragraph of a text? The idea goes for the_content, where after the first paragraph hide the remaining text with an icon (arrow) and close to reveal ...
2
votes
1answer
18 views

WP_Comment_Query pagination, delving into the unknown

I am aiming to pagination WP_Comment_Query(). It appears this is either taboo or there is no viable information about it online, not anything. Why? Is it possible? If so, how?
0
votes
0answers
16 views

W3 Total Cache does not purge page cache on post update [on hold]

Using the W3TC plugin on a large multi-site installation. Only page caching is enabled right now, but the cache does not purge when it should. Clicking on "Empty All Caches" in the plugin usually ...
-1
votes
0answers
13 views

best place to fix corupted links on invalid search caused by spider/bot [on hold]

My WordPress theme has a custom page title when someone doesn't enter a 'valid' search e.g. ?s= instead of ?s=somesearchterm The page title returned is To search the site please enter a valid term ...
4
votes
2answers
216 views

Why do you need to wrap a function inside array($this, function)

I'm a newbie at PHP and wordpress so please be gentle! I'm building a plugin - following a few tutorials, getting it all working. My question is why is the function I want to call wrapped up in the ...
0
votes
0answers
8 views

Update Woocommerce Order via XML [on hold]

I'm looking for a way to automatically update the status of an order in woocommerce via a file (xml?). I am rebuilding a website and part of the request was to auto export a XML file for each order ...
0
votes
0answers
12 views

Custom post category page not working

I created custom post taxonomy called 'blog' I use archive.php to display whole posts from this category. But when I click to view the category page it throws 404-not found error. Link to the ...
1
vote
1answer
20 views

Add get_option to jquery

I have created a settings page that contains various radio button options for a custom plugin. A radio button I've created is to 'display dots' with the values yes or no. I can get use the value any ...
0
votes
0answers
10 views

Multisite - change path of current site

I've got a multisite with a site that has a path /sites/A. I'd like to host it as follows /sites/department/A. However when I change the Path under Sites > Info to /sites/department/A (and tick the ...
0
votes
1answer
18 views

Advanced Custom Fields not displaying

my php skills are pretty limited and I am pretty much stuck with the following issue. Why is my Custom Field (placed at the bottom) not showing up after the posts blocks? Here is what my code looks ...
-1
votes
0answers
12 views

Contact Form 7 not sumbmating data to Velocify using 3rd Party Integration plugin [on hold]

I have an CONTACT FORM-7 form on my website with following fields mapped to Velocify: When I submit the form the values are not posting to the 3rd Party Service(Velocify) DEBUG mode is ON Bellow ...
1
vote
1answer
31 views

Execute Closing Shortcode After the_content

I need to execute a short code on thousands of posts which don't already contain the short code as i've added some manually. I'm using another function to add the opening short code after the 2nd ...
0
votes
0answers
4 views

Detect current user during save_post or post_updated

I have a function, hooked to the save_post ( post_updated ) action. I want to detect who is the user saving ( updating ) the post?! function my_fun(){ global $user_ID; $user_info = get_userdata( ...
-1
votes
0answers
11 views

How to show new content notifications in a specific category using last_visited? [on hold]

When I go to Facebook, there's a little red box with a number in it letting me know that there's been some activity that I've missed. I'm trying to figure out how to show unread posts since a user's ...
0
votes
0answers
7 views

Order get_posts() results by an ACF repeater sub field property? [on hold]

So I understand that I can order get_post queries by a meta value of any kind including ACF fields by using... $posts = get_posts(array( 'post_type' => 'event', 'posts_per_page' ...
-4
votes
0answers
13 views

Crear un sitio web para escuelas con wordpress [on hold]

Acabo de encontrar un artículo publicado en el blog de Paginas Valencia donde hablan sobre algunos plugins para poder desarrollar una página web para colegios, el artículo es este ...
0
votes
0answers
7 views

Menu not showing while using filter hook for custom posts

I have a custom post type named event and each event has a meta value named event_date. event post type has two custom taxonomy event_category and event_location. On the homepage I'm trying to show ...
0
votes
2answers
33 views

Display sub categories of a parent product in products - woocommerce

I have searched this forum for the possible solutions but I am not getting anything which works. Maybe I am doing it the wrong way. Here is the code that I have tried so far $parent_categories = '' ...
-1
votes
1answer
23 views

How to display a post's Featured Image using the below code?

foreach ( get_posts( $category_three_last_posts ) as $post ) { // Add sub menu item $post->menu_item_parent = $item->ID; $post->post_type = 'nav_menu_item'; $post->object = ...
0
votes
0answers
12 views

outerHeight not working in wordpress [migrated]

I'm trying to show/hide a reveal and hide it button depending on the height of the div additional-amentites. The removeClass, show and hide are woking but it's not recognising the outerHeight. It ...
0
votes
0answers
8 views

Execute php script instead of downloading WooCommerce product file [on hold]

I use WooCommerce with Wordpress and want the user to be able to download virtual downloadable pdf files after the bought it (going to their 'my account' page). I know this is already implemented in ...
0
votes
0answers
13 views

Woo commerce product data tabs missing eg: General ,Inventory … Advanced [on hold]

I have moved my test site to ec2 amazon linux instance and i observed that my Woo commerce product data tabs are missing eg: General ,Inventory .... Advanced. The mean thing is that both this plugin ...
0
votes
2answers
12 views

Multisite > Edit Site > Themes - what are these themes?

I'm looking at the Dashboard of a specific site in a Multisite setup using WordPress 4.0.1. If I go to Edit Site (by mousing over the Home icon at the top) the Info tab gives some information about ...
0
votes
0answers
16 views

Is there a Stack Driver equivalent for WordPress sites hosted on non-AWS servers? [on hold]

Is there a way to monitor the complete stack of a WordPress site in a way similar to stackdriver.com for sites which are hosted elsewhere than Amazon?

15 30 50 per page