Putting a div in a function
-
How could I put a DIV with a specific class wrapping the gettexted words: SEARCH & FILTER?
function image_sidebar_shortcode() { echo __('SEARCH & FILTER', 'sacconicase'), '<div class="filter"><img height="100" src="https://test.sacconicase.com/wp-content/uploads/2023/11/cercaefiltra-4.jpg" ></div>'; } // register shortcode add_shortcode('image', 'image_sidebar_shortcode');
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Putting a div in a function’ is closed to new replies.