Page 1 of 1

coverImage location

Posted: Tue May 13, 2025 12:45 pm
by jloft42
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?

Re: coverImage location

Posted: Thu May 15, 2025 8:20 pm
by Edi
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

Re: coverImage location (found it)

Posted: Fri May 16, 2025 2:34 am
by jloft42
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