Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #790788

    I did find the following. However, is there a way to update while using a child theme to prevent overwrite?

    In your WordPress theme directory please go to enfold\framework\php folder and open function-set-avia-frontend.php file and search for “Archive for category”. It should be on 838th line http://i.imgur.com/mg9atjV.jpg
    Simply remove Archive for category:

    #790816

    Hey weddingmuseum,

    I think the only way to achieve that is to override the function, I think this is the function which is used:

    
    if(!function_exists('avia_which_archive'))
    {
    	/**
    	 *  checks which archive we are viewing and returns the archive string
    	 */
    
    	function avia_which_archive()
    	{
                //Codes should be here :)
            }
    }

    then in your child theme’s function.php copy this part of the function:

    
    function avia_which_archive()
    {
        //Codes should be here :)
    }

    then remove the Archive for category in this function. Hope this helps :)

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.