Shortcodes for featured listings
This topic contains 18 replies, has 6 voices, and was last updated by openmindtrips 10 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
August 22, 2014 at 11:41 am #12873
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
GaynorAugust 22, 2014 at 11:53 am #12874Hello, you can use a plugin that allows you to insert the Featured listing widget into the page, try this one
August 22, 2014 at 12:09 pm #12878Or you can use the GD Popular Post widget, and sort by Featured.
See also
http://docs.wpgeodirectory.com/widgets [under construction]August 22, 2014 at 12:33 pm #12879Great 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
GAugust 22, 2014 at 12:40 pm #12880It 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.August 22, 2014 at 12:56 pm #12881Sorry 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
August 22, 2014 at 1:14 pm #12883Let’s ask John, the Avada man, about that.
I don’t understand Avada … surely you got to be able to add widgets ???August 22, 2014 at 1:18 pm #12885Would think it would be possible – I can pull in woocommerce products
Hopefully there is an answer
Thanks Guust
August 22, 2014 at 1:27 pm #12886You 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…
August 22, 2014 at 1:40 pm #12888Simone 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-pagesAugust 22, 2014 at 2:18 pm #12897If 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…
August 22, 2014 at 2:55 pm #12901Thanks 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
GaynorNovember 13, 2014 at 3:07 pm #21402Thanks 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! 🙂
November 13, 2014 at 3:09 pm #21403Hey there…what code did you used? you should add &width=100% to the shortcode, please post the code so i can check 🙂
November 13, 2014 at 6:37 pm #21447Thanks 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
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket