Add a Span Around a Product Title in WooCommerce [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers’ support routes. Closed 7 … Read more

Proper use of the_content filtering

This is a bit difficult without posting scads of code, but my question is: What are the benefits of filtering through apply_filters(‘the_content’, ‘anything’);, and given my example loop, am I filtering the_content excessively or inefficiently, or is there a better way? I ask because I just tried the Shareaholic plugin, which is supposed to detect … Read more

Buddypress: Edit activity when new blog post [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic. Closed 7 years ago. Improve this question I am trying … Read more

Trying to wrap around first word of multiple word strings with a widget_title() filter, only works on two word strings and not more than two

I am trying to wrap a around the first word of multiple word widget titles. I have used the answer from here: https://stackoverflow.com/questions/10263792/revised-wordpress-function-to-put-a-span-around-the-first-word-of-the-title and adjusted it to look like: function add_label_to_post_title( $title=”” ) { $ARR_title = explode(” “, $title); if(sizeof($ARR_title) > 1 ) { $first_word = “<span>”.$ARR_title[‘0’].”</span> “; unset($ARR_title[‘0’]); return $first_word. implode(” “, $ARR_title); } … Read more

Gravity Forms field entries into wp_query loop [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic. Closed 7 years ago. Improve this question I have a … Read more

Changing image URLs in media library

On a default wordpress install, the media library is located at: /wp-admin/upload.php. I am trying to update the image URL to point to my CDN, not my local server. This filter add_filter(‘admin_post_thumbnail_html’, ‘my-function’, 1000, 5); will update the featured image URLs in the admin, but not the images in the media library list table. Is … Read more