Dirk
Forum Replies Created
-
AuthorPosts
-
Okay. I made a third installation. WP install, GD install. Wizard. I selected a different default location. Imported sample data and accepted adding widgets to the sidebar and accepted adding menu items.
Checked the places (see pics).
I locations are not really working!I made a fresh installation of WP with just GeoDir and WP Easy Update (another installation of what I wrote before). Finished the wizard with no sample data installed.
Added a Category. Added a place. Publish.
And now I don’t see the category in the backend and also the address is empty.
Pic is showing the status after publishing.This reply has been marked as private.The overview looks like this
BTW, the next/previous links are nothing GD specific. If you are a web developer I like to link you to the WP codex:
https://codex.wordpress.org/Function_Reference/next_post_linkJim,
now I got your point. This depends on your theme, if there is a hook or to do another customization to achive that…
What theme are you using?
Best,
DirkJim,
the number in the add_action is the priority of the call. Change the priority and you have what you like. E.g. after the page title use priority 21.
Best,
DirkJim,
I think you are looking for this one:
add_action('geodir_details_main_content', 'geodir_action_before_single_post', 10); add_action('geodir_details_main_content', 'geodir_action_page_title', 20); add_action('geodir_details_main_content', 'geodir_action_details_slider', 30); add_action('geodir_details_main_content', 'geodir_action_details_taxonomies', 40); add_action('geodir_details_main_content', 'geodir_show_detail_page_tabs', 60); add_action('geodir_details_main_content', 'geodir_action_after_single_post', 70); add_action('geodir_details_main_content', 'geodir_action_details_next_prev', 80);
you can remove and readd the last action.
Best,
DirkFebruary 27, 2018 at 6:24 pm in reply to: SSL enabled Your connection to this site is not fully secure #419592I think you can easily do it by yourself. My guess is that you now have mixed content in the database. You can “search” and “replace” your http://www.youraddress.com with https://www.youraddress.com using a database plugin.
Google wordpress http to https and you will find a lot of descriptions.Stiofan already asked if you need to also export images. If not it is much easier to do and the GD team will give you the hints.
You should tune your SQL database. Typically, after installation the parameters are very conservative and not performing under heavy load (like the export is).
what do you call a very large directory?
Two months ago I exported one of my CPTs with about 35.000 listings without any issue.
Something like this will toggle login/logout. Maybe some classes needs to be adapted.
add_filter ( 'wp_nav_menu_items', 'add_loginout_menu_link', 10, 2 ); function add_loginout_menu_link($items, $args) { if ($args->theme_location == 'primary') { if (is_user_logged_in ()) { $items .= '<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="' . wp_logout_url ( "/" ) . '">' . __ ( "Logout" ) . '</a></li>'; } else { $items .= '<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="/gd-login">' . __ ( "Login" ) . '</a></li>'; } } return $items; }
At CEO > Titles & Metas you have a “Need help” button. On “Template explanation” you can see all possible variables.
February 2, 2018 at 6:34 pm in reply to: Changing from Google Maps JS API to OpenStreetMap API afterwards #415670I have never used OSM API but I can guess that you will mess up your locations when switching between the APIs as the results to a geo location request could be different.
February 2, 2018 at 6:29 pm in reply to: Google Maps API key for staging and procution server #415668Hi Marius,
I’m using the same API key for staging and live site. Even cross different domain names I’m using the same API key. I have not seen any issue with this, as the developer console allows you to add whatever you like to your key.
Why should this have an effect on SEO? The crawlers will not see any information about the keys.Best,
Dirk -
AuthorPosts