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 Ticket

Tagged: 

  • Author
    Posts
  • #456960

    Carin Handsun
    Expired Member
    Post count: 178

    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>
    #457022

    Alex Rollin
    Moderator
    Post count: 27815

    Does it render in a line without the div markup?

    #457097

    Carin Handsun
    Expired Member
    Post count: 178

    V2-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?

    #457102

    Paolo
    Site Admin
    Post count: 31206

    developers have been alerted and will report here asap.

    Thanks

    #457111

    Alex Rollin
    Moderator
    Post count: 27815

    Hi Carin,

    I added an example for columns here:
    https://wpgeodirectory.com/docs-v2/faq/common-examples/#columns

    You 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

    #457199

    Carin Handsun
    Expired Member
    Post count: 178
    This reply has been marked as private.
    #457227

    Alex Rollin
    Moderator
    Post count: 27815

    gd_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-455938

    This 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.

    #457248

    Carin Handsun
    Expired Member
    Post count: 178
    This reply has been marked as private.
    #457385

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    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

    #457393

    Carin Handsun
    Expired Member
    Post count: 178

    I 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!!

Viewing 10 posts - 1 through 10 (of 10 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