Viewing 30 results - 16,561 through 16,590 (of 16,897 total)
  • Author
    Search Results
  • #164324
    allegrabillings
    Participant

    Hey guys, I know this has been asked before but I am still having trouble after looking over different solutions. I want to make the iconbox icons themselves link not just the heading in the box (the default behavior)

    I saw one solutions that made the whole box a link, which I don’t want.

    then I saw this from dude
    https://kriesi.at/support/topic/icon-box-icon-link/

    and that is what I tried. But it isn’t working. and I can’t figure out how to impliment it. I am using a child theme and this is a bit new for me in changing this type of code. I have only modified some of the functions behaviors and css thus far.

    I changed the code per dudes instructions and them I placed the entire iconbox.php file in my child folder and that didn’t work. then because I didn’t know how to deploy the change I tried to add just the new code to functions.php

    Can you please tell me what if anything is wrong with my code in the iconbox.php file and then how/where to place it in my child themes folder.
    Thanks

    ps. line 172 is where the change started, but I guess you can’t see that obviously. but gives general location.
    website is http://jackandaddi.com/ and there are some icon boxes on the home screen.

    <?php
    /**
    * Textblock
    * Shortcode which creates a text element wrapped in a div
    */

    if ( !class_exists( 'avia_sc_icon_box' ) )
    {
    class avia_sc_icon_box extends aviaShortcodeTemplate
    {
    /**
    * Create the config array for the shortcode button
    */
    function shortcode_insert_button()
    {
    $this->config['name'] = __('Icon Box', 'avia_framework' );
    $this->config['tab'] = __('Content Elements', 'avia_framework' );
    $this->config['icon'] = AviaBuilder::$path['imagesURL']."sc-icon_box.png";
    $this->config['order'] = 90;
    $this->config['target'] = 'avia-target-insert';
    $this->config['shortcode'] = 'av_icon_box';
    $this->config['tooltip'] = __('Creates a content block with icon to the left or above', 'avia_framework' );
    }

    /**
    * 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(
    "name" => __("IconBox Icon",'avia_framework' ),
    "desc" => __("Select an IconBox Icon bellow",'avia_framework' ),
    "id" => "icon",
    "type" => "iconfont",
    "font" => "entypo-fontello",
    "folder"=> AviaBuilder::$path['assetsURL']."fonts/",
    "chars" => AviaBuilder::$path['pluginPath'].'assets/fonts/entypo-fontello-charmap.php',
    "std" => "1"),

    array(
    "name" => __("Icon Position", 'avia_framework' ),
    "desc" => __("Should the icon be positioned at the left or at the top?", 'avia_framework' ),
    "id" => "position",
    "type" => "select",
    "std" => "left",
    "subtype" => array( __('Left', 'avia_framework' )=>'left',
    __('Top', 'avia_framework' )=>'top')),

    array(
    "name" => __("Title",'avia_framework' ),
    "desc" => __("Add an IconBox title here",'avia_framework' ),
    "id" => "title",
    "type" => "input",
    "std" => __("IconBox Title",'avia_framework' )),

    array(
    "name" => __("Title Link?", 'avia_framework' ),
    "desc" => __("Do you want to apply a link to the title?", 'avia_framework' ),
    "id" => "link",
    "type" => "linkpicker",
    "fetchTMPL" => true,
    "std" => "",
    "subtype" => array(
    __('No Link', 'avia_framework' ) =>'',
    __('Set Manually', 'avia_framework' ) =>'manually',
    __('Single Entry', 'avia_framework' ) =>'single',
    __('Taxonomy Overview Page', 'avia_framework' )=>'taxonomy',
    ),
    "std" => ""),

    array(
    "name" => __("Open in new window", 'avia_framework' ),
    "desc" => __("Do you want to open the link in a new window", 'avia_framework' ),
    "id" => "linktarget",
    "required" => array('link', 'not', ''),
    "type" => "select",
    "std" => "no",
    "subtype" => array(
    __('Yes', 'avia_framework' ) =>'yes',
    __('No', 'avia_framework' ) =>'no')),

    array(
    "name" => __("Content",'avia_framework' ),
    "desc" => __("Add some content for this IconBox",'avia_framework' ),
    "id" => "content",
    "type" => "tiny_mce",
    "std" => __("Click here to add your own text", "avia_framework" )),
    );

    }

    /**
    * Editor Element - this function defines the visual appearance of an element on the AviaBuilder Canvas
    * Most common usage is to define some markup in the $params['innerHtml'] which is then inserted into the drag and drop container
    * Less often used: $params['data'] to add data attributes, $params['class'] to modify the className
    *
    *
    * @param array $params this array holds the default values for $content and $args.
    * @return $params the return array usually holds an innerHtml key that holds item specific markup.
    */
    function editor_element($params)
    {
    $icon_el = $this->elements[0];

    $chars = $icon_el['chars'];

    if(!is_array($chars))
    {
    include($icon_el['chars']);
    }

    $display_char = isset($chars[($params['args']['icon'] - 1)]) ? $chars[($params['args']['icon'] - 1)] : $chars[0];

    $inner = "<div class='avia_iconbox avia_textblock avia_textblock_style'>";
    $inner .= " <div ".$this->class_by_arguments('position' ,$params['args']).">";
    $inner .= " <span data-update_with='icon_fakeArg' class='avia_iconbox_icon avia-font-".$icon_el['font']."'>".$display_char."</span>";
    $inner .= " <div class='avia_iconbox_content_wrap'>";
    $inner .= " <h4 class='avia_iconbox_title' data-update_with='title'>".html_entity_decode($params['args']['title'])."</h4>";
    $inner .= " <div class='avia_iconbox_content' data-update_with='content'>".stripslashes(wpautop(trim(html_entity_decode($params['content']))))."</div>";
    $inner .= " </div>";
    $inner .= " </div>";
    $inner .= "</div>";

    $params['innerHtml'] = $inner;
    $params['class'] = "";

    return $params;
    }

    /**
    * 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 = "")
    {
    extract(shortcode_atts(array('title' => 'Title', 'icon' => '1', 'position' => 'left', 'link' =>'', 'linktarget' => 'no'), $atts));

    $icon_el = $this->elements[0];

    $chars = $icon_el['chars'];
    $font = $icon_el['font'];
    if(!is_array($chars))
    {
    include($icon_el['chars']);
    }

    $display_char = isset($chars[($icon - 1)]) ? $chars[($icon - 1)] : $chars[0];
    if($position == 'top') $position .= " main_color";

    $linktarget = ($linktarget == 'no') ? '' : 'target="_blank"';
    $link = aviaHelper::get_url($link);
    if(!empty($link))
    {
    $title = "$title";
    }

    // add blockquotes to the content
    $output = '<div class="iconbox iconbox_'.$position.' '.$meta['el_class'].'">';
    $output .= '<div class="iconbox_content">';

    /* commented out the below line wich is default, icon box heading only is the link, and replaced the new code that makes the icon itself a link as well below the lomented out line
    $output .= '<div class="iconbox_icon heading-color avia-font-'.$font.'">'.$display_char.'</div>';*/
    if(!empty($link))
    {
    $output .= "";
    $output .= '<div class="iconbox_icon heading-color avia-font-'.$font.'">'.$display_char.'</div>';
    $output .= '
    ';
    }
    else
    {
    $output .= '<div class="iconbox_icon heading-color avia-font-'.$font.'">'.$display_char.'</div>';
    }
    $output .= '<h3 class="iconbox_content_title">'.$title."</h3>";
    $output .= ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop( $content ) );
    $output .= '</div></div>';

    return $output;
    }

    }
    }

    Hola,

    Veo que no estas usando el socket, allí es donde puedes poner estos links de “Login / Register”, para hacerlo simplemente crea un nuevo Menu y asignale su ubicación al Socket.

    Con lo que respecta a modificar el footer, puedes usar los Widgets, ya si quieres hacer algo mas complejo se tendría que editar el archivo footer.php

    Saludos,
    Josue

    Hi codecreative!

    It’s here: enfold/framework/php/class-framework-widgets.php, starts at line 570.

    Cheers!
    Josue

    #164137

    In reply to: Sticky Post

    Nach etwas Recherche scheint dies ein Bug von WP zu sein ( http://wordpress.stackexchange.com/questions/87472/ensuring-sticky-posts-are-retrieved-first-without-using-two-queries ) – anscheinend werden die “Sticky” Posts teilweise ignoriert. Ich habe den Code ganz am Ende des Threads getestet und eine leicht modifizierte Version funktioniert für mich:

    
    add_filter('the_posts', 'bump_sticky_posts_to_top');
    function bump_sticky_posts_to_top($posts) {
        foreach($posts as $i => $post) {
            if(is_sticky($post->ID)) 
            {
                $stickies[] = $post;
                unset($posts[$i]);
            }
        }
        
        if(!empty($stickies)) 
            return array_merge($stickies, $posts);
        
        return $posts;
    }
    

    einfach statt dem Code den ich oben gepostet habe in functions.php einfügen.

    kc
    Participant

    hey there,

    1. i use the 2.2 enfoldtheme, in portfoliosettings i can`t set any thumbnailcolumns, i choose 4 its 5, i choose 12 it´s still 5?
    i read a topic with the same problem – one solution is this code for the css – #top .avia-gallery .avia-gallery-thumb a{ width: 10% !important; }
    when i add this code in my css, yep it changes the columns from 5 to 10, but it is no solutions… maybe it`s a bug- blease guys is there any help for that?

    2. my thumbnailpictures in the portfolio looks not sharp in the gallery thumpnailcolumn with set to 5, the thumbnailframe in the portfolio got the size
    137px x 200px and the thumbnailpicture has just only 53px x 80px, so that scratch my eyes!
    in the function-enfold.php is a option to change the thumbnails, the original settings in the functions.php are 80px x 80px, must i change this, and when in wich size blease, a size waht works for every setting?
    thumbnail
    sorry about my english, i hope you can unterstand me.

    #164055

    Hey!

    1) You need to translate the menus too (Appearance > Menus). If you use a custom menu widget you need to use the widget logic plugin to translate it – see: http://wpml.org/2011/03/howto-display-different-widgets-per-language/

    3) Because the widget will just show posts from the current selected language. You can translate the widgets though (see 1) ).

    You can remove this flags easily – open up header.php an delete

    
    					/*
    					* Hook that can be used for plugins and theme extensions (currently: the wpml language selector)
    					*/
    		      		do_action('avia_meta_header');
    

    Best regards,
    Peter

    #163950

    Hello!

    I couldn’t reproduce the label issue on my test server and the $_post varible name length probably depends on the php.ini (configuration file) settings ( http://www.ozzu.com/programming-forum/max-length-post-get-variable-names-t77133.html ). We’ll add a fix to the next update – for now you can fix it by editing wp-content\themes\enfold\framework\php\class-form-generator.php. Open up the file and replace

    
    				$key = avia_backend_safe_string($key);
    
    				if(empty($key))
    				{
    					$iterations++;
    					$key = $iterations;
    				}
    

    with

    
    				$key = avia_backend_safe_string($key);
    
    				if(empty($key))
    				{
    					$iterations++;
    					$key = $iterations;
    				}
    
    				$key = avia_backend_truncate($key, 15, "_", "", false, '', false);
    

    and

    
    					$element_id = avia_backend_safe_string('avia_'.$key);
    					if($element_id == "avia_")
    					{
    						$iterations ++;
    						$element_id = "avia_".$iterations;
    					}
    
    

    with

    
    					$element_id = avia_backend_safe_string('avia_'.$key);
    					if($element_id == "avia_")
    					{
    						$iterations ++;
    						$element_id = "avia_".$iterations;
    					}
    
    					$element_id = avia_backend_truncate($element_id, 20, "_", "", false, '', false);
    

    Best regards,
    Peter

    #163907
    boogermann
    Participant

    I’ve tried to add the short code to a text box as I’ve suspected it should be done, and after doing some research on the forums, I’ve seem a moderator instructing to do the same thing, although the form appears on the page, once you hit submit the button disappears and nothing happens, no JS error, no PHP error, and if i put the form on a page without the layout editor it works perfectly.
    Any solutions? I’m running the last version of GF 1.7.9 and version 2.2 of the enfold theme.

    Thanks in Advanced

    #163716

    Hey!

    I’m not sure if this is a good practice but you can try it.
    In your WordPress theme directory please go to Enfold > Config-templatebuilder > Avia-shortcodes and open Gallery.php file and find following code line 198
    http://i.imgur.com/3BsqS15.jpg
    and change it to
    http://i.imgur.com/Ojp1iF5.jpg
    Then find following code in line 204
    http://i.imgur.com/Og0BjUu.jpg
    and change it to
    http://i.imgur.com/3V7ImHD.jpg
    Basically remove what’s inside href in both

    Cheers!
    Yigit

    #163529

    Hi,

    Has this fix for showing a Youtube icon stopped working now? I have just updated to the lastest version of Enfold version 2.2 and am now getting an error:-

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/14/6708814/html/wp01/wp-content/themes/enfold/includes/admin/register-admin-options.php on line 1049

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/14/6708814/html/wp01/wp-content/themes/enfold/includes/admin/register-admin-options.php:1049) in /home/content/14/6708814/html/wp01/wp-content/plugins/woocommerce/classes/class-wc-session-handler.php on line 63

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/14/6708814/html/wp01/wp-content/themes/enfold/includes/admin/register-admin-options.php:1049) in /home/content/14/6708814/html/wp01/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php on line 27 – See more at: http://wp01.techfolio.me/services/straightening/permanent-straightening/#sthash.nkJ5zSFY.67ArxtN0.dpuf

    thanks for your help,

    Jake

    #163380

    Hi!

    Edit functions.php, find this code:

    $avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns

    Replace it with:

    $avia_config['imgSize']['portfolio_small'] = array('width'=>520 'height'=>370 ); // images for portfolio 4 columns

    The image thumbnails you’re uploading as portfolio thumbnails are so small. Please upload a larger image, twice the size if possible.

    Best regards,
    Ismael

    Hi Josue,

    Thanks for the response! I took 2 screen shots of the menu view through WordPress and through the WordPress installation directory (Formatting.php). I hope this is what you meant :)

    http://s7.postimg.org/w600h57u3/screenshot1.jpg

    http://s23.postimg.org/emg0iwowr/screenshot2.jpg

    #163140

    Hi Matt,

    You can use this plugin to change the default Gallery size to use a square image ratio (710×710):
    http://wordpress.org/extend/plugins/simple-image-sizes/
    Or change this line in your functions.php file to do the same:
    $avia_config['imgSize']['gallery'] = array('width'=>710, 'height'=>575 ); // images for portfolio entries (2,3 column)

    After changing the size you will need to regenerate your thumbnails with the same plugin above.

    Regards,

    Devin

    #163090

    Hello Devin

    Thanks for the help, I have deleted the CSS folder from the child theme and changed all the permissions to 755 as mentioned. I then saved the style changes and cleared the cache but still no changes.

    Also, I don’t know if it is relevant by within the dynamic_avia folder in uploads there is enfold.css, enfold-child.css and index.php.

    Also 755 unchecks writing permissions for group and public is this correct?

    Thanks :)

    This didn’t work.

    I placed the above code in the functions.php and my site broke. I had to re-install a new functions.php.

    This is the error message was:

    Fatal error: Call to undefined function avia_header_setting() in /var/www/vhosts/northeastbarristers.com/httpdocs/wp-content/themes/enfold/header.php on line 7

    #162776

    In reply to: Changing sidebar width

    Hey,

    I tested this on my end and yes the code doesn’t work when you place it on the child theme’s function.php. Let me tag Kriesi. Anyway, you can decrease the sidebar width using css modifications. You can increase the size of the content to push the sidebar.

    @media only screen and (min-width: 1340px) {
    .responsive_large .container .nine.units {
    width: 900px;
    }
    }
    
    @media only screen and (min-width: 1140px) {
    .responsive .container .nine.units {
    width: 690px;
    }
    }
    
    .container .nine.units {
    width: 700px;
    }
    
    @media only screen and (max-width: 989px) and (min-width: 768px) {
    .responsive .container .nine.units {
    width: 520px;
    }
    }

    Regards,
    Ismael

    #162588

    In reply to: Search page issue!

    Hi,

    Can you post the link to your website as well?
    In your WordPress theme directory you should go to Enfold > Framework > Php and open function-set-avia-frontend.php file and find following code in lines between 857-868

    $output =  $wp_query->found_posts ." ". __('search results for:','avia_framework')." ".esc_attr( get_search_query() );
    				}
    				else
    				{
    					$output =  $wp_query->found_posts ." ". __('search result for:','avia_framework')." ".esc_attr( get_search_query() );
    				}
    			}
    			else
    			{
    				if(!empty($_GET['s']))
    				{
    					$output = __('Search results for:','avia_framework')." ".esc_attr( get_search_query() );

    And change “Search results for:” to Greek

    Regards,
    Yigit

    #162166

    @JasonAlmeida – the php warning message Warning: session_start() [function.session-start]: open(/home/content/04/11791704/tmp/sess_3tlijs48dhbld0jeq6te61nhd7, O_RDWR) failed: tells you that the server can’t create a php session because the access to the temporary file/folder which stores the session data is not possible. Please contact your hoster and ask them to fix the session file permission(s) for you. Our theme uses sessions to generate a proper breadcrumb for portfolio items.


    @condormarketing
    – did WP3.6.1 solve the issue?

    #162148
    Simon Jensen
    Participant

    Hello,

    I use the Easy slider when I choose the “slide” Transition it works fine, but when I choose “Fade” Transition I get the error
    “Warning: trim() expects parameter 1 to be string, array given in /var/www/helgipetersen.com/lyd/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow.php on line 447”

    How can I fix that?

    #162068

    I am having similar problems when installed I get this, I tried to put the # sign in front of the lines but then it just moved the warning down a line.

    Warning: Missing argument 1 for get_post(), called in /home/vintagew/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /home/vintagew/public_html/wp-includes/post.php on line 371

    Warning: Missing argument 1 for get_post(), called in /home/vintagew/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /home/vintagew/public_html/wp-includes/post.php on line 371

    Fatal error: Call to undefined function wp_get_theme() in /home/vintagew/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 1175

    ANY HELP ON THIS IS VERY MUCH APPRECIATED

    #162011
    JasonAlmeida
    Participant

    Site: acstemps.com just tried install today. I know I installed correct file.
    Getting these odd below messages.

    Warning: session_start() [function.session-start]: open(/home/content/04/11791704/tmp/sess_3tlijs48dhbld0jeq6te61nhd7, O_RDWR) failed: No such file or directory (2) in /home/content/04/11791704/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php on line 27

    Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/content/04/11791704/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php:27) in /home/content/04/11791704/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php on line 27

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/04/11791704/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php:27) in /home/content/04/11791704/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php on line 27

    #161575

    Hi,
    the php warning message Warning: session_start() [function.session-start]: open(/tmp/sess_46680e3906ea01c73ff670f94e8344a3, O_RDWR) failed: Permission denied (13) tells you that the server can’t create a php session because the access to the temporary file which stores the session data is denied/blocked. Please contact your hoster and ask them to fix the session file permission(s) for you. Our theme uses sessions to generate a proper breadcrumb for portfolio items.

    • This reply was modified 12 years, 7 months ago by Dude.
    #161570

    You can use a font face generator like: http://www.fontsquirrel.com/tools/webfont-generator to generate your font files. Then copy the css code from the included css file (can be found in the zip file which is generated by the fontsquirrel generator) into your child theme style.css and place the font files (eot, woff, etc.) into the child theme directory. You can also add the code from this post: http://wpml.org/forums/topic/body-class-based-on-language/#post-18785

    
    add_filter('body_class', 'append_language_class');
    function append_language_class($classes){
      $classes[] = ICL_LANGUAGE_CODE;  //or however you want to name your class based on the language code
      return $classes;
    }
    

    to the child theme functions.php to add a language specific class to the body. Then you can apply the font face font to the Chinese version of the website only.

    • This reply was modified 12 years, 7 months ago by Dude.
    #29671

    Topic: Problem with update

    in forum Enfold
    TonyMack
    Participant

    I just updated to the latest version and received this error when I tried to go to my site: Fatal error: Call to undefined function get_header() in /homepages/19/d178762827/htdocs/wordpress-Backup/index.php on line 9

    As I’m not a coder, I have no idea what this means or how to fix it.

    Please Help

    #140909

    In reply to: Problem content IE 8

    Hey!

    Please try to insert following code into header.php – place it before the closing </head> tag

    <!--[if lt IE 9]>
    <style type="text/css">
    .ls-wp-container{ padding-left: 120px; }
    </style>
    <![endif]-->

    I tested it with IE8 and it seems to fix the issue on your website. I’m not sure if it works with IE7 because officially Enfold doesn’t support this browser version and I didn’t test it.

    Regards,

    Peter

    #140920

    and I get this now on the backend login screen

    Warning: session_start() [function.session-start]: open(/tmp/sess_46680e3906ea01c73ff670f94e8344a3, O_RDWR) failed: Permission denied (13) in /home/vivoweb/public_html/wp-content/themes/VIVO2013/config-templatebuilder/avia-shortcodes/portfolio.php on line 27

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/vivoweb/public_html/wp-content/themes/VIVO2013/config-templatebuilder/avia-shortcodes/portfolio.php:27) in /home/vivoweb/public_html/wp-content/themes/VIVO2013/config-templatebuilder/avia-shortcodes/portfolio.php on line 27

    Warning: Cannot modify header information – headers already sent by (output started at /home/vivoweb/public_html/wp-content/themes/VIVO2013/config-templatebuilder/avia-shortcodes/portfolio.php:27) in /home/vivoweb/public_html/wp-login.php on line 384

    Warning: Cannot modify header information – headers already sent by (output started at /home/vivoweb/public_html/wp-content/themes/VIVO2013/config-templatebuilder/avia-shortcodes/portfolio.php:27) in /home/vivoweb/public_html/wp-login.php on line 396

    #140919

    Hi

    Ok im getting these errors now:

    Warning: session_start() [function.session-start]: open(/tmp/sess_46680e3906ea01c73ff670f94e8344a3, O_RDWR) failed: Permission denied (13) in /home/vivoweb/public_html/wp-content/themes/VIVO2013/config-templatebuilder/avia-shortcodes/portfolio.php on line 27

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/vivoweb/public_html/wp-content/themes/VIVO2013/config-templatebuilder/avia-shortcodes/portfolio.php:27) in /home/vivoweb/public_html/wp-content/themes/VIVO2013/config-templatebuilder/avia-shortcodes/portfolio.php on line 27

    on the website.

    #140683

    Hi!

    I noticed I forgot to rewrite the category query itself. Please replace the entire code in related-posts.php with https://gist.github.com/InoPlugs/2fe563ced777b10522e3

    Best regards,

    Peter

    #140641

    Thanks Josue. But it doesn´t seem to work.

    <a class="socialshareing_twitter" title="Bei Twitter empfehlen" href="https://twitter.com/intent/tweet?source=webclient&text=<?php echo rawurlencode(strip_tags(get_the_title())) ?>%20<?php echo wp_get_shortlink(); ?>" target="blank"> Twitter</a>

    I tried it for Twitter (example) and it delivers a “broken” icon

    See screenshot https://dl.dropbox.com/s/dgnj867n4km4ltl/index.html

    Other ideas anyone?

    #140914

    Hi,

    I found a way to add an id to each table (table_1, table_2, table_3, etc), here is how:

    Open /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/table.php, and search for this block of code (line 197):

    foreach($sorted_rows as $ul_k => $ul){

    $output .= "<div class='pricing-table-wrap'>";

    Replace it with:

    $i = 0;

    foreach($sorted_rows as $ul_k => $ul){

    $i++;

    $output .= "<div class='pricing-table-wrap' id='table_$i'>";

    Remember that this type of customization would be erased if you update the theme, before updating make a backup of the theme.

    Regards,

    Josue

Viewing 30 results - 16,561 through 16,590 (of 16,897 total)