Change order of details page
This topic contains 16 replies, has 4 voices, and was last updated by Alex Rollin 8 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
October 25, 2017 at 12:21 pm #402493October 25, 2017 at 12:26 pm #402495
Have a look at https://wpgeodirectory.com/re-order-tabs-in-a-listing-detail-page/
Thanks
October 25, 2017 at 12:28 pm #402496Thanks for the support. Its way too complicated for a none techie like me. Thanks all the same.
October 25, 2017 at 12:46 pm #402497It is not really that complicated and when you use the code snippets plugin, you cannot make a mistake really.
https://wpgeodirectory.com/docs/useful-plugins/#snippetsThanks
October 25, 2017 at 1:04 pm #402504OK I will have a try !
October 25, 2017 at 3:25 pm #402521Ok – so it was easy 🙂 AWESOME!
Thanks!I have put reviews at the top. Comments is nested under overview – how do I move this to the foot of the post?
http://www.naturephototour.com/articles/bird-photography/photograph-ptarmigan-cairngorms/
October 25, 2017 at 9:58 pm #402585I am not sure. GD normally replaces Comments with Reviews, so Comments should not be there. It is because you added an extra plugin.
Post your WP admin details in a private reply, and if it is something simple, we’ll see what we can do regarding that non-GD plugin.Thanks
October 25, 2017 at 10:04 pm #402586This reply has been marked as private.October 26, 2017 at 9:50 am #402660I would guess the plugin is filtering the content so it is just adding it to the content section, if they have a shortcode to output it? you might be able to put it in its own tab.
Stiofan
October 26, 2017 at 9:51 am #402661Ok I have some short code
<?php echo do_shortcode('[fbcomments url="http://peadig.com/wordpress-plugins/facebook-comments/" width="375" count="off" num="3" countmsg="wonderful comments!"]'); ?>How do I insert this into the template using code snippets to make it appear as the last content on the details page?
October 26, 2017 at 10:11 am #402670Hi Marcus,
Adding a new tab is explained here: https://wpgeodirectory.com/add-a-new-tab-in-the-listing-detail-page/
Thanks,
Stiofan
October 27, 2017 at 11:43 am #402883I get the following issue
Don’t Panic
The code snippet you are trying to save produced a fatal error on line 8:
Cannot redeclare geodir_detail_page_tab_list_extend() (previously declared in /home2/naturep4/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(433) : eval()’d code:5)
The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before.Please use the back button in your browser to return to the previous page and try to fix the code error. If you prefer, you can close this page and discard the changes you just made. No changes will be made to this site.
October 27, 2017 at 11:46 am #402884Looks like you already have the function declared to change the order maybe in another snippet, so u should make the changes there.
Stiofan
October 27, 2017 at 11:48 am #402885Put the same code to create a new snippet in the code to reorder the snippet?
October 27, 2017 at 7:01 pm #402950Hello!
Have you already done this part? This is the place to start with all your tabs.
https://wpgeodirectory.com/re-order-tabs-in-a-listing-detail-page/
Start with that part and let us know how it goes.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket