Search results template

This topic contains 2 replies, has 1 voice, and was last updated by apbalice71 apbalice71 11 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44146
    apbalice71
    apbalice71
    Participant

    Hi, we’ve the following in the group-header.php
    <div class="asp_group_header"><?php echo $group_name; ?></div>

    We grouped the search results by categories. How do we add a class based on the group name e.g. <div class=”asp_group_header directory” if the category name is directory. It’ll need to replace spaces with dash though.

    Also in vertical.php we’ve the following

            <?php if ($show_description == 1): ?>
            <div class="asp_res_text">
                <?php echo $r->content; ?>
            </div>
            <?php endif; ?>

    Is it possible that we hard code it so that a certain group (which is a category name) will always show description but the rest is based on setting?

    #44468
    apbalice71
    apbalice71
    Participant

    Any news for this?

    #44636
    apbalice71
    apbalice71
    Participant
    You cannot access this content.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.