wordpress.org – Shortcode WordPress Plugin

Question

function custom_movements_newest_list_template() {
  ob_start();
  get_template_part( 'MovementsGridNewest' ); // template name
  return ob_get_clean();
}
add_shortcode( 'movements_grid_newest_all', 'custom_movements_newest_list_template' );

Here ‘movements_grid_newest_all’ is shortcode name

0
Sonu 6 months 2022-02-15T01:19:28-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse