coverImage location

Post Reply
jloft42
Jr. Bludit
Posts: 3
Joined: Tue May 13, 2025 12:34 pm

Ok, I am going crazy here. Some themes have a coverImage on the home page, but I cannot find where that can be changed. I do not see anything in the Admin nor do I see reference in the Theme pages or in the CSS. I do see a reference to coverImage in the db pages, but they are all empty. Again, I am looking for the one that appears on the homepage and I cannot trace where that is coming from in any of the themes that have it.

Basically, where is the function coverImage that is called from the home pages getting the information from?
User avatar
Edi
Site Admin
Posts: 3075
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 69 times
Been thanked: 103 times
Contact:

In the theme Alternative for example you can find in the template home.php the following (line 43):

Code: Select all

<?php echo $page->contentBreak(); ?>
This shows the post with the cover image till the page break, if there is one.

The function contentBreak() is defined at /bl-kernel/pagex.class.php (line 97):

https://github.com/bludit/bludit/blob/3 ... ss.php#L97
jloft42
Jr. Bludit
Posts: 3
Joined: Tue May 13, 2025 12:34 pm

OK, I figured things out here—Thanks Admin for the reply.

Turns out what I was seeing was a hardcoded image in the navbar.php file. Which in the theme I was using, looked like it was the cover image for the home page. I see cover images are actually tied to specific articles under the Options tab—And those are empty by default.

Cheers!
Jim
Post Reply