Search found 12 matches
- Mon May 13, 2024 3:34 am
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 5
- Views: 724
Re: Display regular pages on a static page that is not the homepage
And you are then using $post, rather than $page, within the foreach loop?
- Sun May 05, 2024 12:43 am
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 5
- Views: 724
Re: Display regular pages on a static page that is not the homepage
Try using a different variable for a new instance of the Page class as $page is reserved as a global for the page you are in...
$post = new Page( $key ).
$post = new Page( $key ).
- Fri Apr 12, 2024 1:46 am
- Forum: General
- Topic: Option: "Disallow Comments" as default setting
- Replies: 4
- Views: 1558
Re: Option: "Disallow Comments" as default setting
There is an unused 'allowComments' setting in the pages class. Find it in the $dbFields array in bl-kernel/pages.class.php.
- Thu Oct 26, 2023 9:39 pm
- Forum: Themes
- Topic: Change site URL inside the theme (BlogX)
- Replies: 1
- Views: 18683
Re: Change site URL inside the theme (BlogX)
Instead of `Theme::siteUrl()` in navbar.php try...
Code: Select all
echo $site->url();
- Tue Oct 24, 2023 12:57 am
- Forum: General
- Topic: Delete a folder image in a article
- Replies: 5
- Views: 9321
Re: Delete a folder image in a article
Maybe this bug is a feature of Bludit Pro & Time machine plugin.
- Mon Oct 02, 2023 12:02 pm
- Forum: Themes
- Topic: Change Font in Massively theme
- Replies: 3
- Views: 15632
Re: Change Font in Massively theme
Did you do a hard refresh in the browser to replace the cached stylesheet?
- Fri Sep 22, 2023 7:46 pm
- Forum: Themes
- Topic: popeye theme text width in blog posts
- Replies: 7
- Views: 23480
Re: popeye theme text width in blog posts
Did you put it in a style element?
Code: Select all
<style>
@media (min-width: 992px) {
.col-lg-6 {
-ms-flex: 0 0 50%;
flex: 0 0 50%;
max-width: 75%;
}
}
</style>
- Thu Sep 21, 2023 5:41 pm
- Forum: Themes
- Topic: popeye theme text width in blog posts
- Replies: 7
- Views: 23480
Re: popeye theme text width in blog posts
The width comes from the Bootstrap stylesheet.
Change instances of '50%' to what you like. Or better to override with your own, additional stylesheet.of a style block in the <head>.
Code: Select all
@media (min-width: 992px) {
.col-lg-6 {
-ms-flex: 0 0 50%;
flex: 0 0 50%;
max-width: 50%;
}
}
- Mon Sep 18, 2023 3:51 pm
- Forum: Themes
- Topic: How to get blog slug name?
- Replies: 4
- Views: 19528
Re: How to get blog slug name?
Try getting the field value. $site->getField( 'uriBlog' ); . This is what I do to use the slug as the menu entry... $blog_uri = $site->getField( 'uriBlog' ); if ( ! empty( $blog_uri ) ) { // Use sprintf() if you need to echo later. printf( '<li><a href="%s">%s</a></li>', $site->url() . str...
- Wed Sep 13, 2023 3:41 am
- Forum: General
- Topic: Bludit v4 - Alpha version
- Replies: 32
- Views: 258893
Re: Bludit v4 - Alpha version
<?php if(!isset($_GET['page'])){ $getPage = 1; } else { $getPage = $_GET['page']; } ?> <ul class="list-group flex-md-row"> <?php if($getPage != 1) { ?> <li class="list-group-item"> <a class="btn btn-dark" href="<?php echo Theme::siteUrl(); ?>?page=1">First</a...