Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #107241

    Tim M
    Participant

    it worked, thank you!

    #107299

    Christopher
    Moderator

    You are welcome Tim:)

    #134074

    Tim M
    Participant

    Hello X Support!

    i would like to change the height and width of the recent posts displayed on the rev slider, at the moment i have cracked the code to change the height and width of the actual boxes – however the text in the middle isnt responsive and doesnt get altered – it just gets cut off as the width is decreased. http://rsaacademyits.com/rsa-new/wp-admin/customize.php?url=http%3A%2F%2Frsaacademyits.com%2Frsa-new%2F

    can you help please? i have added code in css customiser

    a.x-recent-post3 {
    height: 50px;
    width: 70px;
    }

    thanks
    Nav

    #134214

    Christian
    Moderator

    Hey Tim,

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    #177344

    David H
    Participant

    You mention that [recent posts] doesn’t work with custom post types. Where is the function defined?

    I’m thinking maybe I give a go of editing that function in my child theme to recognize custom types.

    Alternatively, I may install a 3rd party courousel that allows custom types to get after what I want.

    Or do you have a better idea?

    Defined a custom post type for Employees in functions.php. Used Advanced Custom Fields for some key info such as their corporate title. Also create a large picture field that will be at the top of their single page. Their feature image would be small and show up on the home page as a link to their single page.

    Thanks.

    #177482

    Zeshan
    Member

    Hi David,

    Thanks for posting in!

    To add your own custom post type, you can review this post by changing product from $type = 'product'; with your own custom post type: https://theme.co/x/member/forums/topic/shop-products-on-the-front-page/#post-141952

    If you want to show your custom fields, you can add your own code to the recent_posts code. This is a custom development, so regretfully, we cannot assist you further with this. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities.

    Thanks for understanding.