meta data writing interferes with non-geodirectory categroies

This topic contains 4 replies, has 2 voices, and was last updated by  Vikas 10 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #2384

    Kevin Heath
    Buyer
    Post count: 33

    The custom function that auto-writes meta names and keywords interferes with non-geodirectory category and tags.
    When it takes the category description or tag and writes it to meta name description it can write it to the body and not the head area.

    I’ve commented out

    line 486 – 495

    
    
    
    	/*	elseif(is_category() || is_tag()){
    				if(is_category()){
    					echo __("Posts related to Category:", GEODIRECTORY_TEXTDOMAIN)." ".ucfirst(single_cat_title("", FALSE));
    				}elseif(is_tag()){ 
    					echo __("Posts related to Tag:", GEODIRECTORY_TEXTDOMAIN)." ".ucfirst(single_tag_title("", FALSE));
    				}
    			} 
    			elseif(isset($current_term->taxonomy)){
    				echo isset($current_term->description) ? $current_term->description : '';
    			}*/
    

    in custom_functions.php to deal with this. It would be much better if the function was written to only work with geodirectory post types and not all post types.

    Kevin

    #2388

    Vikas
    Full Member
    Post count: 1128

    Hi,

    I have fixed it and it will work like this in next release.

    Thanks

    #2431

    Kevin Heath
    Buyer
    Post count: 33

    Thanks.

    This was causing issues with Woocommerce category and tag pages and affecting all in one SEO plugin

    Thanks
    Kevin

    #2485

    Vikas
    Full Member
    Post count: 1128

    Hi,

    Next version will be available very soon.

    #2486

    Vikas
    Full Member
    Post count: 1128

    Hi,

    plz download attached zip, extract it, u will get post_functions.php in it, upload that in geodirectory/geodirectory_functions/ folder.
    Please take backup of ur file first.Let me know if it solves ur problem.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket