Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Output component title?
#2
(not tested)
Insert this in your theme's functions.php file (create the file if it doesn't exist):

PHP Code:
function get_component_h4($compname) {
  echo 
'<h4>',$compname,'</h4>',"\n";
  
get_component($compname);


Now use this instead of get_component, like:
PHP Code:
<?php get_component_h4('Epic-Link-List'); ?>
Reply


Messages In This Thread
Output component title? - by skedster - 2012-12-20, 04:48:54
RE: Output component title? - by Carlos - 2012-12-20, 05:14:00



Users browsing this thread: 1 Guest(s)