Forum Replies Created
-
AuthorPosts
-
Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesslideshow.php and replace
if(trim($title) != "") $title = "<h2 class='avia-caption-title'>".trim(apply_filters('avf_slideshow_title', $title))."</h2>";
if(trim($content) != "") $content = "<div class='avia-caption-content'>".wpautop(ShortcodeHelper::avia_remove_autop(trim($content)))."</div>";with
if(trim($title) != "") $title = "<h1 class='avia-caption-title'>".trim(apply_filters('avf_slideshow_title', $title))."</h1>";
if(trim($content) != "") $content = "<div class='avia-caption-content'><h3>".wpautop(ShortcodeHelper::avia_remove_autop(trim($content)))."</h3></div>";Yes, it’s not possible to insert text inside the [av_contact] shortcode – it will be ignored and stripped. You can add your idea to the wishlist though: https://kriesi.at/support/topic/enfold-feature-requests/page/4 – maybe we’ll add a “html content” element to the contact form if more users request it.
Hey!
No – posts don’t support the “Advanced Layout Builder” at the moment (see: http://themeforest.net/item/enfold-responsive-multipurpose-theme/discussion/4519990?page=34#comment_4128768 ) because the comments, the blog layouts, etc. are not compatible with it.
Best regards,
Peter
Hi!
Did you assign your menus (Appearance > Menus) to a theme location? Otherwise the search won’t work.
Best regards,
Peter
You can try this fix: https://kriesi.at/support/topic/quform-its-my-4th-topic-and-nobody-answer-me#post-122772 or open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodestextblock.php and replace
return "<div class='avia_textblock'>".wpautop( ShortcodeHelper::avia_remove_autop($content) )."</div>";
with
return "<div class='avia_textblock'>".ShortcodeHelper::avia_remove_autop($content)."</div>";
This modification will remove the wpautop() function/filter which adds p tags to the content. Maybe this will also fix the conditional logic issue.
July 6, 2013 at 6:50 am in reply to: Position gravity forms submit button in-line – Responsive Enfold Theme #128032Try following css code
#gform_wrapper_1 .gform_body .gform_fields .gfield input#input_1_2 {
margin: 0em 17px -1em -1em;
}you can change the distance between button & text input field by increasing/decreasing the second value (17px).
July 6, 2013 at 6:42 am in reply to: How to reduce the width of the blank fields in the sidebar and body? #1281671) You can reduce the sidebar margin with following css code:
.inner_sidebar {
margin-left: 50px;
}Decrease the margin-left value. It’s not easily possible to change the outer margins or the margin between content area and sidebar because this will break the existing layouts and would require some major adjustments to the css grid.
2) Open up wp-contentthemesenfoldincludesloop-index.php and search for
$link = avia_image_by_id(get_post_thumbnail_id(), 'large', 'url');
You can replace “large” with any other thumbnail size (small, medium, portfolio, portfolio_small, entry_with_sidebar).
Actually the archive paages should display the widgets of the “Sidebar Blog” area too. I’d use this area to add the widgets to the archive page. If you want to hide the ‘displayed everywhere’ area on the archive page open up sidebar.php and replace
if (dynamic_sidebar('Displayed Everywhere')) : $default_sidebar = false; endif;
with
if (dynamic_sidebar('Displayed Everywhere') && !is_archive()) : $default_sidebar = false; endif;
Glad you found a solution. The difference between is_singular and is_single is that “is_single” will only check if you’re viewing a post or custom post. is_singular will return “true” on all “single” entry pages – posts, custom posts and pages. Only archives, search pages, etc. will return false. is_page won’t work because it only returns true on pages and it won’t work with posts.
July 6, 2013 at 6:24 am in reply to: Woocommerce catalog visibilty options – breaks page after theme update. #126568Hey!
Maybe you need to flush the permalinks after the installation of the “catalog visibility” extension. Go to Settings > Permalinks and hit the blue “Save” button.
Regards,
Peter
Hey!
Ok, I won’t close it :)
Regards,
Peter
Did you set this image as post thumbnail (featured image)? If you want to get rid of the post thumbnail on pages open up wp-contentthemesenfoldincludesloop-page.php and replace
if($thumb) echo "<div class='page-thumb'>{$thumb}</div>";
with
//if($thumb) echo "<div class='page-thumb'>{$thumb}</div>";
I searched the forum and it seems like nobody posted a link to a French translation yet. You can use http://wordpress.org/extend/plugins/codestyling-localization/ to translate the theme and please post a link to your translation files – they will help other users too.
Hi!
Yes – try:
.home .avia-slideshow-arrows.avia-slideshow-controls {
display: none;
}Regards,
Peter
Kriesi uses a session to store the portfolio page (which then links to the portfolio single entry). In your case the portfolio page is: http://www.vizspecialeffects.nl/special-effects/projects/ and wehen I click on “Dove..” the breacrumb shows “Home / special-effects / commercial projects / Dove MEN + CARE” which is imo correct. If you want to display the portfolio slug instead open up wp-contentthemesenfoldincludeshelper-template-logic.php and replace
if(get_post_type() === "portfolio")
{
$page = "";
$front = avia_get_option('frontpage');
if(session_id() && !empty($_SESSION['avia_portfolio']))
{
$page = $_SESSION['avia_portfolio'];
}
if(!$page || $page == $front)
{
$args = array( 'post_type' => 'page', 'meta_query' => array(
array( 'key' => '_avia_builder_shortcode_tree', 'value' => 'av_portfolio', 'compare' => 'LIKE' ) ) );
$query = new WP_Query( $args );
if($query->post_count == 1)
{
$page = $query->posts[0]->ID;
}
else if($query->post_count > 1)
{
foreach($query->posts as $entry)
{
if ($front != $entry->ID)
{
$page = $entry->ID;
break;
}
}
}
}
if($page)
{
if($page == $front)
{
$newtrail[0] = $trail[0];
$newtrail['trail_end'] = $trail['trail_end'];
$trail = $newtrail;
}
else
{
$newtrail = avia_breadcrumbs_get_parents( $page, '' );
array_unshift($newtrail, $trail[0]);
$newtrail['trail_end'] = $trail['trail_end'];
$trail = $newtrail;
}
}
}with
if(get_post_type() === "portfolio")
{
$slugRule = avia_get_option('portfolio-slug');
if($slugRule)
{
$newtrail[0] = $trail[0];
$newtrail[1] = '<a href="http://mywebsite.com" title="Projects">'.$slugRule.'</a>';
$newtrail['trail_end'] = $trail['trail_end'];
$trail = $newtrail;
}
}and replace “http://mywebsite.com” with the url you want to use for the “Projects” breadcrumb item…
This is definitely a wordpress/widget code bug. I can reproduce the issue on my server but it also occurs with any other theme (like the default TwentyTwelve theme). Imo it’s related to the “category select box” script. You can fix it by deselecting the “Display as dropdown” option (category widget). You can also try another category widget plugin like: http://wordpress.org/plugins/extended-categories-widget/
Hi,
open up wp-contentthemesenfoldframeworkphpclass-framework-widgets.php and replace
var myOptions = {
zoom:".$zoom.",
mapTypeControl:true,
mapTypeId:google.maps.MapTypeId.".$type.",
mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},
navigationControl:true,
navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},
center:latlng
};with
var myOptions = {
scrollwheel: false,
zoom:".$zoom.",
mapTypeControl:true,
mapTypeId:google.maps.MapTypeId.".$type.",
mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},
navigationControl:true,
navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},
center:latlng
};Hi!
Try:
#top .widget .textwidget ul{
list-style: disc inside;
}Regards,
Peter
July 4, 2013 at 7:11 am in reply to: How do I change the color of the down arrow of the gallery image tooltips? #127858Hi!
Did you find a solution? I’m asking because the topic is marked as resolved.
Regards,
Peter
The lightbox will only pop up if the image is wrapped into a link and the link must point to another image. It seems like Kriesi removed the link and replaced it with a div
$html .= "<div>{$caption}<img src='".$img[0]."' title='".$imgtitle."' alt='".$imgalt."' /></div>";
– thus no lightbox should pop up. If it still doesn’t work for you please post a link to the website and I’ll investigate the source code.
July 4, 2013 at 6:59 am in reply to: How do I make the H1 Text change color when hovered over? #127787Hi!
The css code can vary (depends on the element you’re using, etc.) but try:
a h1:hover{
color: #333 !important;
}Best regards,
Peter
Hi!
Yes it will remove the wpautop filter: http://codex.wordpress.org/Function_Reference/wpautop from all text elements. I’ll talk to Kriesi – maybe he can improve the the filter logic somehow.
Best regards,
Peter
You can try to install a cache plugin like w3tc: http://wordpress.org/plugins/w3-total-cache/ or super cache: http://wordpress.org/plugins/wp-super-cache/ which will reduce the number of database queries if the user is not logged in (static page content).
Just use the id of the element you want to link to as href value. Eg if you wan to link to the element with the id “test” use:
<a href="#test">Test Link</a>
I just took the code from the demo content xml file and it’s exactly the same code which will be imported into the database if you click on the “Import dummy data” button. However if you changed some styling settings, etc. it will look different. If you want to use exactly the same layout I’d suggest to start from scratch (you can reset the database with: http://wordpress.org/plugins/wordpress-database-reset/ ) or (if you can’t do this) set up a second test website and import the dummy on this website. Then compare your settings to the “untouched” dummy data website.
1) Please try to re-upload the wp-contentthemesenfoldconfig-layersliderLayerSlider folder and make sure that the folder permission is set to a reasonable value like 755. Make sure that the wp-contentthemesenfoldconfig-layersliderLayerSliderlayerslider.php file exists on your server.
2) Try to increase the allocated php memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
I did not test this code mod but try following – in functions-enfold.php delete:
add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );
Then open up header.php and replace
$social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => '');
with
ob_start();
get_search_form();
$form = htmlspecialchars(ob_get_clean()) ;
$form = '<span 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></span>';
$social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => $form);Hey!
Please use following css code
.sub_menu>ul, #top .sub_menu>ul>li {
border-color: #000000;
}Regards,
Peter
1) If you want to add an image icon I’d suggest to use the “append” parameter of the social media icons function – it helps you to append any html code (including image links) to the social icons element: https://kriesi.at/support/topic/how-do-i-add-a-you-tube-icon-to-social-icons-in-the-header
2) I think the icon size is not important. I’d recommend to use 32px x 32px or 64px x 64px icons. Then you can use css code to scale it down if necessary.
Hi!
Thank you for providing the code. Please note that the output is not w3c valid (you can’t wrap a link around a div element) and it will break links inside the iconbox text content.
Regards,
Peter -
AuthorPosts