Shortcodes for featured listings

This topic contains 18 replies, has 6 voices, and was last updated by  openmindtrips 9 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #12873

    gaynorh
    Expired Member
    Post count: 29

    Hi

    Is it possible to pull in featured listings or a selection of featured listings by shortcode onto my home page please? I’ve opted not to have the Geodirectory homepage, but to have a mix of blog posts etc but want to display the featured list.

    Thanks
    Gaynor

    #12874

    Simone
    Expired Member
    Post count: 3515

    Hello, you can use a plugin that allows you to insert the Featured listing widget into the page, try this one

    #12878

    Guust
    Moderator
    Post count: 29970

    Or you can use the GD Popular Post widget, and sort by Featured.
    See also
    http://docs.wpgeodirectory.com/widgets [under construction]

    #12879

    gaynorh
    Expired Member
    Post count: 29

    Great thanks – the site is not yet live so would you recommend to wait for the widget in construction?

    I would ideally like something that can be added to home, posts or pages where relevant and this may be location specific too.

    Cheers
    G

    #12880

    Guust
    Moderator
    Post count: 29970

    It is only the documentation that is under construction 🙂 – sorry for the confusion.
    You can already use the GD Popular Post widget on any page of your site, they do not need to be GD pages.

    #12881

    gaynorh
    Expired Member
    Post count: 29

    Sorry I may be missing something here 🙂

    I am on appearance>widgets and can see GD>Popular Post View but my home page is a WordPress page made up of all sorts of Avada shortcodes so not sure how to drag the widget in?

    G

    #12883

    Guust
    Moderator
    Post count: 29970

    Let’s ask John, the Avada man, about that.
    I don’t understand Avada … surely you got to be able to add widgets ???

    #12885

    gaynorh
    Expired Member
    Post count: 29

    Would think it would be possible – I can pull in woocommerce products

    Hopefully there is an answer

    Thanks Guust

    #12886

    purpleedge
    Expired Member
    Post count: 539

    You want shortcodes, not widgets – there are tools that convert widgets to shortcodes – Brian on here is using one successfully – there are limitations to what you can do with shortcodes though, so don’t expect to be able to replicate the GD functionality everywhere.

    You can vote for shortcodes here…

    https://wpgeodirectory.com/requests/

    #12888

    Guust
    Moderator
    Post count: 29970

    Simone suggestion should work too by the looks of it.
    I just tried it @ http://geo.goldroo.net/
    That is a widget on the top of the page converted to a shortcode using
    http://wordpress.org/plugins/widgets-on-pages

    #12897

    John Allsopp
    Expired Member
    Post count: 399

    If you are using one of the Avada pages as your home page (the ones that are full of shortcodes) then you will not be able to add widgets directly – you will need to use a plugin as suggested earlier.

    The other option would be to create your own template in your child theme, but that would require a bit of coding…

    #12901

    gaynorh
    Expired Member
    Post count: 29

    Thanks purpleedge I voted 🙂

    John, coding and me isn’t going to be possible, so for now going to have a go at the plugin but don’t really want to load anything else on top really as the site is a bit slow so maybe a temporary measure.

    Thanks for the help
    Gaynor

    #21402

    openmindtrips
    Expired Member
    Post count: 180

    Thanks guys! This helped me a lot 😀

    Just one question:
    I’ve put in the GD Map Homepage widget into my custom homepage using the plugin Simone recommended, though I can’t set it to full width. Any ideas on this?

    Thx! 🙂

    #21403

    Simone
    Expired Member
    Post count: 3515

    Hey there…what code did you used? you should add &width=100% to the shortcode, please post the code so i can check 🙂

    #21447

    openmindtrips
    Expired Member
    Post count: 180

    Thanks Simone! I’ve added only one widget to the Widgets on Page sidebar, and then I added this code on the page:

    [widgets_on_pages id=”GD Map Homepage”]

    Can I add it directly in the shortcode or do I need to add it by CSS? 🙂

    Thx

Viewing 15 posts - 1 through 15 (of 19 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount