R
R
Ruslan Danilov2019-06-19 13:26:14
Joomla
Ruslan Danilov, 2019-06-19 13:26:14

How to make title and subtitle in joomla 3?

Good afternoon.
Please tell me how to make the title be split into two lines, into a title and a subtitle, through a symbol, for example " | ".
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cyril, 2019-06-19
@ruslan111192

Obviously, the input is the header text itself.

<?php
    $str = "Привет, я | Новая строка";
    $parts = explode("|", $str);

    echo "{$parts[0]}<br>{$parts[1]}";
?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question