Search found 99 matches

by bayerberg
Mon Mar 25, 2019 11:58 am
Forum: General
Topic: page preview before publishing
Replies: 3
Views: 209

Re: page preview before publishing

was on my list of plugins to do, better if this becomes standard feature. +1 to request :)
by bayerberg
Mon Mar 25, 2019 11:57 am
Forum: General
Topic: How to add alt tags in images?
Replies: 14
Views: 854

Re: How to add alt tags in images?

seo is not for living, breathing people ;) its for crawlers, bots and scrapers. if you do it correctly it will spread your content without you noticing.
by bayerberg
Mon Mar 25, 2019 12:58 am
Forum: General
Topic: How to add alt tags in images?
Replies: 14
Views: 854

Re: How to add alt tags in images?

alt text is important for screen readers as well (WAI-ARIA, accessibility and that kind of stuff). in terms of seo alt text plays its role, if you use schema.org itemscope you can tell google what the image is and alt text helps to index it correctly. Important if you are keen on being first everywh...
by bayerberg
Sun Mar 24, 2019 2:35 pm
Forum: General
Topic: How to add alt tags in images?
Replies: 14
Views: 854

Re: How to add alt tags in images?

In my themes I'm using couple of easy tricks for avatars echo'<img class="avatar" src="'.($page->user('profilePicture')?$page->user('profilePicture'):Theme::src('img/nouserimage.png')).'" height="40" width="40" alt="'.($page->user('nickname')).'">'; and for cover images echo'<img alt="'.$page->title...
by bayerberg
Mon Mar 18, 2019 10:31 am
Forum: Themes - Plugins
Topic: What kind of plugins/ themes do you need?
Replies: 23
Views: 2780

Re: What kind of plugins/ themes do you need?

Just a suggestion - if you need something badly enough maybe its time to spread a bit of love and donate cold hard $$$ to Bludit via Patreon ? :) btw. 1. events plugin is almost done, need to iron out final kinks. 2. hero/ main banner plugin needed to be rewritten so it'll come after 3. we had a pol...
by bayerberg
Wed Mar 06, 2019 12:33 pm
Forum: General
Topic: Problem on the top of all the pages
Replies: 9
Views: 836

Re: Problem on the top of all the pages

If you edited the menu or anything in the header area look for trailing < above any loops. This happens a lot if you switch from html elements to php using echo ' '; it happens to me when I'm in a hurry and template needs tidying up :)
by bayerberg
Mon Mar 04, 2019 5:49 pm
Forum: Themes - Plugins
Topic: [Theme] Bludit Blogr
Replies: 9
Views: 1586

Re: [Theme] Bludit Blogr

Theme has been put on hold for a week or so, need to update it to play nicely with new versions of Bludit. Thanks for your support, new themes coming :D
by bayerberg
Fri Mar 01, 2019 1:52 pm
Forum: General
Topic: Display Article and Category data separately
Replies: 5
Views: 325

Re: Display Article and Category data separately

index.php update the loop to display a category template, it should look like this if ($WHERE_AM_I == 'page') { include(THEME_DIR_PHP.'page.php'); } elseif ($WHERE_AM_I=='category') { include(THEME_DIR_PHP.'category.php'); } else { include(THEME_DIR_PHP.'home.php'); } category.php create the templa...
by bayerberg
Fri Mar 01, 2019 11:57 am
Forum: General
Topic: Display Article and Category data separately
Replies: 5
Views: 325

Re: Display Article and Category data separately

you need one page with all categories and all pages in particular category?
by bayerberg
Wed Feb 27, 2019 2:32 pm
Forum: General
Topic: Category Descriptions and List
Replies: 2
Views: 258

Re: Category Descriptions and List

if you want to display that info in your page.php try something like

Code: Select all

  $categoryKey = $page->categoryKey();
  $category = getCategory($categoryKey);
  echo '<h2>' . $category->name(). '</h2>';
  echo '<h4>' . $category->description(). '</h4>';