Home » Topics » Priority Support » Quick question (acfw and featured post)

Quick question (acfw and featured post)

ACF Widgets Support Priority Support Quick question (acfw and featured post)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1983
    Sharon Dawkins
    Participant

    Just a quick question for you Daron (at least I hope it is quick).

    I am attempting to create a featured post widget (basically same as the genesis one but without all the extras).

    I am only needing to use a few ACF fields.
    Can I still use the widget for this?

    Example
    using ACF
    Widget Title CSS
    Widget title
    Select Category
    Amount of posts….
    Use featured image/alignment

    Then would I still be able to show the post excerpt etc?

    Hope this makes sense.

    Thanks!
    Sharon

    #1984
    Daron Spence
    Keymaster

    I think I understand what you’re saying.

    Short answer, yes. Within your template file for the widget, you can run WP_Query or whatever else you need to get data to display.

    So if you need want to show posts from a specific category, add a Relationship field, and run a WP_Query or get_posts, etc to pull posts from the DB based on that value that the user selects.

    #1985
    Sharon Dawkins
    Participant

    Great thanks so much!!!!

    #1986
    Daron Spence
    Keymaster

    No problem! Closing this thread for now. You can leave a new reply to re-open it.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Quick question (acfw and featured post)’ is closed to new replies.