Stiofan O'Connor

Forum Replies Created

Viewing 15 posts - 4,366 through 4,380 (of 13,774 total)
  • Author
    Posts
  • in reply to: Disable filesytem access notifications #388879

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Pierre,

    You can remove them with the following

    
    
    remove_action('admin_init', 'geodir_filesystem_notice');
    remove_action('admin_notice', 'geodir_filesystem_notice');

    Thanks,

    Stiofan

    in reply to: My Listings and My Favorites Links Are Broken #388825

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It has nothing to do with user roles “subscriber, author, editor,admin etc”
    It basically a setting for enabling/disabling the users pages, if its disabled, its not going to work 🙂

    Stiofan

    in reply to: Epic 404 on listings #388821

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    yeah give it a try.

    Stiofan

    in reply to: Epic 404 on listings #388812

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I updated my code here and also on your site.

    In this case its not working because its looking for “mixto-restaurant” but the actual url is “mixto-restaurant-1”

    If this is wide spread we could try altering the query a bit but if its just that listing then its not really worth it.

    Stiofan

    in reply to: Country(location)-specific widgets #388806

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Adrian,

    What you could do is use the location SEO description and add shortcodes and the text you want.

    You can then add the locatino description widget to one of the homepage widget areas.

    Then add this code snippet to enable shortcodes to work there:

    add_filter('geodir_location_description','do_shortcode');

    Other than that widget logic might work but i have not tested.

    Thanks,

    Stiofan

    in reply to: Epic 404 on listings #388805

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Pat,

    
    
    function _my_fix_listings_404s(){
    	if( is_404() ){
    
    		$url = $_SERVER['REQUEST_URI'];
    		$slug = basename($url);
    		global $wpdb;
    		$post_id = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_type IN ('gd_place','gd_event') AND post_status = 'publish' AND post_name = %s", $slug));
    
    		if(!empty($post_id)){
    			wp_safe_redirect( esc_url( get_permalink( $post_id) ), 301 );
    			exit;
    		}
    	}
    }
    add_action( 'template_redirect', '_my_fix_listings_404s' );

    Stiofan

    in reply to: My Listings and My Favorites Links Are Broken #388802

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Yes, basically if you dont have author archives enabled then you can’t view authors and authors cant view their profiles so you need that active.

    Stiofan

    in reply to: Invoicing Not Working #388801

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    in reply to: License Key #388798

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    OK, thanks for keeping us posted.

    in reply to: Epic 404 – Article Not Found when searching listings #388796

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    What am i checking here? The search seems to work, no 404’s?

    Stiofan

    in reply to: Epic 404 on listings #388793

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    if it were me..

    I would write a wee snippet that only ran on the 404 page, it would grab the last slug and check if its a real post and if so redirect to the proper url.

    Stiofan

    in reply to: Epic 404 on listings #388732

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    “i enabled category in url but then google still gives them without the category in it”

    The ones i checked from this search https://wpgeodirectory.com/support/topic/epic-404-on-listings/#post-388616

    Now work, so i gess google has a mix and mash of some with and some without, just pick one and stick with it.

    Check if there are many links google has to broken urls, you might have to do some redirects.

    Stiofan

    in reply to: GD Booster MaxCDN Shutoff #388729

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You have other caching plugins enabled? I can’t test while they are enabled.

    Stiofan

    in reply to: Country(location)-specific widgets #388726

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    What visability options are u currently using? Can you provide wp-admin details in a private reply and i’ll take a look.

    Stiofan

    in reply to: Epic 404 on listings #388725

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
Viewing 15 posts - 4,366 through 4,380 (of 13,774 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount