Html code here! Replace this with any non empty text and that's it.

Posted in: Newspaper
Post count: 31

How can I get rid of “Html code here! Replace this with any non empty text and that’s it.”? I found a similar post with any solution.
Regards

Post count: 20688
Post count: 14

Hi there,
As I wanted no text under the title, if it helps I edited the file \Newspaper\includes\shortcodes\td_block_text_with_title.php

ORIGINAL:

$atts = shortcode_atts(
array(
'content' => __('Html code here! Replace this with any non empty text and that\'s it.', TD_THEME_NAME ),
'el_class' => '',
), $atts, 'td_block_text_with_title' );

Modified:

$atts = shortcode_atts(
array(
'content' => __('', TD_THEME_NAME ),
'el_class' => '',
), $atts, 'td_block_text_with_title' );

Hope it helps!
Christian

Post count: 21

@tagDiv: Why is td_block_text_with_title the only block that prints out such a message? It’s of no use! Instead, this block is the only one to add a heading – and only a heading -, which only works if this default message does not appear. Replacing it with   or similar in the body is no option since it adds another paragraph and thus vertical space.

Therefore, please, please, remove this default message!!!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.