Forum Replies Created

Viewing 30 posts - 7,411 through 7,440 (of 9,352 total)
  • Author
    Posts
  • in reply to: Logo/partner element & Content Slider #140080

    The difference is that the image sliders and the post sliders do not support custom content. The image slider can just display images with captions, the post slider can display posts. The content slider allows you to slide any text or content (including shortcodes) – many users requested this feature and thus we decided to implement it.

    2) No, you can’t hide the space by default. If you want to hide it open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodescontentslider.php and replace

    $output .= "<div class='avia-smallarrow-slider-heading'>";
    $output .= "<div class='new-special-heading'>".$heading."</div>";

    with

    $heading_class = '';
    if($navigation == 'no') $heading_class .= ' no-content-slider-navigation ';
    if($heading == '&nbsp;') $heading_class .= ' no-content-slider-heading ';

    $output .= "<div class='avia-smallarrow-slider-heading $heading_class'>";
    $output .= "<div class='new-special-heading'>".$heading."</div>";

    The use following css code to hide the space if no title & control buttons are set

    .no-content-slider-navigation.no-content-slider-heading{
    display: none;
    }

    in reply to: Add category as a CSS class to "Blog Posts" content element #139603

    You can easily add it – open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodespostslider.php and replace

    $output .= "<div class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class}'>";

    with

    $taxonomies  = get_object_taxonomies(get_post_type($the_id));
    $taxs = array();
    $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id);

    if(!empty($taxonomies))
    {
    foreach($taxonomies as $taxonomy)
    {
    if(!in_array($taxonomy, $excluded_taxonomies))
    {
    $taxs[] = wp_get_post_terms( $the_id, $taxonomy );
    }
    }
    }

    foreach($taxs as $tax)
    {
    foreach($tax as $term)
    {
    $post_class .= ' '.$term->slug.' ';
    }
    }

    $output .= "<div class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class}'>";

    in reply to: Relevanssi error #140334

    The error indicates that Relevanssi doesn’t like the product slider shortcode (not sure why). I’d recommend to use the “Exclude these posts/pages from search” option field to exclude the page which contains the product slider shortcode.

    in reply to: WPML Breaks all URL's #140474

    Please try to flush the permalinks (go to Settings > Permalinks and hit the save button). If this doesn’t solve the issue install: http://wordpress.org/plugins/rewrite-rules-inspector/ and click the “Flush rules” button on the right side. If this still doesn’t help you maybe need to update your htaccess file manually: http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29

    in reply to: feed isn't working quite right #140353

    It seems like you didn’t add any standard posts to your blog yet ( http://unitedwc.com/news/ shows “Sorry, no posts matched your criteria”). The feed will only work if you add one or more posts to your wordpress blog.

    Hi!

    I think the error is not theme related and I suggest to report it here: http://marketpress.de/support/forum/woocommerce-german-market/

    I could not reproduce it with the latest version of WooCommerce & Enfold though and maybe another plugin causes the js error.

    Best regards,

    Peter

    in reply to: Mail subject #138438

    I just noticed that Kriesi added a form id to the input fields with the update. I changed the code above to incorporate this change.

    The answer to the question “What do you mean by “if your field name is different”?” – Enfold allows you to change the “Form Element Label”

    This label text will be used for the form name too. If your “subject” field is not labeled with “subject” the above code will not work. You’d need to replace the word “subject” in

    $new_post['subject_'.

    with your field label text – i.e. if the field label is “Test” the code would look like

    add_filter('avf_form_subject','avia_change_mail_subject', 10, 3);
    function avia_change_mail_subject($subject, $new_post, $form_params)
    {
    $subject = urldecode($new_post['test_'.(avia_form::$form_id - 1)]);
    return $subject;
    }

    @rbellei – You can easily hide the preview thumbnail with css (because video posts do have a special “format-video” css class). Insert following code into the quick css field

    .single-post .format-video.single-small.with-slider .small-preview {
    display: none !important;
    }

    in reply to: Custom post type/category/taxonomy pages giving 404 – ENFOLD #140393

    Tbh I don’t know why the plugin author claims things like “My guess is the theme has completely FUBARed the permalinks data or interface.”. Our theme does not rewrite the permalinks in general but only the permalink of the custom post type “portfolio” (registered in wp-contentthemesenfoldincludesadminregister-portfolio.php) uses a rewrite rule and the WPML rewrite rule the author mentions in his mail (probably he refers to the code in wp-contentthemesenfoldconfig-wpmlconfig.php) does not affect other post types too. Kriesi just rewrites the slugs for all post types which are stored in the $avia_config array and that’s actually just the portfolio post type (compare following line in wp-contentthemesenfoldincludesadminregister-portfolio.php)

    $avia_config['custom_post']['portfolio']['args'] = $args;

    Also the url rewrite just affects the portfolio post type – compare the code:

    function avia_wpml_url_filter($lang)
    {
    $post_type = get_post_type();

    if("portfolio" == $post_type)
    {
    $slug = avia_wpml_get_options('portfolio-slug');

    $current = isset($slug[ICL_LANGUAGE_CODE]) ? $slug[ICL_LANGUAGE_CODE] : "";
    foreach ($lang as $key => $options)
    {
    if(isset($options['url']) && $current != "" && $current != $slug[$key] && "" != $slug[$key])
    {
    $lang[$key]['url'] = str_replace("/".$current."/", "/".$slug[$key]."/", $lang[$key]['url']);
    }
    }
    }
    return $lang;
    }

    If you still think our config.php breaks the permalink open up functions.php and replace

    require_once( 'config-wpml/config.php' );

    with

    //require_once( 'config-wpml/config.php' );

    Afterwards WP will complete ignore all WPML related rewrite rules which are part of the theme code and no other rewrite rules will be applied (by the theme) to the permalinks.

    That said I didn’t notice any permalink issues with other plugins (WooCommerce & WPML or bbpress & WPML) and I agree with the author above – it’s probably a conflict in your configuration (plugin/plugin conflict or plugin/theme conflict). You can try to deactivate all plugins and then activate them one by one to find the conflicting plugin(s).

    in reply to: does theme support Chinese? #140222
    in reply to: Dropdownmenu überlappt Logo auf iPhone #140323

    Hi!

    Versuche folgenden Code in das Quick CSS Feld einzufügen

    @media only screen and (max-width: 767px){
    .responsive #top .mobileMenu{
    display: block !important;
    margin: 10px auto !important;
    position: relative !important;
    }
    }

    Best regards,

    Peter

    Hi!

    Problem found. The http://wordpress.org/plugins/woocommerce-multilingual/ breaks the woocommerce.min.js script and this error also affected the ajax cart.

    Best regards,

    Peter

    in reply to: Support for Internet Explorer 6 #138046

    1) WP will set it automatically. You can use the “excerpt” option field to enter the excerpt text manually (recommended because of seo) or use this filter code: http://codex.wordpress.org/Function_Reference/the_excerpt#Control_Excerpt_Length_using_Filters to change the length of the automatic generated excerpts.

    2) The excerpt does not support html code and thus no images. You can either revert the change I made and use the “more quicktag” http://en.support.wordpress.com/splitting-content/more-tag/ (because the content allows html) or you can try a plugin like: http://wordpress.org/plugins/advanced-excerpt/

    in reply to: Child Theme und Shortcodes #140237

    Hallo,

    Erstelle einen “shortcodes” Ordner im Child Themes Ordner (daher der Pfad wäre dann zB wp-content/themes/enfold-child/shortcodes) und kopiere die shortcode Datei, welche du überschreiben/modifizieren möchtest vom Parent Theme Ordner (standardmäßig in wp-contentthemesenfoldconfig-templatebuilderavia-shortcodes) in den “shortcodes” Ordner des Child Themes. Dann modifiziere die Shortcode Datei im Child Theme Ordner nach deinen Wünschen und schlussendlich füge folgenden Code am Ende von der Child Theme functions.php ein:

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
    $template_url = get_stylesheet_directory();
    array_unshift($paths, $template_url.'/shortcodes/');

    return $paths;
    }

    in reply to: Anzahl Beiträge ändern #137386

    Ja, diese Funktion ist derzeit leider nicht vorhanden. Du kannst diese gerne auf die Feature Request Liste setzen: https://kriesi.at/support/topic/enfold-feature-requests und wenn mehr Benutzer diese Funktion wollen, werden wir diese in ein Update einbauen.

    in reply to: Columns, inside of a tab #139415

    Hi!

    Pease try following code

    .toggle_content .flex_column + br, .tab_inner_content .flex_column + br {
    display: none !important;
    }

    .toggle_content {
    overflow: hidden !important;
    }

    Best regards,

    Peter

    Hey!

    Please create me a wordpress admin account and send me the login data to: (Email address hidden if logged out) – I’ll look into it.

    Regards,

    Peter

    in reply to: Open Blog post in new windwo – grid Layout #140042

    Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodespostslider.php and replace

    $output .= $thumbnail ? "<a href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";

    with

    $output .= $thumbnail ? "<a target='_blank' href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";

    and

    $permalink = '<div class="read-more-link"><a href="'.get_permalink($the_id).'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span></a></div>';

    with

    $permalink = '<div class="read-more-link"><a target="_blank" href="'.get_permalink($the_id).'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span></a></div>';

    in reply to: Support for Internet Explorer 6 #138044

    Hi,

    I found the problem. In your case I had to use the is_front_page() conditional. I used

    if(is_home() || is_front_page()) $blog_content = "excerpt_read_more";

    instead of

    if(is_home()) $blog_content = "excerpt_read_more";

    in reply to: Mail subject #138435

    The $new_post array holds the submitted data. Following code

    add_filter('avf_form_subject','avia_change_mail_subject', 10, 3);
    function avia_change_mail_subject($subject, $new_post, $form_params)
    {
    $subject = urldecode($new_post['subject_'.(avia_form::$form_id - 1)]);
    return $subject;
    }

    would set the content of the “subject” field as the mail subject.

    in reply to: Problem mit avia_set_title_tag #140250

    Hallo,

    verwendest du das Yoast seo plugin? Wenn ja, musst du die Titelstruktur unter SEO > Titles & Metas entsprechend konfigurieren, da seit version 2.1 das Theme Yoast SEO erkennt und sich dann dementsprechend an den SEO plugin Einstellungen orientiert. In deinem Fall wäre dass zB

    %%sitename%% | %%title%%

    Regards,

    Peter

    in reply to: Contact form – customise recipient's email's subject #140041

    Since v2.1 Enfold comes with a subject filter function. Add following code at the bottom of functions.php

    add_filter('avf_form_subject','avia_change_mail_subject', 10, 3);
    function avia_change_mail_subject($subject, $new_post, $form_params)
    {
    $subject = 'My email subject';
    return $subject;
    }

    and instead of “My email subject” insert your subject text.

    Yes, I found the problem and updated the instructions above. Kriesi obviously renamed the activeToggle class to active_tc and forgot to replace the string in two files. It will be fixed in the next update.

    in reply to: Remove Portfolio Tooltips #140125

    Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesportfolio.php and

    $link_markup 	= apply_filters('avf_portfolio_custom_image_container', array("a href='{$link}' title='".esc_attr(strip_tags($title))."' ",'a'), $entry);

    replace with

    $link_markup 	= apply_filters('avf_portfolio_custom_image_container', array("a href='{$link}' ",'a'), $entry);

    However because of seo reasons I’d recommend to stick with the link title/tooltip.

    in reply to: Enfold + Events Manager(s) = White Screen #140256

    Hey!

    Try to increase the allocated php memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP by editing wp-config.php

    Best regards,

    Peter

    in reply to: Adding just "code" with Avia advanced editor #140053

    No, the Avia advanced editor does not support php code, etc. snippets. You can use plugins like: http://wordpress.org/plugins/php-snippets/ or http://wordpress.org/plugins/insert-html-snippet/ to insert them with shortcodes.

    Although I can understand that such an element would be useful for developers it’s imo a big security risk to allow the user to add executable php code to a template. He could use this element to hack your database, files, etc.

    in reply to: adding login/register links next to phone-info #140087

    Hey!

    Please post a link to your website. We’ll investigate the css code and try to find a solution.

    Regards,

    Peter

    in reply to: Changed permalinks / Error 404 #140091

    Please try to flush the permalinks (go to Settings > Permalinks and hit the save button). If this doesn’t solve the issue install: http://wordpress.org/plugins/rewrite-rules-inspector/ and click the “Flush rules” button on the right side. If this still doesn’t help you maybe need to update your htaccess file manually: http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29

    in reply to: Text modification in Accordian #140070

    Hi!

    You can try to wrap your text into a paragraph or div tag like

    <p style="text-align: justify;">
    My text......
    </p>

    Regards,

    Peter

    in reply to: Google Map Full Width #140045

    Hi!

    Did you try to use a negative “left” value and to increase the width to i.e. 120%?

    Regards,

    Peter

Viewing 30 posts - 7,411 through 7,440 (of 9,352 total)