Link in the header
-
if we change line
if ( $title ) echo $before_title . $title . $after_title;
to
`if ( $title ) {
$title = str_replace( ‘[link’, ‘<a’, $title );
$title = str_replace( ‘[/link]’, ‘</a>’, $title );
$title = str_replace( ‘]’, ‘>’, $title );
echo $before_title . $title . $after_title;
}`
in class.php file, we can set link like this:
[link href=https://google.com/]google[link]
- The topic ‘Link in the header’ is closed to new replies.