1
vote
1answer
304 views

How to use shortcode attribute in separate function

I'm working on a WordPress site and have installed a slider plugin that registers a slider on the backend (or multiple sliders) and then displays it on the front end with a couple of simple php ...
4
votes
1answer
676 views

Insert new element to array with add_filter

add_filter('example_filter', function(){ return array( 'tax1' ); } ); add_filter('example_filter', function(){ return array( 'tax2' ); } ); add_filter('example_filter', function(){ return array( ...
0
votes
2answers
2k views

Query posts using custom taxonomy and selected terms

I'm not able to use array for the terms in the following query, only a single term: $args=array( 'facts' => 'information', //taxonomy:facts and term:information 'post_type' => ...
0
votes
2answers
144 views

Alter required message using comment form api

I prefer not to use asterisk markers on required fields in the comment form. So I'd like to remove or alter the 'required fields are marked (*)' message. Being a good wordpress user, I'd like to do ...