Hi, usually there is an index.php file you can mod and add custom content but i dont know how your theme works.
Thanks… I’ve managed a bit of progress: I tried entering the following:
<?php echo category_description(); ?>
into the index.php and then adding a category description, and it sort of works, but I end up with a huge white, empty space below the static text, and before the first blog excerpt. Any help will be greatly appreciated.
can you share the link because i dont see anything : )
Link to what sorry, the end result by me doing the above?
somehow you have this
<p style=”min-height: 3416px;>
which is causing the gap!
I had noticed that, but couldn’t find where I could change it.
okay, so how did you insert the text? via appearance>editor? what did you type exactly?
All I did was insert the line in my index.php:
<?php
/**
* @package WordPress
* @subpackage Nyirok-WP
*/
?>
<?php
get_header(); //the Header
get_template_part( ‘menu’, ‘index’ ); //the menu + logo/site title
get_template_part(‘includes/breadcrumbs’); ?>
<section id=”maincontent” class=”sidebar-<?php echo of_get_option(‘sidebar-position’) ?>”>
<div class=”container”>
<?php echo category_description(); ?>
<?php if ( have_posts() ) : ?>
<?php /* The loop */ ?>
<?php get_template_part( ‘content’, get_post_format() ); //the Loop ?>
<?php get_template_part( ‘sidebar’, ‘index’ ); //the Sidebar ?>
<?php else : ?>
<?php get_template_part( ‘content’, ‘none’ ); ?>
<?php endif; ?>
</div>
</section>
<?php get_footer(); //the Footer ?>
This is strange can you try these alternatives?
<?php echo category_description( get_category_by_slug('category-slug')->term_id ); ?>
With Category Title
<div><strong><?php single_cat_title('Currently browsing'); ?>
</strong>: <?php echo category_description(); ?></div>
https://codex.wordpress.org/Function_Reference/category_description
I tried both, but it made no difference.
it looks like this is injected for some reason and this is a premium theme and i cant really help you.The best thing is to the contact it’s author and ask for help.
http://codex.wordpress.org/Forum_Welcome#Commercial_Products
I would love to, but I inherited the website, and the theme is no longer supported or updated. I am going to change it all soon, but thought I would try and make the most of what I have now. Is there no way to change the html for the min size of the container?