Move "Tags" and create a break
This topic contains 13 replies, has 2 voices, and was last updated by Alex Rollin 7 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
October 25, 2017 at 5:33 pm #402548
Hey everyone,
two single Questions and hopefully some help πI don’t really need a Membership at this time, sorry for this :(, but i want to get this snippet, if it is possible, please? π
https://wpgeodirectory.com/support/topic/listing-details-page/#post-141900
I want to move the “Category” and “Tags” below the profile tab at the detailpage.
———————————-And my second question, can you help me to create a break after every title in the detailpage right sidebar?
After the Adress, Telephonnumber, Email and so on, i want a break and in the new line the information i added.Kind Regards π
October 25, 2017 at 9:19 pm #402576Hello!
There are additional snippets here to change the tab order:
https://wpgeodirectory.com/re-order-tabs-in-a-listing-detail-page/
And more here: https://wpgeodirectory.com/re-order-tabs-in-a-listing-detail-page/
PHP Snippets use this plugin: https://wpgeodirectory.com/docs/useful-plugins/#snippets
Other styles and CSS can be added at GD -> Design -> Scripts
If you need help adding one, just let us know which one.
Let us know how that works for you
October 25, 2017 at 9:43 pm #402582Hy, Thank you for your fast reply.
I don’t want to re-order the tabs, i want to move the ” Attraction category” and “Attraction tag” Content right under the Hab Content and not below the slider and above the Tabs.Greeting
October 25, 2017 at 10:46 pm #402598October 26, 2017 at 8:20 am #402643Hy,
that’s the Thread i’ve linked in my first post, but i can’t read this w/o Membership.
And at this point i don’t really need one only for this snipped πOctober 26, 2017 at 10:51 am #402681Hello!
You just want to copy from that page?
remove_action('geodir_details_main_content', 'geodir_action_details_taxonomies', 40); add_action('geodir_details_main_content', 'geodir_action_details_taxonomies', 85);
October 26, 2017 at 2:42 pm #402722Thank you so much, that was i can’t saw, because the Member area π
Nearly perfect, Thank you Alex! π
One question please, can you told me which template i need to edit to create a <br /> after every Sidebar Headline or at a specified headline there.
The “Zeit” Areas looks really strange or how i realize a headline in a -tag (screenshot)
Regards π
October 26, 2017 at 5:31 pm #402751Hello!
This is what I have to point you at for now.
https://wpgeodirectory.com/add-custom-body-classes-to-wordpress/
If it doesn’t help, I would recommend opening up the template files and taking a look.
Thanks!
October 27, 2017 at 9:38 am #402865Hello,
but it don’t really help. I now i can add custom class to the custom fields in sidebar, but tried something i’ld find with google to force a break at every custom Title with css, but i don’t really work.I did them <.strong> with this code
.geodir-i-category, .geodir-i-location, .geodir-i-time, .geodir-i-contact { font-weight: 800; }
If you could helf me to get some line breaks after the title it would be awesome π
Adress:
<br />
Time:
<br />
and so on π
October 27, 2017 at 10:00 am #402873Hello!
Do you mean
“I want to insert a <br /> after the words Kategorie, Addresse, Zeit. I want the value for those fields to appear on the next line.”
Is that a correct statement?
And you are looking for which template or hook to alter?
October 27, 2017 at 10:43 am #402878Of course it is, sorry for my bad english π
October 27, 2017 at 4:21 pm #402929Hello!
Her’s a way to do something similar with CSS
https://stackoverflow.com/questions/10933837/line-break-like-br-using-only-css
Something like this (not tested)
`.geodir-i-location {
display:inline;
}
.geodir-i-location:after {
content:”\a”;
white-space: pre;
}’You may find some others by searching through the forum:
https://wpgeodirectory.com/support/reply/260977/
Let us know how it goes!
October 28, 2017 at 9:06 am #403003Hy,
i also use google, but haven’t found this attempt.So much thank you Alex, now im totally happy at this point and this one works flawless π
‘.geodir-i-location:after, .geodir-i-category:after, .geodir-i-time:after{
content:”\a”;
white-space: pre;
}’The code in the forum links won’t change anything, i’ve tried them, but it don’t work.
You can take i look if u want, but my problems are fixed πThank you so much Alex :)!!!
October 28, 2017 at 3:23 pm #403039Hello!
Thanks for being patient, looking forward to seeing your site!
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket