Atilla Boz
Forum Replies Created
-
AuthorPosts
-
I added 1 & 2 now, like this…
// Login add_filter('geodir_login_url','change_geodir_login_url',10,3); function change_geodir_login_url($login_url,$args,$gd_page_id){ //change the url to whatever you want. $login_url = 'http://boz1.timmeserver.de/wp-login.php'; return $login_url; } // Registrierung add_filter('geodir_login_url','_my_geodir_login_url',10,3); function _my_geodir_login_url($login_url,$args,$gd_page_id){ if(isset($args['signup'])){ //change the url to whatever you want. $login_url = 'http://boz1.timmeserver.de/wp-login.php?action=register'; } return $login_url; }
but nothing happens / happened.
That is exactly what I did. And on my local instalation it works just perfect, but for some reason om my online test site, the Redirection works only for the login but NOT for the registration. I already tried the snippet Nr 2 from this site but it has no effect so far :/
https://wpgeodirectory.com/docs/redirecting-the-login-page/
I opened another thread for that, too and hope we find a solution.
Atilla
Ok thank you Stiofan 🙂
This reply has been marked as private.Hi Kor Chung,
I tried that code before to change the registration Link. Adding that code has zero effect to the link. Nothing happens it is still the same old link sending me to GD login.
// Login add_filter('geodir_login_url','_my_geodir_login_url',10,3); function _my_geodir_login_url($login_url,$args,$gd_page_id){ if(isset($args['signup'])){ //change the url to whatever you want. $login_url = 'http://sky-mp3.com'; } return $login_url; }
I dont think those codes are right. Maybe you can re-check them?
Thanks,
AtillaOk, thank you 🙂
March 16, 2017 at 2:14 pm in reply to: Supreme Directory (modded): Hiding searchfield in the listings content div #367745And my final solution with all my different post types, just in case somebody else wanna do, something similar:
/* LISTENANSICHT - Beitrags Listen (Mitte) Suchfeld ausblenden */ .post-type-archive-gd_agenturen #geodir_advanced_search-1, .post-type-archive-gd_place #geodir_advanced_search-1, .post-type-archive-gd_beauty #geodir_advanced_search-1, .post-type-archive-gd_blumen_deko #geodir_advanced_search-1, .post-type-archive-gd_brautmode #geodir_advanced_search-1, .post-type-archive-gd_braeutigammode #geodir_advanced_search-1, .post-type-archive-gd_event #geodir_advanced_search-1, .post-type-archive-gd_catering #geodir_advanced_search-1, .post-type-archive-gd_foto_video #geodir_advanced_search-1, .post-type-archive-gd_fuhrpark #geodir_advanced_search-1, .post-type-archive-gd_geschenke #geodir_advanced_search-1, .post-type-archive-gd_hochzeitsmode #geodir_advanced_search-1, .post-type-archive-gd_hochzeitsreise #geodir_advanced_search-1, .post-type-archive-gd_hochzeitstorten #geodir_advanced_search-1, .post-type-archive-gd_kurse #geodir_advanced_search-1, .post-type-archive-gd_locations #geodir_advanced_search-1, .post-type-archive-gd_papeterie #geodir_advanced_search-1, .post-type-archive-gd_theologen_redner #geodir_advanced_search-1, .post-type-archive-gd_trauringe #geodir_advanced_search-1, .post-type-archive-gd_theologen_unterhaltung #geodir_advanced_search-1 { display: none; }
Of course others with have other names for their post types, you will just have to change the names after
.post-type-archive-gd_
– good luck 🙂
Kind regards,
AtillaMarch 16, 2017 at 1:29 pm in reply to: Supreme Directory (modded): Hiding searchfield in the listings content div #367697Hello everyone,
I found a solution. I adress this class now:
.post-type-archive-gd_brautmode #geodir_advanced_search-1 {
display: none;
}That is the class only of one specific post type. I will add all other post types now and there we go – solution found.
Thanks again Kor Chung & Paolo
March 16, 2017 at 1:19 pm in reply to: Supreme Directory (modded): Hiding searchfield in the listings content div #367693Hi Paolo,
thank you. That code hides the search – but also the search in the headers. Maybe I can hide it based on the page-ID instead. Would be a longer code but a safe way to not delete other stuff.
Or I add a new class maybe…
Regards,
AtillaMarch 15, 2017 at 6:26 pm in reply to: Supreme Directory (modded): Hiding searchfield in the listings content div #367533Hi Kor Chung,
tried it – nothing happened. Is there a special class for the content area only in the listings maybe?
Kind regards,
AtillaMarch 15, 2017 at 2:34 am in reply to: Supreme Directory (modded): Hiding searchfield in the listings content div #367375This reply has been marked as private.March 15, 2017 at 2:18 am in reply to: Supreme Directory: Repositioning the ratings in list-view #367370Thanks Stiofan! Worked for me, even though I had 2 rating areas afterwards.
March 14, 2017 at 3:26 am in reply to: Supreme Directory – List view: right area, content, left area #367084Ah Giri sorry,
I was about to say that still wont work BUT it works! It was absolutely my fault. I had to add stuff to the sidebar of the search area widget. Thanks so much again – you guys are awesome. Best support ever.
Kind regards,
AtillaYou are welcome 🙂
March 11, 2017 at 9:45 pm in reply to: Supreme Directory – List view: right area, content, left area #366754Giri sorry, I have one more thing.
The problem is the search view. In the script it seemed like also in the search list the sidebar is active, too – but I could not get it to work.
I have added 3 screenshots.
1. listings-1 — is how it looks like in the normal listings
2. listings-2-search — is how it looks like in the search area
3. listings-3-searchwithsidebar — is how the search arealooks when you remove 1 line code (see below)I have tried to change the code a little and found out when i remove this line:
remove_action('geodir_search_sidebar_left', 'geodir_action_search_sidebar_left', 10);
Then I can see a sidebar, too but it has no content at all.
You have an idea what has to be change dto make it work in the search view too?Thanks in advance,
Atilla -
AuthorPosts