coverImage location
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?
Basically, where is the function coverImage that is called from the home pages getting the information from?
- 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):
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
Code: Select all
<?php echo $page->contentBreak(); ?>
The function contentBreak() is defined at /bl-kernel/pagex.class.php (line 97):
https://github.com/bludit/bludit/blob/3 ... ss.php#L97
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
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