Forum Replies Created
-
AuthorPosts
-
In wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesportfolio.php search for
switch($columns)
{
case "1": $grid = 'av_fullwidth'; if($preview_mode == 'auto') $image_size = 'large'; break;
case "2": $grid = 'av_one_half'; break;
case "3": $grid = 'av_one_third'; break;
case "4": $grid = 'av_one_fourth'; if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;
case "5": $grid = 'av_one_fifth'; if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;
}and define a new case for “6” columns:
switch($columns)
{
case "1": $grid = 'av_fullwidth'; if($preview_mode == 'auto') $image_size = 'large'; break;
case "2": $grid = 'av_one_half'; break;
case "3": $grid = 'av_one_third'; break;
case "4": $grid = 'av_one_fourth'; if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;
case "5": $grid = 'av_one_fifth'; if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;
case "6": $grid = 'av_one_sixth'; if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;
}Hi!
Please try to insert following code into the quick css field
#top .main_menu .menu li#menu-item-search a{
font-family: 'entypo-fontello' !important;
}Best regards,
Peter
Hey!
As far as I know you can’t set different header for different pages by default. Kriesi’s demo page just demonstrates all header but there’s no option to switch the header type from page to page.
You can try to add a meta field to posts/pages to switch the header. Open up functions.php and insert following code at the bottom:
add_filter('avf_builder_boxes', 'register_meta_boxes', 10, 1);
function register_meta_boxes($boxes)
{
$boxes[] = array( 'title' =>__('Header Type','avia_framework' ), 'id'=>'header_type', 'page'=>array('page' , 'post'), 'context'=>'side', 'priority'=>'low');
return $boxes;
}
add_filter('avf_builder_elements', 'register_meta_elements', 10, 1);
function register_meta_elements($avf_builder_elements)
{
$avf_builder_elements[] = array(
"slug" => "header_type",
"name" => "Header Type",
"desc" => "Which header type do you want to use?",
"id" => "header_setting",
"type" => "select",
"std" => "",
"class" => "avia-style",
"subtype" => array( 'Default' => '',
'Small fixed Header' =>'fixed_header',
'Small non-fixed Header'=>'nonfixed_header',
'Fixed Header with Social Icons and additional Navigation'=>'fixed_header social_header',
'Non-fixed Header with Social Icons and additional Navigation'=>'nonfixed_header social_header',
'Header with Social Icons and bottom Navigation'=>'nonfixed_header social_header bottom_nav_header',
));
return $avf_builder_elements;
}Best regards,
Peter
July 24, 2013 at 4:56 am in reply to: What loop does a page with a blog widget from the builder use? #130152I’d recommend to create a new element. Make a copy of blog.php and rename the class (otherwise you’ll get a php error). Then modify the code and include it with the child theme functions.php (include() or require_once()).
Hi!
Please use http://www.urlgone.com/ if you don’t want to post the url in the forum directly.
Regards,
Peter
Hey!
Great design – I like the flourish vector ornaments.
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
Yes, I’m not aware of any indexing issues.
I’d also recommend to deactivate directory listing – then google won’t create/show search results like “Index of /wp-content/themes/toggleway/framework/php”, etc. – many web hoster allow you to switch directory listing on/off with the cpanel or on the administration page. If not try to use the htaccess file: http://viralpatel.net/blogs/htaccess-directory-listing-enable-disable-allow-deny-prevent-htaccess-directory-listing/
Hi!
Great – glad you found a solution :)
Regards,
Peter
July 23, 2013 at 9:25 am in reply to: Saving didnt work! Please reload the page and try again #129157Hey!
Thanks for the hint mrkuji.
Regards,
Peter
I don’t think it’s caused by duplicate content. Did you try to generate a sitemap? I’d suggest to use Yoast SEO: http://wordpress.org/plugins/wordpress-seo/ but if you’re using another seo plugin you can also try http://wordpress.org/plugins/google-sitemap-plugin/
Then go to the Google Webmaster tools and submit the sitemap.xml. This will “force” google to re-index all pages which are listed in the sitemap.xml.
Hey!
Unfortunately this feature would require some custom work and is beyond the scope of our free support service. I added your request to the feature request/wishlist.
Regards,
Peter
Hey!
Glad you found the solution :)
Best regards,
Peter
Hi!
Strange – in this case just delete the line I posted above and the header will be gone.
Best regards,
Peter
Tbh I don’t think this is issue is theme related. I just found one occurrence of “http://happREMOVEyvalleREMOVEyfoundation.com/” in the source code which points to an image:
<img class='avia_image avia-builder-el-4 el_after_av_hr avia-builder-el-last avia-align-left ' src='http://happREMOVEyvalleREMOVEyfoundation.com/wp-content/uploads/Ping-Fred-487x430.jpg' alt='' title='' />
Maybe you changed the blog url in the past and some “hardcoded” urls in the database still point to “http://happREMOVEyvalleREMOVEyfoundation.com/” instead of “http://www.happREMOVEyvalleREMOVEyfoundation.com/”. You can use: WP MIGRATE DB to replace all occurrences of “http://happREMOVEyvalleREMOVEyfoundation.com/” with “http://www.happREMOVEyvalleREMOVEyfoundation.com/” and to export the database with the new paths. Then delete your old database and import the new database file which was generated by WP MIGRATE DB.I sent Kriesi a patch for the wpautop/shortcode issue two days ago and it looks good so far. We now test it extensively with all elements to be sure that
1) all shortcodes are executed properly
2) wpautop() doesn’t parse shortcode tags.
I expect an update to fix this issue soon – however I don’t want to give an ETA before we tested everything.
July 23, 2013 at 7:12 am in reply to: Lots of html code being made and causes js error please advise #1309271) If you get a php error (or “white screen of death”) you can try to increase the allocated php memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
Otherwise (if it’s a js/css, etc. error) please try to contact the plugin authors because this seems to be a plugin conflict between bbpress and sabai.
2) We’ll release an update which should fix all these wpautop issues soon. For now try 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>";
July 23, 2013 at 7:05 am in reply to: Editing background transparency of drop down and mega menus #130778I’d suggest to use a rgba color. A hex/rgba converter can be found here: http://hex2rgba.devoth.com/
Insert following code into the quick css field and change the color value (and opacity value) if necessary.
.header_color .main_menu ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div {
background-color: rgba(255,255,255,0.6)
}1) No, normally not. But you can check if the file is located in the right folder. Go to wp-content/themes/enfold/lang/ and make sure that pt_BR.po and pt_BR.mo are inside this folder.
2) How do I make pt-br my first language for the theme? – You must set the wordpress language to pt_br. This can be done by setting the WPLANG constant in wp-config.php: http://codex.wordpress.org/Editing_wp-config.php#Language_and_Language_Directory
You can find all supported languages here: http://codex.wordpress.org/WordPress_in_Your_Language
Hi!
Go to “Layout Elements” and add a “Color Section” to the layout. Click on the “edit section” icon to configure the options (bg image, etc.). Afterwards drag’n’drop your content elements into the section.
Regards,
Peter
Hi, no WP-Backgrounds will just add a background layer to the body element. If you want to add a background to certain sections/content elements use the section options to add a background image to the section itself.
Hi!
Thanks for the notice – I marked it for Kriesi
Regards,
Peter
Please try following – open up index.php and replace
if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title(array('heading'=>'strong', 'title' => $title, 'link' => $t_link, 'subtitle' => $t_sub));
with
if( avia_post_meta($new, 'header', true) != 'no') echo avia_title(array('heading'=>'strong', 'title' => $title, 'link' => $t_link, 'subtitle' => $t_sub));
and check if this code mod solves your issue.
Probably the problem is that you already saved an individual page setting (post meta value) for all pages. Try to add following code to the bottom of functions.php
add_action( 'admin_init', 'avia_remove_meta');
function avia_remove_meta()
{
$post_types = array('post','page','portfolio');
$count = 0;
//iterate over each post type
foreach($post_types as $type)
{
//get all posts of a certain type
$the_query = new WP_Query( array('post_type' => $type, 'posts_per_page'=>-1) );
//check if any post were retrieved
if(!empty($the_query->posts))
{
//iterate over each post and check if the post has a gallery key
foreach($the_query->posts as $entry)
{
//since there might be hundreds of posts make sure php doesnt time out
@set_time_limit(45);
$success = delete_post_meta($entry->ID, 'footer');
}
}
}
}to reset these individual settings. Then load the admin page (can take some time) and remove the code again. Afterwards go to Enfold > Footer > Default Footer Widgets & Socket Settings and select “Display only the socket (no footer widgets)” or any other option.
First make sure you’re using the latest version of Enfold (1.8.1). Then try to install a smtp plugin like: http://wordpress.org/plugins/wp-smtp/ and configure it to use your mail server. Our contact form now uses wp_mail() by default and you don’t need to use any additional filter code to activate the wp_mail() function instead of the mail() function.
July 22, 2013 at 8:17 am in reply to: Saving didnt work! Please reload the page and try again #129155Hi!
Please create me a wordpress admin account and send me the login data and more details about the issue to: (Email address hidden if logged out)
Best regards,
Peter
Hi!
Please increase the allocated php memory to 128M. You need to edit the wp-config to change this value: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
Best regards,
Peter
-
AuthorPosts