Topic Closed
marcel
26 Posts

Hi,

I would like to add a <hr /> and some social media code by default on the bottom of any post that will be added in the future. Does anyone know in which of the addoncode files and where specifically i can add it?

 

Thanks! Marcellus

Edited: 4 years ago#9359

a2exfr
242 Posts
26.3K Downloads
2 Themes
10 Plugins

1  way -For newest version of Blog.

Edit file SimpleBlog.php.

Find line 289 echo '<div class="clear"></div>';

Insert before it

echo '<hr />';

echo 'your social code';

But on blog update you lost this changes.

2 way Make new layout, from theme you using. Edit it and add at the bottom of the page - extra content area with your social code.  Aply this layout only to a Simple Blog page and SimbleBlog Categories page.

Edited: 4 years ago#9372

marcel
26 Posts

Thank you for your reply, i found it!

You know if there is also a function available to work with a ''read more'' link after a certain amount of characters on SimpleBlog.php? On line 379 i see "Abbreviate $content if a $limit greater than zero is given", but i'm not sure is it's being used for my purpose..

4 years ago#9373

a2exfr
242 Posts
26.3K Downloads
2 Themes
10 Plugins
If you need "read more" link, you just need to set  "Entries Abbreviation Length" in configuration of simple blog greater than zero.
4 years ago#9374

marcel
26 Posts
Thanks! :)
4 years ago#9402

kvn1963
15 Posts
How to assign a "class" member ''read more'' ?
4 years ago#9405

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register