Forum Replies Created
-
AuthorPosts
-
Hi!
No, tbh I’ve also no idea it this point. If you’re familiar with xdebug and IDEs like PHPStorm or Netbeans I recommend to debug the code – maybe you can find the reason why bbpress doesn’t like the condtional logic. If you’re not familiar with php debugging I recommend to hire someone (i.e. here http://studio.envato.com/ ) who can help you to set up bbpress and the widgets properly
Best regards,
PeterJune 17, 2014 at 11:23 am in reply to: Contact Form E-mails Not Being Sent because of Yahoo's new DMARC policy #279930Hi!
Try to use this code instead:
add_filter('avf_form_from', 'avia_change_from', 10, 3); function avia_change_from($from,$new_post,$params){ global $avia_config; $avia_config['from_email_address'] = $from; $from = ' (Email address hidden if logged out) '; return $from; } add_filter('avf_form_autoresponder_from', 'avia_change_autoresponder_from', 10, 3); function avia_change_autoresponder_from($from, $new_post, $form_params){ global $avia_config; if(isset($avia_config['from_email_address'])) $from = $avia_config['from_email_address']; return $from; }
and replace (Email address hidden if logged out) with your yahoo email.
Cheers!
PeterJune 17, 2014 at 11:14 am in reply to: WGM Digitale Produkte und Enfold nach neuem Verbraucherrecht #279928Hi adrianwackernah!
Nein, so ein Label besteht meines Wissens nach derzeit nicht. “Digital” wird nur in der Kassa und Checkout-Bereich angezeigt, aber nicht auf der Produktseite oder im Shop. Nur das Produkt Widget zeigt (inkonsequenter Weise) wiederum “Digital” an, was aber mAn ein Bug/Fehler (auf den ich die Entwickler schon hingewiesen habe) ist, da es ja sonst nirgendswo im Shop angezeigt wird und nur auf der Checkout/Kassa Seite digitale Produkte markiert. Auf der Checkout Seite wird der “Digital” Text natürlich auch bei Enfold angezeigt. Als Referenz dient mir das Entwickler-Theme Hamburg, welches auch kein “Digital” Label im Shop oder Produktseite anzeigt.
Best regards,
PeterHi!
We’ll replace the div with a h3 tag with the next update. For now please modify the parent theme shortcode file.
Best regards,
PeterHi SeascapeTech!
Maybe Enfold can’t regenerate the dynamic stylesheet for one (or more) languages. Please use a ftp client and connect to your server. Navigate to wp-content/uploads/dynamic_avia/ and set the folder permission to 777. Then delete the enfold.css file inside the dynamic_avia folder. Afterwards go to Enfold > Theme Options to regenerate the dynamic stylesheets (hit the green “Save all changes” button).
Regards,
PeterHey!
Glad it works now. I’ll close this thread.
Best regards,
PeterHey!
It works now. I added this line:
define('SCRIPT_DEBUG', true);
to the wp-config.php file. Not sure why this fix is required but many other wordpress users reported the same issue here: http://wordpress.org/support/topic/post-editor-missing-in-wp-35-after-upgrade/ and it seems like it’s a common problem.
Regards,
PeterHey!
1) I recommend to use the excerpt field: http://www.clipular.com/c/4541537736196096.png?k=QuY_W21Ghczzv2VdGq9JHU_v1gI to determine the excerpt length. WordPress will display the text you entered in the textarea as excerpt. If you want to generate the excerpt based on the post content use this code:
add_filter('avf_masonry_excerpt_length','avia_change_masonry_excerpt_length', 10, 1); function avia_change_masonry_excerpt_length($length) { return 60; }
and replace 60 with any custom value. The default value is 60 characters. You can insert the code into the child theme functions.php file or enfold/functions.php.
2) You can use the “Link” post format. If this format is set and you added an url to the very beginning of the post content Enfold will link the image to this url and not to the single post page: http://www.clipular.com/c/5277255768997888.png?k=0u0Vjl_5_E5ai8QLIq7HMW86120
Best regards,
PeterHi KK!
Did you solve the issue? I just visited the single post: http://www.clipular.com/c/6159933489807360.png?k=QAP6ybTZqwgbm0JeYexXzqFql8o and the headline/title floats to the left.
Best regards,
PeterHey!
1) I tested the code on my test server and it works for me (red background for the menu item “Contact”: http://test.inoplugs.com/ ). Make sure the menu item id (2327 in the sample code) is correct and exists on your server.
2) The code can be found in footer.php – search for:
<a href='#top' title='<?php _e('Scroll to top','avia_framework'); ?>' id='scroll-top-link' <?php echo av_icon_string( 'scrolltop' ); ?>><span class="avia_hidden_link_text"><?php _e('Scroll to top','avia_framework'); ?></span></a>
Cheers!
PeterHey markmclaren74!
Personally I can’t see the red background color but it’s light grey for me. However you can change it with this css code – insert it into the quick css field:
#top.boxed .alternate_color.title_container{ background: #333; }
Regards,
PeterHey!
The category/archive pages use the read more quicktag ( http://en.support.wordpress.com/splitting-content/more-tag/ ) to separate the excerpt from the content. You can also use the “excerpt” option field on the post editor page to insert a custom excerpt text but you need to add this code to your child theme functions.php file or enfold/functions.php:
add_filter( 'post-format-standard', 'avia_category_content_filter', 15, 1); function avia_category_content_filter($current_post) { if(!is_single()) { $current_post['content'] = get_the_excerpt(); $current_post['content'] .= '<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>'; } return $current_post; }
to query the excerpt from the “excerpt” field.
The html code I see on the plog overview is only there when I change the propertie of a blog message to link. If I take away the propertie (notation) link and use standard, there is no problem. But like that I still see the whole message and not only a summery.
I guess you tested it with: http://gok.wpengine.com/galerij-van-succesverhalen/ (hosted on WPengine) ? The reason is that you wrapped your link into a “quote” tag. If you want to use the “link” post format please add the url of the link without any additional html tags to the top of the post content like:
http://opgewicht.forum2go.nl/galerij-met-inspirerende-grip-op-koolhydraten-succesverhalen-f57.html <blockquote>Voor inspiratie en motivatie zie de <a title="Galerij van succesverhalen" href="http://opgewicht.forum2go.nl/galerij-met-inspirerende-grip-op-koolhydraten-succesverhalen-f57.html" target="_blank"> <strong>Galerij van succesverhalen</strong></a> op het forum (voor iedereen leesbaar). Bijvoorbeeld: <strong><a title="Drie generaties aan de GOK" href="http://opgewicht.forum2go.nl/3-generaties-aan-de-gok-t11919.html" target="_blank">Drie generaties aan de GOK</a></strong> </blockquote>
Enfold will then strip the url http://opgewicht.forum2go.nl/galerij-met-inspirerende-grip-op-koolhydraten-succesverhalen-f57.html from the post content and use it as featured url/link.
Cheers!
PeterHi!
is there a solution to change the size of right sidebar???
Yes, insert this code into the child theme functions.php file or enfold/functions.php:
function avia_increase_sidebar_size() { global $avia_config; $avia_config['layout']['fullsize'] = array('content' => 'twelve alpha', 'sidebar' => 'hidden', 'meta' => 'two alpha', 'entry' => 'eleven'); $avia_config['layout']['sidebar_left'] = array('content' => 'eight', 'sidebar' => 'four alpha' ,'meta' => 'three alpha', 'entry' => 'eight'); $avia_config['layout']['sidebar_right'] = array('content' => 'eight alpha', 'sidebar' => 'four alpha', 'meta' => 'three alpha', 'entry' => 'eight alpha'); } add_action( 'init', 'avia_increase_sidebar_size', 1);
To change the sidebar size you need to replace “eight” and “four” with a different value. I.e. change “eight” to “nine” and “four” to “three” to decrease the width of the sidebar. You can also replace “eight” with “seven” and “four” with “five” to increase the width. Note that you must not exceed the width of “twelve” units because our css grid just supports twelve units in one row.
Regards,
PeterHey!
1) Try this code instead:
.single #wrap_all div[itemprop="description"] p{ font-size: 18px; }
2) Please add this code to the child theme functions.php file to hide the additional informartion tab. You can also add it to enfold/functions.php if you don’ use a child theme:
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function woo_remove_product_tabs( $tabs ) { unset( $tabs['additional_information'] ); // Remove the additional information tab return $tabs; }
Cheers!
PeterHi!
1) This custom css code breaks the gallery for Firefox users – please remove it:
#top #wrap_all .avia-gallery-1 .avia-gallery-thumb a img { filter: url("filters.svg#grayscale"); }
2) Yes, you can use this generator: http://css3gen.com/text-shadow/ to create the css code and then use:
#top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a{ text-shadow: 4px 4px 2px rgba(150, 150, 150, 1); }
to change the styling of the transparent menu items. Different colors per slide are not possible.
Best regards,
PeterHi!
You can modify Josues code here: https://kriesi.at/support/topic/how-to-adjust-featured-image-height-in-single-post/#post-274245 and use a different thumbnail size for single posts.
Replace:
$current_post['slider'] = get_the_post_thumbnail($current_post['the_id'], $size);
with
$size = (is_single()) ? "square" : "full"; $current_post['slider'] = get_the_post_thumbnail($current_post['the_id'], $size);
You can replace “square” with another thumbnail size like ‘masonry’, featured’, ‘featured_large’, ‘portfolio’, ‘gallery’, ‘entry_with_sidebar’,’entry_without_sidebar’,extra_large’ or “magazine”.
Best regards,
PeterHey!
You can change the text color and font size with this code – just insert it into the quick css field and change the values if necessary:
.avia-form-success{ color: #333; font-size: 12px; }
Best regards,
PeterJune 15, 2014 at 4:57 pm in reply to: Javascript conflict with function trigger_default_open() #279122Hey!
1) We’ll include the patch I posted here: https://kriesi.at/support/topic/javascript-conflict-with-function-trigger_default_open/#post-278856 with the next update. I already sent the patch to Kriesi.
2) Kriesi is already aware of it. Unfortunately this limitation does not affect all devices and there’s no perfect solution at the moment. I.e. Android mobile phones will play the video just fine.
Best regards,
PeterHi!
Sehr gut :)
Regards,
PeterHi!
You’re using an old version of WPML which is not compatible with WP3.9 and which breaks the theme. Please update to 3.1.5 which is fully compatible with WP3.9.x.
Best regards,
PeterHi!
Versuche diesen Code in das Quick CSS Feld einzufügen:
#footer .widget { text-align: right; }
Regards,
PeterJune 14, 2014 at 3:23 pm in reply to: Javascript conflict with function trigger_default_open() #278883Hey!
I tagged the thread for the other support staff members. I can’t test the website with an ipad/iphone and I asked them to test it.
Best regards,
PeterHey!
Ok, I’ll close this thread now.
Best regards,
PeterHey!
Add this code to the child theme functions.php file:
add_filter('avf_default_icons','avia_replace_default_icons', 10, 1); function avia_replace_default_icons($icons){ $icons['standard'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue807'); return $icons; }
and replace “entypo-fontello” with the name of your custom font icon family.
Best regards,
PeterHey pops369!
I’m not sure what you mean with “the colors never change to what Ive selected”. Do you mean the colors don’t change at all or the color change but not to the selected values? One possible reason could be that Enfold can’t regenerate the dynamic stylesheet on your server. You can try to deactivate the dynamic stylesheet generation by adding this code:
add_action('after_setup_theme','avia_remove_dynamic_stylesheet'); function avia_remove_dynamic_stylesheet(){ global $avia; $avia_safe_name = avia_backend_safe_string($avia->base_data['prefix']); update_option( 'avia_stylesheet_dir_writable'.$avia_safe_name, 'false' ); update_option( 'avia_stylesheet_exists'.$avia_safe_name, 'false' ); }
at the very bottom of enfold/functions.php or the child theme functions.php file.
If you want to ask for a refund you can contact Envato: http://support.envato.com/ but you need to work with the theme author first to resolve the issue. Otherwise they won’t issue a refund.
Regards,
PeterJune 14, 2014 at 1:42 pm in reply to: Contact Form E-mails Not Being Sent because of Yahoo's new DMARC policy #278870Hi wgpubs!
Yes, a user reported his host doesn’t allow to send emails from a different tld in the past and the only possible fix is to change the sender email. You can use this code to change the sender address – insert it at the bottom of child theme functions.php or enfold/functions.php and replace (Email address hidden if logged out) with your yahoo email address.
add_filter('avf_form_from', 'avia_change_from', 10, 3); function avia_change_from($from,$new_post,$params){ $from = ' (Email address hidden if logged out) '; return $from; }
Best regards,
PeterJune 14, 2014 at 10:47 am in reply to: Javascript conflict with function trigger_default_open() #278856Hi!
Tbh I think this is a plugin bug. The author uses an anchor element without href attribute (which is essential for the anchor) and the missing href value breaks our code. I recommend to contact the author and to ask him to use another element like a span, div or p tag or to add href=”#” to the anchor element. If you want to modify the theme files instead open up wp-content/themes/enfold/js/shortcodes.js and replace:
var hash = $(this).attr('href').replace(/^.*?#/,''); if(hash) trigger_default_open('#'+hash););
with
var hash = $(this).attr('href'); if(typeof hash != "undefined" && hash) { hash = hash.replace(/^.*?#/,''); trigger_default_open('#'+hash); }
Regards,
PeterJune 14, 2014 at 9:32 am in reply to: Accordion Slider – Remove Default Incorrect Schema.org Marcup #278850Hey!
You can customize the markup with the existing hooks – i.e. I published some code here: http://kriesi.at/documentation/enfold/customize-schema-org-markup/
Regards,
PeterJune 14, 2014 at 8:28 am in reply to: Accordion Slider – Remove Default Incorrect Schema.org Marcup #278846Hi sdbroker!
Actually you’re mixing things up. schema.org will not trigger an error if the author is missing. Only the hatom markup breaks but we did not add any hatom markup to the accordion. You can test the markup with this page here: http://test.inoplugs.com/code/ – http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Ftest.inoplugs.com%2Fcode%2F – no errors. We won’t change it for now because I see no substantial proof for your argument and I do not agree with it.
You can remove the markup with this code – insert it into the child theme functions.php file:
add_filter('avf_aviaccordion_config', 'avia_change_accordion_config', 10, 1); function avia_change_accordion_config($config) { $config['custom_markup'] = "no_markup"; return $config; } add_filter('avf_markup_helper_args','avf_remove_markup_helper_args', 10, 1); function avf_remove_markup_helper_args($args) { if($args['custom_markup'] == "no_markup") $args['context'] = ''; return $args; }
Cheers!
PeterHi!
1) You can’t use the WebPage markup – it’s already used for the body tag and must not be used multiple times on the same page (same itemscope): http://schema.org/WebPage . The blog markup is the right (and intended) markup in this case because you can use it to group links to other page or post entries and google doesn’t care about the post type of the entry. You can use a filter to remove the markup completely from the accordion if you think it hurts your seo though.
2) We’ll replace the div element with h3. It’s not really required because the headline markup is not limited to h1-h6 headlines but it’s a quick change and it makes sense to display the page/post titles as h3 headlines. I’ll close this thread now because the issue is solved. I’ll report the image size bug to Kriesi.
Regards,
Peter -
AuthorPosts