Forum Replies Created
-
AuthorPosts
-
The line:
if (is_singular('portfolio', 'scroll')){ comments_template( '/includes/comments.php');}
doesn’t seem to be valid because is_singular just accepts an array or a string. You can use
if (is_singular('scroll')){ comments_template( '/includes/comments.php');}
if (is_singular('portfolio')){ comments_template( '/includes/comments.php');}or
if (is_singular(array('portfolio', 'scroll'))){ comments_template( '/includes/comments.php');}
The problem seems to be the permalink which is generated based on the page title. I’m not sure why the permalink doesn’t work (probably another post, term, category, page, etc. shares the same name) but when I change the permalink to http://www.galarestaurant.es/descubre-nuestros-plato instead of http://www.galarestaurant.es/descubre-nuestros-platos the pagination works. So I’d suggest to use a different permalink for this page to avoid a rewrite rules conflict with another entry.
Try following css code – insert it into the quick css field
.responsive #top #header {
position: fixed !important;
}
.responsive #top #main {
padding-top: 100px !important;
}You probably need to change the padding top value – it depends on your menu height and it can vary from website to website.
Hi!
Yes, or the ftp/wordpress upload failed somehow…
Regards,
Peter
Yes exactly. The child theme inherits all features & functions from the parent theme – including the update feature. The only thing you need to take care of is the correct version number of the child theme because wordpress will use it to check for the updates.
August 24, 2013 at 8:05 am in reply to: Problem with different browsers – Images don't show properly #137195Hey!
Can you post a link to your website please?
Best regards,
Peter
Actually this “effect” happens if the page content (images, stylesheets, scripts, etc.) is not fully loaded. Then the browser will just display the plain body element (including the body background color which seems to be grey in this case). You can try to change the body background color to white or install a cache plugin like w3tc: http://wordpress.org/plugins/w3-total-cache/ to improve the loading performance.
Hi,
I did not test this mod but you probably you can apply a link to the icon easily. Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesiconbox.php and replace
$output .= '<div class="iconbox_icon heading-color avia-font-'.$font.'">'.$display_char.'</div>';
with
if(!empty($link))
{
$output .= "<a href='$link' title='".esc_attr($title)."' $linktarget>";
$output .= '<div class="iconbox_icon heading-color avia-font-'.$font.'">'.$display_char.'</div>';
$output .= '</a>';
}
else
{
$output .= '<div class="iconbox_icon heading-color avia-font-'.$font.'">'.$display_char.'</div>';
}Hey!
Great :)
Best regards,
Peter
Try to define the width of the image – sometimes IE has problems to display an image if no image width is defined. Insert following code into the quick css field and change the width value if necessary
#header .logo img {
width: 200px;
}No, imo WPXML is useless in this case. I’d recommend to use a plugin like: WP MIGRATE DB to generate the database backup file, then import the sql file on the other server/host and use ftp to upload the theme/wordpress, etc. files.
No, right now it just supports some predefined colors. You can overwrite the default colors with some custom css code tough – use
.grey-bar .bar{
background: #555;
background-image: -webkit-linear-gradient(-45deg, #666 25%, #444 25%, #444 50%, #666 50%, #666 75%, #444 75%, #444);
background-image: -moz-linear-gradient(-45deg, #666 25%, #444 25%, #444 50%, #666 50%, #666 75%, #444 75%, #444);
background-image: -o-linear-gradient(-45deg, #666 25%, #444 25%, #444 50%, #666 50%, #666 75%, #444 75%, #444);
background-image: -ms-linear-gradient(-45deg, #666 25%, #444 25%, #444 50%, #666 50%, #666 75%, #444 75%, #444);
background-image: linear-gradient(-45deg, #666 25%, #444 25%, #444 50%, #666 50%, #666 75%, #444 75%, #444);
}
.blue-bar .bar{
background: #7bb0e7;
background-image: -webkit-linear-gradient(-45deg, #96C8FB 25%, #74a6d9 25%, #74a6d9 50%, #96C8FB 50%, #96C8FB 75%, #74a6d9 75%, #74a6d9);
background-image: -moz-linear-gradient(-45deg, #96C8FB 25%, #74a6d9 25%, #74a6d9 50%, #96C8FB 50%, #96C8FB 75%, #74a6d9 75%, #74a6d9);
background-image: -o-linear-gradient(-45deg, #96C8FB 25%, #74a6d9 25%, #74a6d9 50%, #96C8FB 50%, #96C8FB 75%, #74a6d9 75%, #74a6d9);
background-image: -ms-linear-gradient(-45deg, #96C8FB 25%, #74a6d9 25%, #74a6d9 50%, #96C8FB 50%, #96C8FB 75%, #74a6d9 75%, #74a6d9);
background-image: linear-gradient(-45deg, #96C8FB 25%, #74a6d9 25%, #74a6d9 50%, #96C8FB 50%, #96C8FB 75%, #74a6d9 75%, #74a6d9);
}
.green-bar .bar{
background: #555;
background-image: -webkit-linear-gradient(-45deg, #A5CA68 25%, #83a846 25%, #83a846 50%, #A5CA68 50%, #A5CA68 75%, #83a846 75%, #83a846);
background-image: -moz-linear-gradient(-45deg, #A5CA68 25%, #83a846 25%, #83a846 50%, #A5CA68 50%, #A5CA68 75%, #83a846 75%, #83a846);
background-image: -o-linear-gradient(-45deg, #A5CA68 25%, #83a846 25%, #83a846 50%, #A5CA68 50%, #A5CA68 75%, #83a846 75%, #83a846);
background-image: -ms-linear-gradient(-45deg, #A5CA68 25%, #83a846 25%, #83a846 50%, #A5CA68 50%, #A5CA68 75%, #83a846 75%, #83a846);
background-image: linear-gradient(-45deg, #A5CA68 25%, #83a846 25%, #83a846 50%, #A5CA68 50%, #A5CA68 75%, #83a846 75%, #83a846);
}
.orange-bar .bar{
background: #EDAE44;
background-image: -webkit-linear-gradient(-45deg, #EDAE44 25%, #FFCF66 25%, #FFCF66 50%, #EDAE44 50%, #EDAE44 75%, #FFCF66 75%, #FFCF66);
background-image: -moz-linear-gradient(-45deg, #EDAE44 25%, #FFCF66 25%, #FFCF66 50%, #EDAE44 50%, #EDAE44 75%, #FFCF66 75%, #FFCF66);
background-image: -o-linear-gradient(-45deg, #EDAE44 25%, #FFCF66 25%, #FFCF66 50%, #EDAE44 50%, #EDAE44 75%, #FFCF66 75%, #FFCF66);
background-image: -ms-linear-gradient(-45deg, #EDAE44 25%, #FFCF66 25%, #FFCF66 50%, #EDAE44 50%, #EDAE44 75%, #FFCF66 75%, #FFCF66);
background-image: linear-gradient(-45deg, #EDAE44 25%, #FFCF66 25%, #FFCF66 50%, #EDAE44 50%, #EDAE44 75%, #FFCF66 75%, #FFCF66);
}
.black-bar .bar{
background: #222;
background-image: -webkit-linear-gradient(-45deg, #222 25%, #444 25%, #444 50%, #222 50%, #222 75%, #444 75%, #444);
background-image: -moz-linear-gradient(-45deg, #222 25%, #444 25%, #444 50%, #222 50%, #222 75%, #444 75%, #444);
background-image: -o-linear-gradient(-45deg, #222 25%, #444 25%, #444 50%, #222 50%, #222 75%, #444 75%, #444);
background-image: -ms-linear-gradient(-45deg, #222 25%, #444 25%, #444 50%, #222 50%, #222 75%, #444 75%, #444);
background-image: linear-gradient(-45deg, #222 25%, #444 25%, #444 50%, #222 50%, #222 75%, #444 75%, #444);
}
.red-bar .bar{
background: #B02B2C;
background-image: -webkit-linear-gradient(-45deg, #B02B2C 25%, #D24D4E 25%, #D24D4E 50%, #B02B2C 50%, #B02B2C 75%, #D24D4E 75%, #D24D4E);
background-image: -moz-linear-gradient(-45deg, #B02B2C 25%, #D24D4E 25%, #D24D4E 50%, #B02B2C 50%, #B02B2C 75%, #D24D4E 75%, #D24D4E);
background-image: -o-linear-gradient(-45deg, #B02B2C 25%, #D24D4E 25%, #D24D4E 50%, #B02B2C 50%, #B02B2C 75%, #D24D4E 75%, #D24D4E);
background-image: -ms-linear-gradient(-45deg, #B02B2C 25%, #D24D4E 25%, #D24D4E 50%, #B02B2C 50%, #B02B2C 75%, #D24D4E 75%, #D24D4E);
background-image: linear-gradient(-45deg, #B02B2C 25%, #D24D4E 25%, #D24D4E 50%, #B02B2C 50%, #B02B2C 75%, #D24D4E 75%, #D24D4E);
}
.teal-bar .bar{
background: #5F8789;
background-image: -webkit-linear-gradient(-45deg, #5F8789 25%, #7FA9AB 25%, #7FA9AB 50%, #5F8789 50%, #5F8789 75%, #7FA9AB 75%, #7FA9AB);
background-image: -moz-linear-gradient(-45deg, #5F8789 25%, #7FA9AB 25%, #7FA9AB 50%, #5F8789 50%, #5F8789 75%, #7FA9AB 75%, #7FA9AB);
background-image: -o-linear-gradient(-45deg, #5F8789 25%, #7FA9AB 25%, #7FA9AB 50%, #5F8789 50%, #5F8789 75%, #7FA9AB 75%, #7FA9AB);
background-image: -ms-linear-gradient(-45deg, #5F8789 25%, #7FA9AB 25%, #7FA9AB 50%, #5F8789 50%, #5F8789 75%, #7FA9AB 75%, #7FA9AB);
background-image: linear-gradient(-45deg, #5F8789 25%, #7FA9AB 25%, #7FA9AB 50%, #5F8789 50%, #5F8789 75%, #7FA9AB 75%, #7FA9AB);
}
.aqua-bar .bar{
background: #4ECAC2;
background-image: -webkit-linear-gradient(-45deg, #4ECAC2 25%, #6FECE4 25%, #6FECE4 50%, #4ECAC2 50%, #4ECAC2 75%, #6FECE4 75%, #6FECE4);
background-image: -moz-linear-gradient(-45deg, #4ECAC2 25%, #6FECE4 25%, #6FECE4 50%, #4ECAC2 50%, #4ECAC2 75%, #6FECE4 75%, #6FECE4);
background-image: -o-linear-gradient(-45deg, #4ECAC2 25%, #6FECE4 25%, #6FECE4 50%, #4ECAC2 50%, #4ECAC2 75%, #6FECE4 75%, #6FECE4);
background-image: -ms-linear-gradient(-45deg, #4ECAC2 25%, #6FECE4 25%, #6FECE4 50%, #4ECAC2 50%, #4ECAC2 75%, #6FECE4 75%, #6FECE4);
background-image: linear-gradient(-45deg, #4ECAC2 25%, #6FECE4 25%, #6FECE4 50%, #4ECAC2 50%, #4ECAC2 75%, #6FECE4 75%, #6FECE4);
}
.purple-bar .bar{
background: #745F7E;
background-image: -webkit-linear-gradient(-45deg, #745F7E 25%, #967F9F 25%, #967F9F 50%, #745F7E 50%, #745F7E 75%, #967F9F 75%, #967F9F);
background-image: -moz-linear-gradient(-45deg, #745F7E 25%, #967F9F 25%, #967F9F 50%, #745F7E 50%, #745F7E 75%, #967F9F 75%, #967F9F);
background-image: -o-linear-gradient(-45deg, #745F7E 25%, #967F9F 25%, #967F9F 50%, #745F7E 50%, #745F7E 75%, #967F9F 75%, #967F9F);
background-image: -ms-linear-gradient(-45deg, #745F7E 25%, #967F9F 25%, #967F9F 50%, #745F7E 50%, #745F7E 75%, #967F9F 75%, #967F9F);
background-image: linear-gradient(-45deg, #745F7E 25%, #967F9F 25%, #967F9F 50%, #745F7E 50%, #745F7E 75%, #967F9F 75%, #967F9F);
}
.pink-bar .bar{
background: #D65799;
background-image: -webkit-linear-gradient(-45deg, #D65799 25%, #F879BB 25%, #F879BB 50%, #D65799 50%, #D65799 75%, #F879BB 75%, #F879BB);
background-image: -moz-linear-gradient(-45deg, #D65799 25%, #F879BB 25%, #F879BB 50%, #D65799 50%, #D65799 75%, #F879BB 75%, #F879BB);
background-image: -o-linear-gradient(-45deg, #D65799 25%, #F879BB 25%, #F879BB 50%, #D65799 50%, #D65799 75%, #F879BB 75%, #F879BB);
background-image: -ms-linear-gradient(-45deg, #D65799 25%, #F879BB 25%, #F879BB 50%, #D65799 50%, #D65799 75%, #F879BB 75%, #F879BB);
background-image: linear-gradient(-45deg, #D65799 25%, #F879BB 25%, #F879BB 50%, #D65799 50%, #D65799 75%, #F879BB 75%, #F879BB);
}
.silver-bar .bar{
background: #D7D7D7;
background-image: -webkit-linear-gradient(-45deg, #D7D7D7 25%, #F9F9F9 25%, #F9F9F9 50%, #D7D7D7 50%, #D7D7D7 75%, #F9F9F9 75%, #F9F9F9);
background-image: -moz-linear-gradient(-45deg, #D7D7D7 25%, #F9F9F9 25%, #F9F9F9 50%, #D7D7D7 50%, #D7D7D7 75%, #F9F9F9 75%, #F9F9F9);
background-image: -o-linear-gradient(-45deg, #D7D7D7 25%, #F9F9F9 25%, #F9F9F9 50%, #D7D7D7 50%, #D7D7D7 75%, #F9F9F9 75%, #F9F9F9);
background-image: -ms-linear-gradient(-45deg, #D7D7D7 25%, #F9F9F9 25%, #F9F9F9 50%, #D7D7D7 50%, #D7D7D7 75%, #F9F9F9 75%, #F9F9F9);
background-image: linear-gradient(-45deg, #D7D7D7 25%, #F9F9F9 25%, #F9F9F9 50%, #D7D7D7 50%, #D7D7D7 75%, #F9F9F9 75%, #F9F9F9);
}as a starting point and change the color values based on your requirements.
Hi!
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
Hi!
Can you post a link to the slider where you noticed this “flash” please?
Best regards,
Peter
August 24, 2013 at 6:50 am in reply to: Messed up archive page, when using the Avia Layout Builder on it #137190Hi,
can you post a link to the archive page please? Afaik standard post archive pages do not support the template builder because standard posts also don’t support it and the archive page will just list the standard posts. Also note that the “layout builder” is not compatible with any custom page template or the “archive” page template because the layout builder uses a different page template and you can’t combine several page templates.
August 24, 2013 at 6:44 am in reply to: change the look of the "Register" link in bbpress Login Widget #137146Probably the easiest way would be to add the button class to the register link. Open up wp-contentpluginsbbpressincludescommonwidgets.php and replace
<a href="<?php echo esc_url( $settings['register'] ); ?>" title="<?php esc_attr_e( 'Register', 'bbpress' ); ?>" class="bbp-register-link"><?php _e( 'Register', 'bbpress' ); ?></a>
with
<a href="<?php echo esc_url( $settings['register'] ); ?>" title="<?php esc_attr_e( 'Register', 'bbpress' ); ?>" class="button bbp-register-link"><?php _e( 'Register', 'bbpress' ); ?></a>
The disadvantage is – it’s not update safe. You can also collect the .button styles from the stylesheets and apply these style rules to the .bbp-register-link class.
Hi,
1) Can you elaborate please? Do you get an error when you send the mails? If the contact form just doesn’t send any mails you probably need to install a smtp plugin like http://wordpress.org/plugins/easy-wp-smtp/:
2) Use following css code – insert it into the quick css field
#header .logo img {
width: 200px;
}Obviously you can use a different width value.
Unfortunately our mega menu doesn’t support such a layout. It uses the default (12 unit) grid and it’s not easily possible to center the content without (time intensive) code customization. You can try UberMenu instead (not sure if it supports such a layout) or stay with the default layout..
Hi,
1) Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodespostslider.php and replace
if($show_meta && !empty($excerpt))
{
$output .= "<div class='slide-meta'>";
if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
{
$link_add = $commentCount === "0" ? "#respond" : "#comments";
$text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' );
$output .= "<div class='slide-meta-comments'><a href='{$link}{$link_add}'>{$commentCount} {$text_add}</a></div><div class='slide-meta-del'>/</div>";
}
$output .= "<div class='slide-meta-time'>" .get_the_time(get_option('date_format'), $the_id)."</div>";
$output .= "</div>";
}with
if($show_meta && !empty($excerpt))
{
$output .= "<div class='slide-meta'>";
if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
{
$link_add = $commentCount === "0" ? "#respond" : "#comments";
if($commentCount == "0")
{
$text_add = __('Contribute', 'avia_framework' );
}
else
{
$text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' );
}
$output .= "<div class='slide-meta-comments'><a href='{$link}{$link_add}'>{$commentCount} {$text_add}</a></div><div class='slide-meta-del'> | </div>";
}
$output .= "<div class='slide-meta-time'>" .get_the_time(get_option('date_format'), $the_id)."</div>";
$author_id = $entry->post_author;
$author_url = get_the_author_meta( 'url' , $author_id );
$author_name = get_the_author_meta( 'display_name' , $author_id );
$output .= 'by <a href="'.$author_url.'">'.$author_name.'</a>';
$output .= "</div>";
}If you want to change the date replace get_option(‘date_format’) with a custom date format – see: http://codex.wordpress.org/Formatting_Date_and_Time
2) In includes/loop-index.php replace
comments_popup_link( "0 ".__('Comments','avia_framework'),
"1 ".__('Comment' ,'avia_framework'),
"% ".__('Comments','avia_framework'),'comments-link',
"".__('Comments Disabled','avia_framework'));with
comments_popup_link( __('Contribute','avia_framework'),
"1 ".__('Comment' ,'avia_framework'),
"% ".__('Comments','avia_framework'),'comments-link',
"".__('Comments Disabled','avia_framework'));3) No, the portfolio grid uses a different css & html code and this would require some customization.
Hi!
Afaik the latest version of the SEO plugin fixes the problem.
Best regards,
Peter
Hey!
Nice work :)
Best regards,
Peter
August 23, 2013 at 9:14 am in reply to: Problems with Post Slider and Blog Posts content element #1364471) Please try to increase the allocated php memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
2) If 1) doesn’t help try to re-upload the latest version of the theme. I’d also suggest to re-download the theme files from themeforest again to be on the safe side (corrupt files, etc.)
3) If 2) doesn’t help try to deactivate all third party plugins – this will help you to find plugin conflicts.
August 23, 2013 at 9:05 am in reply to: Customize the 'you might also like' blog posts section? #136785Yes, you can modify the layout of the related posts in wp-contentthemesenfoldincludesrelated-posts.php. Eg if you want to replace the image with the post title replace
$output .= " <a href='".get_permalink($related_post->ID)."' class='relThumWrap noLightbox'>n";
$output .= " <span class='related_image_wrap' data-avia-related-tooltip="". htmlspecialchars ( $related_post->post_title )."">";
$output .= $image;
$output .= " <span class='related-format-icon avia-font-entypo-fontello {$extra_class}'><span class='related-format-icon-inner'>".$avia_config['font_icons'][$format]."</span></span>";
$output .= " </span>";
$output .= " </a>";with
$output .= " <a href='".get_permalink($related_post->ID)."' class='relThumWrap noLightbox'>n";
$output .= $related_post->post_title;
$output .= " </a>";Unfortunately we have no converting tool yet and the only solution is to modify the data directly in the database with tools like phpmyadmin. Access the wordpress database and click on the “wp_options” table. Then search for the data field with the “option_name” value “avia_options_enfold” and replace “enfold” with your child theme name. If the child theme name is “Enfold Child theme” the new “option_name” would be “avia_options_enfold_child_theme”.
This is a technical limitation. WordPress doesn’t know which “portfolio grid page” is the parent page of a “single portfolio entry” because the portfolio grid is actually just a shortcode which is embedded into the content. Kriesi found a workaround and Enfold now stores the id of the portfolio grid page into a session. If this id is set the breadcrumb will list the portfolio grid page in the breadcrumb, otherwise not. So if the user first views the grid page the server will save the id into the session and as soon as the user views the single portfolio entry Enfold uses this session data to build the breadcrumb. On the other hand (if the user accesses the portfolio entry directly) it won’t save a session/id and the breadcrumb won’t show the portfolio grid page link.
Hi,
Enfold uses get_the_time(‘d M Y’) in wp-contentthemesenfoldincludesloop-index.php to display the time. Try to replace it with
get_the_time(get_option('date_format'))
to use the default wordpress format. I’ll ask Kriesi to include this change in the next update. The widgets offer a filter to change the format. Insert the code at the bottom of functions.php:
function change_avia_date_format($date, $function) {
$date = get_the_time(get_option('date_format'));
return $date;
}
add_filter('avia_widget_time', 'change_avia_date_format', 10, 2);I’m not sure what you mean with “sidebar manager” but if you want to remove the meta box option on the right side of the post editor screen which allows the user to select a certain widget area open up wp-contentthemesenfoldconfig-templatebuilderavia-template-builderconfigmeta.php and delete
array(
"slug" => "layout",
"name" => "Sidebar Setting",
"desc" => "Choose a custom sidebar for this entry",
"id" => "sidebar",
"type" => "select",
"std" => "",
"class" => "avia-style",
"required" => array('layout','not','fullsize'),
"subtype" => AviaHelper::get_registered_sidebars(array('Default Sidebars' => ""), array('Displayed Everywhere'))
),Tbh I wouldn’t use css to change the sidebar width but I’d suggest to change the container units. Open up functions.php and search for
$avia_config['layout']['sidebar_left'] = array('content' => 'nine', 'sidebar' => 'three alpha' ,'meta' => 'two alpha', 'entry' => 'nine');
$avia_config['layout']['sidebar_right'] = array('content' => 'nine alpha', 'sidebar' => 'three alpha', 'meta' => 'two alpha', 'entry' => 'nine alpha');You’ll nptice that the sidebar parameter is set to ‘three alpha’ which means that the sidebar width is set to 3 units (based on a 12 grid layout). You can replace “three” with “two” or “four” to increase or decrease the sidebar width. If you set it to “two” you’ll have one unit left. Use it to increase the content width and replace “nine” with “ten”.
Strange – we didn’t get similar bug report yet. Please try to deactivate all third party plugins (except woocommerce & bbpress) and check if this solves the issue.If yes activate them one by one to find the culprit. If not try to re-upload all themes files. Maybe a js file is corrupt.
August 23, 2013 at 7:48 am in reply to: Fatel Error Message: Layer Slider Plugin since upgrading to WordPress #136573Hey!
You don’t need to install layerSlider as a separate plugin. Enfold loads the latest version of the plugin automatically (4.6.0). Just make sure you’re using the latest version of the theme (v2.0.x).
Best regards,
Peter
-
AuthorPosts