Where can I edit "details Info area"
This topic contains 13 replies, has 3 voices, and was last updated by Alex Rollin 5 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Info area
-
AuthorPosts
-
March 17, 2020 at 7:45 pm #535552
Hi,
where can I edit/change the “Details Info area”? I mean the “B” section from this post:
https://wpgeodirectory.com/docs-v2/templates/details/
I would like to change format of GD Post Address and make other changes.
I can not find it neighter in widgets area nor somewhere else.March 17, 2020 at 8:10 pm #535554Hi Irina,
Thanks for your post. You can refer to this section of the documentation for your reference. https://wpgeodirectory.com/docs-v2/themes/supreme/#customize-single
March 18, 2020 at 9:30 am #535596Thank you.
I need this form: %%street%% %%zip%% %%city%%add_filter( ‘sd_details_output_address_shortcode’, ‘sd_details_output_address_shortcode_callback’);
function sd_details_output_address_shortcode_callback( $address_shortcode ){
// %%street%%, %%zip%%,%%city%%
$address_shortcode = ‘[gd_post_address show=”icon-value” address_template=”%%street%%” alignment=”left”]’;
return $address_shortcode;
$address_shortcode = ‘[gd_post_address show=”icon-value” address_template=”%%zip%%” alignment=”left”]’;
return $address_shortcode;
}but how can I remove %%region%%,%%country%% ?
March 18, 2020 at 10:05 am #535597this works great for my german Address // %%street%% %%zip%% %%city%%
add_filter( ‘sd_details_output_address_shortcode’, ‘sd_details_output_address_shortcode_callback’);
function sd_details_output_address_shortcode_callback( $address_shortcode ){
$address_shortcode = ‘[gd_post_address show=”icon-value” address_template=”%%street%% %%zip%% %%city%%” alignment=”left”]’;
return $address_shortcode;
}Thank you very much
March 18, 2020 at 2:24 pm #535619Hi Irina Davidov
Glad that you sorted it out yourself. Let us know if you need anything further.
March 20, 2020 at 6:30 am #535791How can I get the same adress format in the customs adress field?
there is zip after the city,
I need %%street%% %%zip%% %%city%%March 20, 2020 at 5:20 pm #535883Hello,
where do you want to show the address?
Any time you use GD Post Address you can use a new template.
You can add GD Post Address to the details page sidebar as a widget, or as a shortcoode place it into the GD Archive Item template:
March 21, 2020 at 1:03 pm #535945I already have the adress in the GD Sidebar (with widget) But the adress is in wrong order. City and then ZIP. I need it different.
First ZIP then City. How can I change this order?March 21, 2020 at 4:35 pm #535958Hi Irina,
Thanks for your reply. The PHP code that you’ve applied above should work as intended. Could you share your Website WP admin access here in private reply so that we could investigate this further for you?
March 24, 2020 at 10:06 am #536444This reply has been marked as private.March 25, 2020 at 3:06 am #536629Hello,
You can adjust the GD post Address widget, at the top of the sidebar. %%street%% %%zip_brc%% %%city%% might be a better template choice
You are using GD Single tabs in the sidebar. I would recommend not doing that, but, at least you can remove the Address from display in the tabs.
Let us know
March 27, 2020 at 8:38 am #537037this is not exactly my plan /place but it works.
Thank you very much!March 28, 2020 at 7:04 pm #537230Sorry but this does not work at all.
When I deaktivate the Adress in the Tab -> all Adress fields desappered (1. from the top (info area) 2. bei Author 3. tab Adressfield.
So I have only choice between adress on three places (one with wrong format) or no adress at all.
How to fix it.March 29, 2020 at 8:37 pm #537339To customize the address you will need to use the shortcode or the widget. Widgets work in sidebars.
On the tabs you can add a custom shortcode tab and use the GD Post Address there.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket