Support » Plugin: Business Directory Plugin | GeoDirectory » Details / Page template layout wont set

  • Resolved Dandydahlia

    (@dandydahlia)


    Hi,

    Can you please let me know – How do I set the “default” page layout settings for my listings?

    I’ve edited the GD Details (in Gutenberg) “Page Settings” to disable the page title and make the page layout Full Width etc.. but this doesn’t seem to have any effect on my listings.

    The only way I can get my listings to show as Full Width is to manually go into each actual listing and then manually make the page layout Full Width.

    Image – https://ibb.co/KF0wcMR
    I can’t find anywhere else to change this setting?

    Also with Search – is there a way to search inside a listing form field?
    I’ve created a “Code” text form field as each listing has an ID for example ABC123 – but when I search ABC123 the listing doesn’t show.

    Thanks so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Stiofan

    (@stiofansisland)

    Hi @dandydahlia,

    It looks like your theme is adding some special options for the page settings, what theme is it and we can do some testing? There is one other option for using page templates that might work if your theme has a specific page template file that you want. Check under GD > Settings > Design > Details > Page template file override. (please set this back to auto if you can’t find a template that works).

    For search you would need our advanced search addon to be able to add custom fields to the search bar.

    Thanks,

    Stiofan

    Thread Starter Dandydahlia

    (@dandydahlia)

    Thanks so much Stiofan.
    I’m using Kadence

    I tried that too and it’s set to auto πŸ€·β€β™€οΈ. Kadence must be adding something?

    Thread Starter Dandydahlia

    (@dandydahlia)

    Hi Stiofan, me again πŸ™‚

    The difference looks like it’s in the body class

    Wrong one:
    <body data-rsssl="1" class="gd_place-template-default single-gd_place postid-13696 logged-in admin-bar wp-custom-logo wp-embed-responsive geodir-page geodir-page-cpt-gd_place geodir-post-cat-177 geodir-page-single footer-on-bottom animate-body-popup social-brand-colors hide-focus-outline link-style-standard has-sidebar content-title-style-normal content-width-normal content-style-boxed content-vertical-padding-show non-transparent-header mobile-non-transparent-header gd-map-none customize-support">

    Correct one:
    <body data-rsssl="1" class="gd_place-template-default single single-gd_place postid-13645 logged-in admin-bar wp-custom-logo wp-embed-responsive geodir-page geodir-page-cpt-gd_place geodir-post-cat-178 geodir-page-single footer-on-bottom animate-body-popup social-brand-colors link-style-standard content-title-style-hide content-width-fullwidth content-style-unboxed content-vertical-padding-show non-transparent-header mobile-non-transparent-header gd-map-none customize-support">

    Main difference =
    Correct one has “Single”
    Correct one has “content-title-style-hide content-width-fullwidth content-style-unboxed”

    Any ideas on how I can (even using a new template) change it?

    Thanks so much

    Hi @dandydahlia,

    I added some compatibility changes to fix single listing layout issues for Kadence theme. It will be available in next update.

    Meantime please try this patch https://github.com/AyeCode/geodirectory/commit/ca2a547586844922336bc618fd30108bd3c952e6#diff-265979c50ab915bfd40d4d0d6d45a259d40467e1f61f7ab48ac59e62f9ce3c37 and let us know how it goes.

    Regards,
    Kiran

    Thread Starter Dandydahlia

    (@dandydahlia)

    Thanks Kiran,

    All good! I found the setting hooray!
    For anyone else trying to style Geodirectory and Kadence..
    Customizer -> Custom Post Types -> Listings Layout πŸ™‚

    You can then leave the listings as all default and it will pick up the settings here.

    Thanks so much again @kprajapatii and @stiofansisland for your replies. I’ll leave this here incase anyone is googling for the answer too.

    I’m loving Geodirectory so far πŸ™‚ You’ve done a great job! Thank you

    Plugin Author Stiofan

    (@stiofansisland)

    Thanks for the tips! πŸ™‚

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Details / Page template layout wont set’ is closed to new replies.