Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #589837


    I ran into 2 strange problems while using Enfold:

    1) On the single posting view, the thumbnail image (featured image) links to a completely different image (from another posting), which then gets opened in a lightbox. How can I change this?

    2) When I post a comment on the single view of a normal blog posting, I then get redirected to the single view of a portfolio item (sending you example links in the private content area), with #comment-NUMBER added to the URL of that page.

    I have changed the name of the portfolio items with a function I’ve found in this forum, here is the code from my child themes functions.php:

    /** Change name of "Portfolio Items" to "Museen"
    /* Code from: (Purchase code hidden if logged out) -type-child-theme-issues/#post-564363
    function unregister_taxonomy(){
    	global $wp_taxonomies;
    	$taxonomy = 'portfolio_entries';
    	if ( taxonomy_exists( $taxonomy))
    		unset( $wp_taxonomies[$taxonomy]);
    add_action( 'init', 'unregister_taxonomy', 30);
    // portfolio args
    add_action( 'init', 'init_reg_portfolio', 50 );
    function init_reg_portfolio() {
    	add_filter('avf_portfolio_cpt_args', 'avf_portfolio_cpt_args_mod', 50, 1);
    	$tax_args = array(
    		"hierarchical" => true,
    		"label" => "Museen Kategorien",
    		"singular_label" => "Museen Kategorie",
    		"rewrite" => array('slug'=>_x($permalinks['portfolio_entries_taxonomy_base'],'URL slug','avia_framework'), 'with_front'=>true),
    		"query_var" => true
    	$avia_config['custom_taxonomy']['portfolio']['portfolio_entries']['args'] = $tax_args;
    	register_taxonomy("portfolio_entries", array("portfolio"), $tax_args);
    add_action( 'after_setup_theme', 'init_reg_portfolio' );
    function avf_portfolio_cpt_args_mod($args) {
    	$labels = array(
    		'name' => _x('Museen', 'post type general name','avia_framework'),
    		'singular_name' => _x('Museum', 'post type singular name','avia_framework'),
    		'add_new' => _x('Hinzufügen', 'portfolio','avia_framework'),
    		'add_new_item' => __('Museum hinzufügen','avia_framework'),
    		'edit_item' => __('Museum bearbeiten','avia_framework'),
    		'new_item' => __('Museum hinzufügen','avia_framework'),
    		'view_item' => __('Museum ansehen','avia_framework'),
    		'search_items' => __('Museen durchsuchen','avia_framework'),
    		'not_found' =>  __('Kein Museum gefunden','avia_framework'),
    		'not_found_in_trash' => __('Kein Museum im Papierkorb gefunden','avia_framework'),
    		'parent_item_colon' => ''
    	$args['labels'] = $labels;
    	return $args;

    I have neither altered the comments template, nor the includes/loop-index.php!
    Any help would be appreciated!

    Thanks in advance,
    Stephanie Jagl-Posch


    Hi gugler!

    Sorry for the delay.

    We checked for the issues you mentioned above..

    1. Clicking on featured image in blog post opened the same image in lightbox.

    2. Tested the comment section for the link posted in private and it worked fine.

    Not sure if you got this sorted…

    please get in touch with us if you have any questions we are more than happy to help you :)

    Vinay Kashyap


    thank you for your reply – yes, we were able to fix this issue in the meantime, it was not an issue with enfold.



    Great, glad you got it working. Please let us know if you should need any more help on the topic.


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

You must be logged in to reply to this topic.