Forum Replies Created

Viewing 30 posts - 181 through 210 (of 251 total)
  • Author
    Posts
  • Hi Ismael, sorry for the late reply but I had another work to finish! Thanks very much for your answer. It worked perfectly. It is true that sometimes using shortcodes in functions may create problems.

    You are always a great team.

    in reply to: Lightobx disappeared on woocommerce single page product #767512

    Just found what is causing the problem. In my functions.php I added a code which enables a full size submenu in each single product page.

    //adds a submenu on top the single product page
    add_action( 'woocommerce_before_main_content', 'wc_submenu');
    function wc_submenu () {
    	if(is_product()) {
    echo do_shortcode ("[av_hr class='invisible' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' custom_class='']");
    		
    echo do_shortcode ("[av_submenu which_menu='' menu='41' position='center' color='main_color' mobile='disabled' custom_class=''][/av_submenu]");
    echo do_shortcode ("[av_hr class='invisible' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' custom_class='']");
    	}
    }

    Do you have any suggestion to keep it without interfering with the woocommerce lightbox? Thanks a lot

    in reply to: Lightobx disappeared on woocommerce single page product #767453

    I already deactivated the plugins. Non of them was the problem. I saw that the prblem disappeared when I switched back to the default version of Enfold. So I guess the main problem lays in my functions.php saved in the child theme. Just added back the file animate.css, which however was not causing the problem. It adjust the image in the screen but it worked for an element that however is no more in use.

    in reply to: Lightobx disappeared on woocommerce single page product #767439

    I just did it on my local copy of the site, but the problem remains. Could you by the way check my functions.php file? I don’t know if there are some codes that may prevent the prettyPhoto (actually I suppose not, but I wonder if it is the case). I gave already the account details

    in reply to: Lightobx disappeared on woocommerce single page product #767430

    Hi Jhon have you some other suggestions on what can I do with my problem?
    Thanks!

    Unfortunately not, as the client is living very far way from me. I’ll tell her to check with some other device.

    in reply to: Lightobx disappeared on woocommerce single page product #766006

    Thanks, I tried but it didn’t work. I still have the same problem. Any other possibility? Did I mess up with some function on my child theme functions.php? I checked it and I don’t see any particular issue that may cause that problem but surely it must be somewhere as going back to the default Enfold theme the lightbox works again.

    I saved a post model created with the Advanced Layout Builder. Actually the client should use this model to post new articles. However she says she cannot select the model, since the button doesn’t work on iPad. I have no idea, since I tried on two devices (iPad and iPhone) and everything worked perfectly.

    Have you ever faced any issue of this kind?
    Best regards
    Elena

    I found where was te problem: the server settings were preventing any update saving. It has been solved. Sorry for any incovenience
    You offer always great support!

    Hi Jordan no errors, but I realized that in the meanwhile when I open now pages and posts the avia advanced layout builder doesn’t load too. I can see the elements in the avia debug windows as shortcodes, but the graphic elements do not appear (spinning icon only). From the list of pages, I can see a spinning icon not running instead of the update icon for languages in those pages that I tried to update the language.

    I am in contact with WPML too. I tried with another theme but the problem remains. However it is strange, as it happened suddenly. Myself and the client were easily translating everything, and after few weeks we didn’t do anything on the website this problem occurred.

    Yes I did it but nothing. The problem occurred first when the client was trying to update some products translation via Woocommerce Multilingual section. When I tested it it came out that also page translation was having some problems

    Yes Nikko, I did already add teh code you mention to my functions.php file. However I have the suspect that an issue exist with the local copy I am working with and not with the Enfold update. I will try today to update Enfold on the online version of the website and see what happens. In case I have the same issue I’ll contact you again and give an access to the website.
    thanks

    in reply to: Sidebar doen't display on single product page Enfold #745031

    Hi Ygit, I still had the same problem on my website. I bypssed it by creating a full-size custom menu on top the main content of the single product page: I added to my function.php

    However it would be nice to understand why the left sidebar stays below the main product image and nto beside the main content!

    Wooow I got it! I missed the last update advise! Now I got it.

    Thanks very much

    Hi Rikard have you got the chance to check my problem? Thank you!

    Ooops something got wrong Here the new credentials

    Hi Rikard, two days ago I sent you the login but I suspect I did something wrong and it didn’t go through. Here I add it again

    best

    eelna

    in reply to: Social networks do not show the website preview #727452

    Well actually I found the settings in YOAST SEO, but stilld it doesn’t work well… I saw that a possibility for managing social previews better is given with the Yoast Premeium version.

    Thanks

    in reply to: Social networks do not show the website preview #727150

    Well actually my problem doesn’t concern the sharing button. It is regarding the pasting in facebook or linkedin of the page url (e.g the home page url). If I do that look at what happens http://imgur.com/2k1AQoT
    I’ll try the plugin you suggest

    Hi Nikko, yes you are right. I achieved the same result, but only with posts written with the standard view. If, on the contrary, I edit a post using the avia layout builder, the short text disappears completely from the blog-grid. Are you aware of it?

    Actually it is fine for simple posts, but in the case I would need to build a post template with avia layout builder, then it is a pity that the text excerpt does not appear in blog grid.

    in reply to: Adding a new thumbnail size to Enfold dropdown list #720973

    Thank you very much Ismael: it works perfectly!

    Elena

    Excuse me, I found the code that was interfering. It was the following

    //add a custom link to the account registration in the checkout page
    
    add_action('woocommerce_checkout_fields', 'add_registration_custom_link');
    
    function add_registration_custom_link(){
     if(is_checkout()){
        if (!is_user_logged_in()){
        $info_message  = apply_filters( 'woocommerce_checkout_login_message', __( 'Sei un nuovo cliente? ', 'woocommerce' ) );
        $info_message .= '<a href="http://www.vincenzaboutique.it/mio-account?redirect_to=http://www.vincenzaboutique.it/checkout/">' . __( 'Clicca qui per Registrarti', 'woocommerce' ) . '</a>';
        wc_print_notice( $info_message, 'notice' );
         }
      }
    }

    I simply deleted it and everything started working again!

    in reply to: Adding Avia Elements to Woocommerce archive-product.php #709682

    Hi Nikko the ftp access is given in the private section.

    Yes the idea is to have the wp layer slider [layer-slider-6] and the section with five pictograms over every page that is generated by the archive-page.php, in the same manner of the main shop page.

    I could work on shop layout as Enfold gives me the possibility to do it. However I would like that also by selecting a category or subcategory from the left sidebar the page appears in the same manner.

    Thanks very much

    in reply to: Adding Avia Elements to Woocommerce archive-product.php #709072

    Hi Nikko,

    thanks for the suggestion. The shortcode now is read, but the layout is all messy. Do you have any suggestion?

    You can find the site at the following address:

    I would like that archive-pages get the same layout of the shop page (http://www.vincenzaboutique.it/negozio/), with the layer slider and the section with the pictograms.

    If I paste my shortcodes in the archive-page.php it mess up everything. I tried also to check in the enfold/woocommerce/config.php if I could copy and modify the action woocommerce_before_main_content, but It comes always with the same problem.

    I really appreciate your help

    • This reply was modified 9 years, 4 months ago by elenapoliti.
    in reply to: Sidebar doen't display on single product page Enfold #703864

    Hi Rikard, I still have the website on my local computer as I am working mainly on the code (easier in local environment). I hope I can migrate it online in the next couple of days, as I am waiting fir the activation of the server and domain. I will send you then a temporary login.

    In the meanwhile I am trying to work on custom avia shortcodes as in this case I could create a template product page with avia layout builder, which is populated automatically by woocommerce hooks, in order to avoid any manual product update.

    I’ll get back to you soon. thanks

    @rikard everything is fine: I solved it

    Hi @rikard, thanks and thank you @guenni007, the code works! However I am finding out the way of centering a code block in a 1/3 layout content element. It is aligned on the left.

    in reply to: Modify the shortcodes list in a text block #698185

    Hi Andy just found the solution. For information to any other user, here the php code to create an ad hoc shortcodes that adds an <abbr> tag to show full text on mouse hover on acronyms

    <?php
    /*it creates an <abbr> tag*/
    
    if ( !class_exists( 'av_abbr' ) )
    {
    	class av_abbr extends aviaShortcodeTemplate
    	{
    			/**
    			 * Create the config array for the shortcode button
    			 */
    			function shortcode_insert_button()
    			{
    				$this->config['name']			= __('Acronym Extension');
    				$this->config['order']			= 100;
    				$this->config['shortcode'] 		= 'av_abbr';
    				$this->config['tooltip'] 	    = __('Creates a full text which appears on mouse over acronyms terms');
    				$this->config['inline'] 	= true;
    				$this->config['tinyMCE']    = array('tiny_always'=>true);
    			}
    
    			/**
    			 * Popup Elements
    			 *
    			 * If this function is defined in a child class the element automatically gets an edit button, that, when pressed
    			 * opens a modal window that allows to edit the element properties
    			 *
    			 * @return void
    			 */
    			function popup_elements()
    			{
    				$this->elements = array(
    					
    					array(
    							"type" 	=> "tab_container", 'nodescription' => true
    						),
    						
    					array(
    							"type" 	=> "tab",
    							"name"  => __("Content" , 'avia_framework'),
    							'nodescription' => true
    						),
    					array(	"name" 	=> __("Acronym", 'avia_framework' ),
    							"desc" 	=> __("This is the acronym.", 'avia_framework' ),
    				            "id" 	=> "acronym",
    				            "type" 	=> "input",
    				            "std" => __("ACR", 'avia_framework' )),
    					
    					array(	"name" 	=> __("Full title", 'avia_framework' ),
    							"desc" 	=> __("This is the text that appears on your acronym.", 'avia_framework' ),
    				            "id" 	=> "title",
    				            "type" 	=> "input",
    				            "std" => __("Full text", 'avia_framework' )),
    					array(
    							"type" 	=> "close_div",
    							'nodescription' => true
    						),
    						
    				);
    
    		}
    
    			/**
    			 * Frontend Shortcode Handler
    			 *
    			 * @param array $atts array of attributes
    			 * @param string $content text within enclosing form of shortcode element
    			 * @param string $shortcodename the shortcode found, when == callback name
    			 * @return string $output returns the modified html string
    			 */
    			function shortcode_handler($atts, $content = "", $shortcodename = "", $meta = "")
    			{
    				$output = "";
    
    				$atts = shortcode_atts(
    						array(	'title'=>'',
    								'acronym' =>'', 
    							), $atts, $this->config['shortcode']);
    				
    
    			
    				$output = '';
    				
    				$output= "<abbr title='".$atts['title']. "'> " . $atts['acronym'] . "</abbr>";
    
    				
    				return $output;
    			}
    
    	}
    }
    
    

    You can close the topic. Thanks

    Elena

    in reply to: Modify the shortcodes list in a text block #698172

    Thanks Andy I already added the function and I started to write a new shortcode php file for that purpose, taking a hint from the dropcap.php file to understand how it works.

    Not really sure about how implementing: I did some trials but they did not work. I imagine you cannot help me with a bunch of code?

    I’d just like to have a quick shortcut as the one in the image below that adds to the text the <abbr> tag in which I can modify the full title.

    I already modify the css with the following code:

    abbr {
        position: relative;
    }
    abbr:hover::after {
        position: absolute;
        bottom: 100%;
        left: 0%;
        display: block;
        padding: 5px;
        background: rgb(0,102,204);
        color:rgba(255,255,255,1);
        font-size:12px;
        content: attr(title);
        white-space: nowrap;
    }
    

    So that if I add the <abbr> tag manually in the html editor it works. Still it would be nice I could add a shortcut from the Tiny-MCE Editor!

    Thanks

    Elena

    • This reply was modified 9 years, 5 months ago by elenapoliti.

    Hi, in the meanwhile I solved the problem. The server had the Module PageSpeed turned on.

    For future reference, I added to the .htaccess file the following code and disabled it

    # Disable Mod PageSpeed with parameter off
    ModPagespeed off

    It seems that PageSpeed interferes with the enfold structure

    • This reply was modified 9 years, 5 months ago by elenapoliti.
Viewing 30 posts - 181 through 210 (of 251 total)