align left shortcode
This topic contains 9 replies, has 3 voices, and was last updated by Carin Handsun 5 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: shortcode
-
AuthorPosts
-
December 3, 2018 at 7:08 pm #456960
Hi, I am trying to line up my shortcodes, i used align left, but it is not working, https://www.screencast.com/t/fgln4ui3IRP
<div class="col span_2_of_3">[gd_post_meta key="event_dates" alignment="left"]<br/>[gd_post_meta key="post_category" alignment="left"]<br/> [gd_post_meta key="address" alignment="left"]<br/> [gd_post_meta key="phone" alignment="left"]<br/> [gd_post_meta key="email" alignment="left"]</div>
December 4, 2018 at 10:08 am #457022Does it render in a line without the div markup?
December 4, 2018 at 4:16 pm #457097V2-I need columns too, I use Elementor, but page is breaking with the shortcodes, not with other content though, just when i use wpgeodirectory shortcodes, already reported as a bug. So I got some nice responsive css and added it to style sheet, it made nice columns, but the items wont go left as you saw, I just replaced with a simple style=width: 30% and a float, and they still wont go left. Its important for us as users to be able to style the content, I added overflow:none to parent div and that did not change it either.
Can you either supply column css/html/shortcode or give me an idea if the elementor bug might get resolved?
December 4, 2018 at 4:32 pm #457102developers have been alerted and will report here asap.
Thanks
December 4, 2018 at 5:35 pm #457111Hi Carin,
I added an example for columns here:
https://wpgeodirectory.com/docs-v2/faq/common-examples/#columnsYou may find it easier to work with the post_meta output if you remove the alignment param, as that is intended to provide an easy solution for ‘cramming’ more details into the “Archive Item Template”.
My apologies about the Elementor issue, it is on our list but we still have release of the addons as a primary focus at the moment.
The issue here has been flagged for the developers here: https://wpgeodirectory.com/support/topic/remove-reviews-in-v2-details-page/page/2/#post-456846
December 5, 2018 at 1:19 pm #457199This reply has been marked as private.December 5, 2018 at 4:19 pm #457227gd_linked_posts is a complex shortcode. If the params you want are not available you will need to add a CSS class and target your own custom CSS to remove or adjust elements as needed.
An example for customizing address display per CPT has been posted here:
https://wpgeodirectory.com/support/topic/address-format-per-cpt/#post-455938This is a customization for now, but we plan to add a tool for configuration of address later.
For the post_meta for phone, make sure it is part of the package and that it is not hidden.
December 5, 2018 at 6:20 pm #457248This reply has been marked as private.December 6, 2018 at 5:25 pm #457385Hello,
It looks like your template has come a long way. I tried to take a look at the phone issue butt his seems to be the same as another BB issue we saw today. https://wpgeodirectory.com/support/topic/gd_post_meta-not-showing/#post-457377
RE: Elementor and Builders, we have seen that BB Themer works because it is specifically for dealing with templates. You can try that portion of Elementor to see if creating a template that can be assigned to your CPT singles can work for you, we have not been able to test that aspect of Elementor Pro yet. But the basic builders that just edit individual pages are storing information in a way that is not accessible to the GD templating system and so are not supported at this time.
For a simpler address snippet see:
https://wpgeodirectory.com/support/topic/change-address-format-2/#post-453834
December 6, 2018 at 6:57 pm #457393I actually found out why phone was not displaying I had to add it to Show in Extra Output Locations in Events, Settings.
Address snippet worked great, thanks for specifying to remove the _br, now I’ve got it all on one line. Hooray. Phone displays but in USA we use this format (xxx) xxx-xxxx, is there a filter for forcing the phone numbers to display like that? Pretty useful for all the USA folks, thanks again!!
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket