Forum Replies Created

Viewing 30 posts - 1,771 through 1,800 (of 25,536 total)
  • Author
    Posts
  • in reply to: Hide portfolio archive #1397574

    Hi Stefan,

    Are you referring to website.com/portfolio_entries? or website.com/portfolio_entries/category_name? the former returns 404 however the latter is not possible to remove, you can only change the slug in the URL so if there’s URL conflict it can be avoided. Removing archive pages of the custom post type is possible but not with custom taxonomy.

    Maybe you can try to play with it by re-registering the portfolio and just changing the values as you see fit.
    The one you need to change is $tax_args

    function register_portfolio()
    {
    	global $avia_config;
    
    	$labels = array(
    				'name'				=> _x( 'Portfolio Items', 'post type general name','avia_framework' ),
    				'singular_name'		=> _x( 'Portfolio Entry', 'post type singular name','avia_framework' ),
    				'add_new'			=> _x( 'Add New', 'portfolio', 'avia_framework' ),
    				'add_new_item'		=> __( 'Add New Portfolio Entry', 'avia_framework' ),
    				'edit_item'			=> __( 'Edit Portfolio Entry', 'avia_framework' ),
    				'new_item'			=> __( 'New Portfolio Entry', 'avia_framework' ),
    				'view_item'			=> __( 'View Portfolio Entry', 'avia_framework' ),
    				'search_items'		=> __( 'Search Portfolio Entries', 'avia_framework' ),
    				'not_found'			=>  __( 'No Portfolio Entries found', 'avia_framework' ),
    				'not_found_in_trash' => __( 'No Portfolio Entries found in Trash', 'avia_framework' ),
    				'parent_item_colon'	=> ''
    			);
    
    	$permalinks = get_option( 'avia_permalink_settings' );
    	if( ! is_array( $permalinks ) )
    	{
    		$permalinks = array();
    	}
    
    	$permalinks['portfolio_permalink_base'] = empty( $permalinks['portfolio_permalink_base'] ) ? __( 'portfolio-item', 'avia_framework' ) : $permalinks['portfolio_permalink_base'];
    	$permalinks['portfolio_entries_taxonomy_base'] = empty( $permalinks['portfolio_entries_taxonomy_base'] ) ? __( 'portfolio_entries', 'avia_framework' ) : $permalinks['portfolio_entries_taxonomy_base'];
    
    	$args = array(
    				'labels'			=> $labels,
    				'public'			=> true,
    				'show_ui'			=> true,
    				'capability_type'	=> 'post',
    				'hierarchical'		=> false,
    				'rewrite'			=> array(
    											'slug'			=> _x( $permalinks['portfolio_permalink_base'], 'URL slug', 'avia_framework' ),
    											'with_front'	=> true
    											),
    				'query_var'			=> true,
    				'show_in_nav_menus'	=> true,
    				'show_in_rest'		=> true,				//	set to false to disallow block editor
    				'taxonomies'		=> array( 'post_tag' ),
    				'supports'			=> array( 'title', 'thumbnail', 'excerpt', 'editor', 'comments', 'revisions' ),
    				'menu_icon'			=> 'dashicons-images-alt2'
    			);
    
    	$args = apply_filters( 'avf_portfolio_cpt_args', $args );
    	$avia_config['custom_post']['portfolio']['args'] = $args;
    
    	register_post_type( 'portfolio' , $args );
    
    
    	$tax_args = array(
    					'hierarchical'		=> true,
    					'label'				=> __( 'Portfolio Categories', 'avia_framework' ),
    					'singular_label'	=> __( 'Portfolio Category', 'avia_framework' ),
    					'rewrite'			=> array(
    												'slug'			=> _x( $permalinks['portfolio_entries_taxonomy_base'], 'URL slug', 'avia_framework' ),
    												'with_front'	=> true
    											),
    					'query_var'			=> true,
    					'show_in_rest'		=> true			//	set to false to disallow block editor
    				);
    
    	$avia_config['custom_taxonomy']['portfolio']['portfolio_entries']['args'] = $tax_args;
    
    	register_taxonomy( 'portfolio_entries', array( 'portfolio' ), $tax_args );
    
    	//deactivate the avia_flush_rewrites() function - not required because we rely on the default wordpress permalink settings
    	remove_action( 'wp_loaded', 'avia_flush_rewrites' );
    }
    
    add_action( 'init', 'register_portfolio' );

    You can see further information in WordPress Codes: https://developer.wordpress.org/reference/functions/register_taxonomy/

    Best regards,
    Nikko

    in reply to: anchor links header #1397566

    Hi DianaLoola73,

    I think the issue you are having is similar to https://kriesi.at/support/topic/sticky-header-covers-content-of-destination-anchor/
    Please check the solution provided by Mike on that thread.
    Hope it helps.

    Best regards,
    Nikko

    in reply to: Header: Bar #1397565

    Hi Lene,

    I have changed the color in the top bar, in Enfold > Advanced Styling > Small bar above Main Menu > font color

    As for the bold headings, it is caused by All Headings (H1-H6) in Advanced Styling which has font-weight set to light and text transform to uppercase, I have removed it and it fixed the issue. Basically settings at the bottom have higher priority than those at the top (in Advanced Styling).

    Best regards,
    Nikko

    Hi Mike,

    Thanks for giving us admin access.
    We have modified the page and changed the image size to have height of 100px and it works properly.
    The gold sponsor logo is not showing the green arrow because it has no link.
    Please review the page.

    Best regards,
    Nikko

    in reply to: Masonry Gym Enfold, how to change Photos #1397534
    in reply to: Multiple custom Social Icons for Header / Footer #1397533

    Hi Tobias,

    Thanks for giving us admin access.
    I have modified the codes:
    Adding TikTok Social Icon

    // Register new icon as a theme icon
    function avia_add_tiktok_icon($icons) {
    	$icons['TikTok']	 = array( 'font' =>'tiktok', 'icon' => 'ue800');
    	return $icons;
    }
    add_filter('avf_default_icons','avia_add_tiktok_icon', 10, 1);
    
    // Add new icon as an option for social icons
    function avia_add_tiktok($icons) {
    	$icons['TikTok'] = 'TikTok';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_tiktok', 10, 1);

    Adding Spotify Social Icon

    // Register new icon as a theme icon
    function avia_add_spotify_icon($icons) {
    	$icons['Spotify']	 = array( 'font' =>'spotify', 'icon' => 'uf1bc');
    	return $icons;
    }
    add_filter('avf_default_icons','avia_add_spotify_icon', 10, 1);
    
    // Add new icon as an option for social icons
    function avia_add_spotify($icons) {
    	$icons['Spotify'] = 'Spotify';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_spotify', 10, 1);

    Please review your site.

    Best regards,
    Nikko

    in reply to: Possibility to undo theme settings ? #1397532

    Hi JM,

    Unfortunately, we don’t have such a feature.
    The only thing we suggest is to backup theme settings and export it, then import it if you want to restore it to that settings.
    You can use a staging site and do the modifications there first, and you can test importing the backup settings there to see if it works properly or not.

    Best regards,
    Nikko

    in reply to: Style blockquote left border #1397531

    Hi mediaapps,

    Please go to Enfold > Advanced Styling > select < blockquote > (without space) and click Edit Element button.
    Blockquote section should be added, just change the border color there.
    Hope this helps :)

    Best regards,
    Nikko

    in reply to: remove underline and change color #1397530

    Hi Franz,

    I’m glad that Rikard could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

    in reply to: Enfold and Verdana font issues #1397529

    Hi xeovision,

    We are happy to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

    in reply to: Remove transparency effect on menu background #1397528

    Hi Oceans247,

    Please try to add this CSS code in Enfold > General Styling > Quick CSS:

    .av-burger-overlay-bg {
        opacity: 1;
    }

    Hope it helps.

    Best regards,
    Nikko

    in reply to: Full Width Easy Slider Video Issue #1397527

    Hi Tim,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( to be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    in reply to: Hide portfolio archive #1397526

    Hi Stefan,

    Please add this code in your child theme’s functions.php file(at the bottom):

    add_action('init', 'avia_deregister_portfolio', 5);
    function avia_deregister_portfolio()
    {
    	remove_action('init', 'portfolio_register');  
    }

    If you aren’t using a child theme yet, you can download and find instructions on how to use it here: https://kriesi.at/documentation/enfold/child-theme/ (make sure to import parent theme options).

    Best regards,
    Nikko

    in reply to: Header: Bar #1397376

    Hi Lene,

    Thanks for giving us admin access, we have modified the code and added it to your Quick CSS:

    #top #header #header_meta, 
    #top #header #header_meta nav ul ul li, 
    #top #header #header_meta nav ul ul a, 
    #top #header #header_meta nav ul ul {
        background-color: transparent !important;
        border: 0;
    }

    Please review your site.

    Best regards,
    Nikko

    in reply to: Any Active Plugin Stops Images From Loading #1397374

    Hi WellStrategic,

    I’m glad that Yigit could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

    in reply to: Import: Construction Demo – Fail #1397373

    Hi Craig,

    Please enable PHP ZipArchive Extension and that should fix the issue.
    You can verify if it’s enabled or disabled by going to the link in private content.
    You can enable it via cPanel here’s a guide on how to enable it: https://bobcares.com/blog/enable-php-zip-extension-cpanel/ or you can request help from your hosting provider to enable this feature and the issue should be fixed.

    Best regards,
    Nikko

    in reply to: Edit Front Problem #1397371

    Hi IBRAHIMBerro,

    I have checked the latest homepage but I did not see an error page not found warning.
    There seems to be incompatibility with some of the shortcodes used by the theme and the server configuration of your webhost, that’s why some inconveniences are happening.
    I would suggest saving each time you add or modified an element or section just to be sure, there may be some other keywords that are not allowed causing the error you mentioned.

    Best regards,
    Nikko

    in reply to: Editing Problem #1397366

    Hi Mark,

    Thanks for giving us the admin access and I apologize for the delayed response.
    It seems the issue was caused by a incompatibilities between an outdated version of Enfold (4.2.1) and the latest version of WordPress and plugins.
    The issue was fixed after updating the theme to the latest version (5.4).
    Please review the staging site.

    Best regards,
    Nikko

    in reply to: Fehlerbehebung nach php Erneuerung #1396938

    Hi fumsel,

    It seems the login access has already expired.
    Can we ask for you to renew access? and also request for FTP access, so we can try to debug it.

    Best regards,
    Nikko

    in reply to: When I try import demo manually i get this error #1396937

    Hi nataliaborduk,

    Our server is not blocking anything, can you try to ask your hosting provider to check if the firewall blocks http://kriesi.at/ similar to this thread: https://kriesi.at/support/topic/demo-images-import-not-working/

    Best regards,
    Nikko

    in reply to: Column structure —smaller than 1/5th #1396936

    Hi billbasler,

    1. Assuming you suggest an edit to Quick CSS to fix this, it would be preferable to have a height %/px dimension that I can edit to arrive at the best height.
    It is not good to use CSS in this case as it would just stretch the image, you can either modify an existing image size or create a new one, for example I found this in your child theme:

    $size['portfolio'] = array('width'=>495, 'height'=>495);

    You can just change the height of the portfolio image size and then re-upload the featured images to get the desired size.

    2. In addition to this, I would like the Blog Post headline and the Blog post excerpt to left align at the same line as the photo. Essentially this will use the entire middle column without wide margins.
    I have added this CSS code:

    #top #wrap_all .av-alb-blogposts .post-title {
        margin: 0 0 10px;
    }
    
    #top #wrap_all .fullsize .av-alb-blogposts .entry-content {
        max-width: 100% !important;
    }

    3. And finally, on the lower blog grid, it seems like a recent edit created an unexpected consequence. I would like the images for the 6 grid posts to be perfect squares. It seems that the one in the lower left is wanting to show the entire image rather than cropping it to a square as on the others.
    It seems this plugin is interferring with the sizes: DeMomentSomTres WordPress Export Posts With Images
    I have disabled the plugin and re-uploaded the featured images, then in the homepage I edited the Blogposts and have set its Preview Image Size to Choose the preview image size manually and Select custom preview image size and set it to Portfolio which is using 495px x 495px image size (on your site). And it seems to work properly.

    Best regards,
    Nikko

    in reply to: Edit Front Problem #1396757

    Hi IBRAHIMBerro,

    Thanks for providing us with FTP access.
    I was able to modify wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-popup-templates.php and commented out this codes (line 715-7450:

    array(
    	'name'		=> __( 'Background Image', 'avia_framework'),
    	'desc'		=> __( 'Select an existing or upload a new background image.', 'avia_framework' ),
    	'id'		=> 'overlay_pattern',
    	'type'		=> 'select',
    	'folder'	=> 'images/background-images/',
    	'folderlabel'	=> '',
    	'group'		=> 'Select predefined pattern',
    	'exclude'	=> array( 'fullsize-', 'gradient' ),
    	'std'		=> '',
    	'lockable'	=> $lockable,
    	'required'	=> array( 'overlay_enable', 'not', '' ),
    	'subtype'	=> array(
    						__( 'No Background Image', 'avia_framework')	=> '',
    						__( 'Upload custom image', 'avia_framework')	=> 'custom'
    					)
    ),
    
    array(
    	'name'		=> __( 'Custom Pattern', 'avia_framework' ),
    	'desc'		=> __( 'Upload your own seamless pattern', 'avia_framework' ),
    	'id'		=> 'overlay_custom_pattern',
    	'type'		=> 'image',
    	'fetch'		=> 'url',
    	'secondary_img' => true,
    	'title'		=> __( 'Insert Pattern', 'avia_framework' ),
    	'button'	=> __( 'Insert', 'avia_framework' ),
    	'std'		=> '',
    	'lockable'	=> $lockable,
    	'required'	=> array( 'overlay_pattern', 'equals', 'custom' )
    )

    This is only just a temporary solution and you will need to do this on every theme update since any changes on the parent theme will be overridden during the theme update.
    Also, with this code removed, background overlays will not work.
    If the hosting provider will still refuse to fix the issue then I would suggest you would consider to migrate to a better hosting provider.

    Best regards,
    Nikko

    in reply to: Support Anfrage #1396755

    Hi gregwu,

    Yes, we will help you.
    Please register here first: https://kriesi.at/support/register/
    Once you have successfully registered, post a new topic here: https://kriesi.at/support/forum/enfold/#new-post
    Just post the link to this thread so we can continue on the conversation.
    Best regards,
    Nikko

    in reply to: How to remove #top in menu link #1396722

    Hi yundian,

    Can you provide a staging site? so we can check further.

    Best regards,
    Nikko

    in reply to: How to remove #top in menu link #1396711

    Hi yundian,

    Please try to edit this file: enfold/includes/helper-main-menu.php and remove this line of code (line 198).

    'theme_location'	=> $avia_theme_location,

    See if this helps.

    Best regards,
    Nikko

    in reply to: Edit Front Problem #1396709

    Hi IBRAHIMBerro,

    The login you gave is for the WordPress Dashboard, please check.
    I think FTP would be sufficient, cPanel would also be good since it has greater access.

    Best regards,
    Nikko

    in reply to: Column structure —smaller than 1/5th #1396708

    Hi billbasler,

    I apologize for the delay.

    Problem 1, is a layout issue, the image and heading should be inside the Color Section and not outside it, I just adjusted wrapped those elements inside the Color Section and adjust the position.

    Problem 2, I’m not really sure what’s the issue with the text, can you give us more context?

    Problem 3, I have fixed it with this CSS code:

    #av-extra-columns .avia-content-slider, 
    #av-extra-columns .avia-content-slider .slide-entry-wrap {
        margin-bottom: 0;
    }

    Problem 4, fixed with this CSS code:

    #top #av-extra-columns .post-meta-infos {
        float: none;
    }

    Best regards,
    Nikko

    in reply to: Remove Category link #1396707

    Hi yundian,

    You’re welcome :)
    We’ll be checking on your other thread.
    Thanks for using Enfold and have a great weekend!

    Best regards,
    Nikko

    in reply to: Hide burger menu item #1396510

    Hi Jorge,

    Please us this code to make it work in all pages:

    #top #av-burger-menu-ul .menu-item-21615 {
    	display: none;
    }

    If that still does not work, then you can go to Enfold > Main Menu > General (tab) > Alternate Menu For Mobile and use a different menu.

    Best regards,
    Nikko

    in reply to: Warning: Creating default object from empty value in… #1396509

    Hi marketingcoespro,

    We are happy to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 30 posts - 1,771 through 1,800 (of 25,536 total)