Several Questions

Discussion in 'GeoCraft WordPress Theme' started by duri_90, Jul 15, 2013.

Thread Status:
Not open for further replies.
  1. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    Hello :)

    I've got several questions, would be great if you could help me out :)

    1. Listings Loop - How to display more text before "read more" cuts it? I'm using a larger grid for displaying the listings so i need to extend the number of shown characters in description a bit :)

    2. Category Listings Count - Is it possible to display number of listings in a category next to the category in the sidebar? Example: Fast Food (12)

    3. Featured Slider on top - Is there a way not to display the slider/featured section if there are no entries featured? At the moment it takes just ununsed space if there are no featured listings.

    Thanks in advance :)
     
  2. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    to answer #2 Go to the relevent widget (Geocraft Listing Category) and tick 'Show post counts'... you can also tick 'show hierarchy' to show sub categories.
     
  3. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    1) For this go to the
    geocrafttheme > functions.php and add code just above

    Code:
    add_filter('excerpt_length', 'my_excerpt_length');
    function my_excerpt_length($length) {
    return 230; // Or whatever you want the length to be.
    }
    function.png

    3) Download file attached with this post and replace with your theme's files.
    Attached: front-page.php, taxonomy-listcat.php
     

    Attached Files:

  4. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    Thank you guys for the help! Great Support :)
     
Thread Status:
Not open for further replies.

Share This Page