Forum Replies Created
-
AuthorPosts
-
You can create a color section with
[av_section color='main_color' custom_bg='' src='' position='top left' repeat='no-repeat' attach='scroll' padding='default' shadow='no-shadow']
Your custom text....
[/av_section]I’d suggest to use Ismaels debug code above – it actually allows you to build your template with the template builder and then you can just copy/paste the shortcode into the standard editor.
Hi!
You can use: http://wordpress.org/plugins/all-in-one-favicon/ – it should support favicons for all devices.
Regards,
Peter
Open up functions-enfold.php and replace:
$items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" data-avia-search-tooltip="'.$form.'">'.$avia_config['font_icons']['search'].'</a></li>';
with
if(is_user_logged_in())
{
$items .= '<li><a title="'.__('Logout','avia_framework').'" href="'. wp_logout_url(get_permalink()) .'">'.__('Logout','avia_framework').'</a></li>';
}
else
{
$items .= '<li><a title="'.__('Login','avia_framework').'" href="'. wp_login_url(get_permalink()) .'">'.__('Login','avia_framework').'</a></li>';
}This will add a login link to the menu if the user is not logged in and a log out link to the menu if the user is logged in.
Hi!
I can’t view the screenshot – I just get a dropbox error message.
Best regards,
Peter
Please post the code of the advanced layout template. Open up functions.php and insert this code at the very top
//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug");
function builder_set_debug()
{
return "debug";
}– insert it before:
global $avia_config;
2) The debug field will be displayed underneath the editor. Copy this code and post it here.
Please post the code of the advanced layout template. Open up functions.php and insert this code at the very top
//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug");
function builder_set_debug()
{
return "debug";
}– insert it before:
global $avia_config;
2) The debug field will be displayed underneath the editor. Copy this code and post it here.
Hi!
Yes, insert following code into the quick css field
.post-meta-infos{
display: none;
}Regards,
Peter
1) Can you post a link to the page/post where the bug occurs?
2) Use following css code – insert it into the quick css field
#top .main_menu .menu>li>a {
color: #333;
font-size: 20px;
}If you want to change the sub menu dropdown styling too use:
#top .main_menu .menu li>a {
color: #333;
font-size: 20px;
}3) You can change the number of columns (“Blog Grid Columns” option) and you can set the number of items per page (Post Number). Both options will determine how many lines are displayed. If you use the 5 column structure you need to set the post number to 25 because 5 columns x 5 lines = 25 posts, etc.
1) No, there’s currently no option to add a description to the taxonomy title.
2) I’m not sure what you mean – do you refer to the meta data section which lists all terms/categories of a post? If yes, you can exclude the taxonomies with a filter – add following code to the bottom of functions.php:
add_filter('avf_exclude_taxonomies', 'avia_exclude_tax', 10, 3);
function avia_exclude_tax($tax,$post_type,$id){
$tax[] = 'mytaxonomy';
return $tax;
}Instead of “mytaxonomy” insert the name of the taxonomy you want to exclude. If you want to exclude several taxonomies use:
$tax[] = 'mytaxonomy';
$tax[] = 'mysecondtaxonomy';Hi!
Please insert following code into the quick css field
#top .fullsize .template-blog .blog-meta {
width: auto;
}Regards,
Peter
Hi!
Did you try to contact the hoster – maybe they can provide a detailed error log.
Regards,
Peter
Hi!
No, it will always link to the post itself. You could use a redirection plugin: http://wordpress.org/plugins/redirection/ to redirect the user automatically to an external website though.
Best regards,
Peter
Can you elaborate please? Do you mean that you can’t use all shortcodes within the menu? This is obviously true – eg the portfolio, tabs, toggle, etc. shortcodes are not intended to be used within the main menu…
Kriesi uses following code to insert the icon
.image-overlay.overlay-type-extern .image-overlay-inside::before{content:"27A6";}
.image-overlay.overlay-type-video .image-overlay-inside::before{content:"25B6";}You can replace the “content value with eg an image url: http://www.htmldog.com/reference/cssproperties/content/
Eg replace it with
.image-overlay.overlay-type-extern .image-overlay-inside::before{content: url(https://mywebsite.com/images/image.png);}
.image-overlay.overlay-type-video .image-overlay-inside::before{content: url(https://mywebsite.com/images/image.png);}and make sure that the url path points to an existing image.
Hi!
Make sure that the default wordpress importer plugin is deactivated. It may conflict with the dummy data importer.
Best regards,
Peter
Hi!
No, afaik there’s no option to rename the slider. You must use a database tool.
Best regards,
Peter
June 16, 2013 at 9:49 am in reply to: Copy content created in advanced layout editor to another page? Is it possible? #125087Hey!
1) You can use the debug window: https://kriesi.at/support/topic/export-theme-settings-and-templates
or
2) Use the “Save Template” option. http://www.screenr.com/ee97
Regards,
Peter
Hi!
Try:
.main_menu ul:first-child > li > a {
font-family: 'Metrophobic', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}If it still doesn’t work clear your browser cache.
Best regards,
Peter
June 16, 2013 at 9:35 am in reply to: bug in footer, change language, change color and size of the menu #124615Hi!
Great – just tell us when you’re ready.
Regards,
Peter
Hi,
1) This script is now part of the wordpress core (wp3.6 – http://make.wordpress.org/core/2013/04/08/audio-video-support-in-core/ ): http://mediaelementjs.com/ – tbh I doubt it contains malware.
2) can you let me know how mediaelement-and-player.js and mediaelementplayer.js interact with that site and how to correct that situation ?
No, because we’re not involved in the media player development.
3) Can I delete both files without impact of the rest of the theme?
You can delete the script files however this will probably break the html5 video support. As mentioned above mediaelement will be part of the WP core when 3.6 comes out – then we’ll probably remove the script files from enfold and load the player by using the WP core files…
Ok, I talked to Kriesi and the problem is the logic of the avia_backend_truncate() function. It will not truncate the string unless it reaches a “delimiter” char which can be a space character or a period, etc. At the moment Kriesi uses a period which can result into different excerpt lengths – it simple depends on how long your sentences are. You can change the delimiter char to a space though – then the function can truncate your post content after each word. Open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php and replace
$prepare_excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'custom_excerpt_length' , 45) , ".", "…", true);
with
$prepare_excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_postgrid_excerpt_length' , 60) , apply_filters( 'avf_postgrid_excerpt_delimiter' , " "), "…", true);
Actually the main problem is that the breadcrumb can’t “connect” your Engineer Bio entry to the “Engineers” page. This will only work with parent and sub pages but not with “page” > “custom post type”. In this case you can only include a category/term link in the breadcrumb because WP can use the relationship between “posts” and “categories/terms” to display them in the correct order in the breadcrumb.
Hey!
Did you find a solution? I’m asking because the thread is marked as resolved.
Regards,
Peter
June 15, 2013 at 6:41 am in reply to: Enfold – Need to Set Author Link on Blog Posts to Go to Buddypress Profile #118454Hey!
I hope it worked out?
Best regards,
Peter
Hey!
Can you post a link to your website please? This helps us to provide the right css code.
Best regards,
Peter
1) Personally I’d recommend to translate Enfold with Codestyling: http://wordpress.org/plugins/codestyling-localization/
2) Install & activate the plugin and go to Tools > Localization to translate all themes/plugins. Search for the Enfold theme in the list and use the the wp-contentthemesenfoldlang folder as base directory.
3) Click the button to generate the language files and then you can translate all text strings from the “avia_framework” textdomain (including the search results page).
June 15, 2013 at 6:34 am in reply to: Slider not responsive? Appears with huge gap beneath on smartphones #124311Hey!
I’m sure Kriesi will look into it asap.
Best regards,
Peter
Hey!
Just go to the layout editor and you’ll see a new field:
Best regards,
Peter
Hi!
Yes – maybe a cache issue.
Regards,
Peter
June 15, 2013 at 6:24 am in reply to: Show all portfolio entries rather than the maximum 100 #124692Add following code to the bottom of functions.php:
function custom_post_grid_query( $query, $params ) {
if(is_page('20')) $query['posts_per_page'] = -1;
return $query;
}
add_filter( 'avia_post_grid_query', 'custom_post_grid_query', 10, 2);This will load all portfolio entries on the page with the id 20. You can replace 20 with any other id.
-
AuthorPosts