Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jsirris

    (@jsirris)

    I have tried that and it didn’t worked.
    Any other suggestion?

    Kind Regards.

    Thread Starter jsirris

    (@jsirris)

    Yes, it works ok!

    It was very helpful to inform me that this file (feat-cat-meta-top.php) was responsible for showing category info (first post) in first page.

    I still have two questions:
    1. What is the dif between blog and blogroll and how do you use it in displaying posts of a specific category since these templates are used per page?
    2. How to display 2 ads one side the other. It seems that the second adv goes a little lower that the first one (even when they are small enough to be in the same line)

    Anyway, I will check it out and if I don’t find a workaround, I will post you a new question.

    Thank you again for this wonderful theme and for your help.

    Kind Regards
    John

    Thread Starter jsirris

    (@jsirris)

    Well, I have managed to do it but I can’t imagine what I have done to the code…

    this is a part the feat-cat-meta-top.php file. Most of the post details at the beggining of the file is commented out. I have added these lines:

    <?php
    $cat_value = dez_get_singular_cat('false');
    $thecatid = get_cat_ID($cat_value);
    ?>
    <img src="<?php if (function_exists('z_taxonomy_image_url')) echo z_taxonomy_image_url($thecatid); ?>" />
    
    <?php
    echo category_description($thecatid);
    ?>

    the only activated css custom code is:
    #custom .feat-post .feat-meta,#custom .feat-content { display:none; }

    I know that this isn’t the best solution. If you can help me please advise.

    http://1lyk-chiou.chi.sch.gr/site/
    project category is the tested one

    Kind Regards
    John

    Thread Starter jsirris

    (@jsirris)

    Hi Richie,
    it seems there is a conflict between added css code and the added code on feat-cat-meta-top.php.

    When I comment out css code, category description is shown along with the 1st post of the category.

    When added css code is activated then nothing is shown (nor post nor descrition)

    I may have not added the code at line 6 of the php file. I have added it just above the getmodtime parameter line.

    Kind regards
    John

    Thread Starter jsirris

    (@jsirris)

    I have changed css to this and now no post is displayed.
    #custom .feat-post .feat-meta,#custom .feat-post { display:none; }
    #custom .feat-post .feat-meta,#custom .feat-content { display:none; }

    Stil haven’t managed to display category description and category image.

    Thread Starter jsirris

    (@jsirris)

    Thank you for your help Richie.
    The css code hides the display of the post body. It stil show post’s featured phote and post’s title.

    The php code didn’t succeed to show category description.

    I have also installed “category images” plugin in order to assign a feature image to each category. I am trying to display on front page the category’s featured image with this code
    <?php if (function_exists(‘z_taxonomy_image_url’)) echo z_taxonomy_image_url(); ?>
    with no success too.

    Thanks for your help
    Kind regards
    John

Viewing 6 replies - 1 through 6 (of 6 total)