Forum Replies Created
-
AuthorPosts
-
Hey trevorjohnston!
1) Can you please rephrase the first question – I’m not sure what you mean with: “. Could you please tell me how to me “Logged in as…Log out” line below the comments window?”
2) Yes, can you post a link to your comment form please?
Regards,
PeterHey!
You can try to add an “order” and “orderby” option field to the blog element – see: http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/
Then select “orderby” – “date” from the dropdown and order “DESC”. This should revert the post order.
Regards,
PeterHey!
Glad you found a solution :)
Regards,
PeterHey!
Yes, try this code – it will just display the blog page and the post title in the breadcrumb. It will strip the post categories:
add_filter('avia_breadcrumbs_trail', 'avia_change_breadcrumb', 20, 1); function avia_change_breadcrumb($trail) { if(is_single() && get_post_type() == "post") { $newtrail = array(); $blog = avia_get_option('blogpage'); $newtrail[0] = '<a href="' . get_permalink( $blog ) . '" title="' . esc_attr( get_the_title( $blog ) ) . '">' . get_the_title( $blog ) . '</a>'; $newtrail['trail_end'] = $trail['trail_end']; $trail = $newtrail; } return $trail; }
Regards,
PeterHey!
1) You can’t increase the number of posts of a certain category but you can increase the total number of posts (can be part of any category) which will show up before you click the “load more” button. The code Günter posted above will then sort these posts with js. It then simply depends on how many “Portrait” posts can be found on the first page. If you increase the number of posts per page you also increase the loading times because the server must query more posts and the browser must load more resources (more html code, more images, etc.). If you just want to show the posts of a certain category I recommend to remove the js/jquery filter and to use wordpress/php to query the posts of a certain category only.
2) You can try to add a timeout to Günters code – it will delay the trigger event a bit and isotope should hav some time to load properly. The disadvantage is that the loading times may increase a bit. For the sample code I added a delay of 500 ms (0,5 seconds) but you can change it if necessary.
function my_portrait_click() { ?> <script> jQuery(function(){ setTimeout(function(){ jQuery('.portrait_sort_button').trigger('click'); },500);"; }); </script> <?php } add_action('wp_footer', 'my_portrait_click', 900);
Best regards,
PeterHey!
Yes, open up enfold / framework / php / class-framework-widgets.php and replace:
$additional_loop = new WP_Query($new_query);
with:
$new_query['orderby'] = "rand"; $additional_loop = new WP_Query($new_query);
Best regards,
PeterHi!
Great. I already send a patch to Kriesi and we’ll release it with ther next update.
Cheers!
PeterHey!
Ok, please don’t forget to post the idea here: https://kriesi.at/support/enfold-feature-requests/ too :)
Best regards,
PeterHey!
Sehr gut :)
Cheers!
PeterHi!
Ok, I’ll leave this thread open in case Kriesi or someone else wants to comment on it.
Regards,
PeterHey!
Ok, I’ll close the thread now. If the next update and the code I posted here: https://kriesi.at/support/topic/wp-feed-not-working/#post-306768 doesn’t solve the problem, please create a new thread.
Regards,
PeterAugust 20, 2014 at 2:17 pm in reply to: Remove the "Comments are closed" remark at the bottom of custom post types #306839Hey ThomasWalkerDesign!
Insert this code into the quick css field or child theme style.css:
.single-ajde_events .nocomments { display: none !important; }
Best regards,
PeterHey!
1) No, Google map clusters are not supported and unfortunately it would require quite a lot of work to add this feature. You can suggest it here: https://kriesi.at/support/enfold-feature-requests/ though and if enough users vote for it we’ll look into it. Afaik this plugin: http://www.wpgmaps.com/gold-add-on/ supports map clusters.
2) Yes, I’ll ask Kriesi to add it to the next update. If you need a quick solution open up and replace:
infowindow.open(map,marker);
with:
infowindow.close(); infowindow.open(map,marker);
Regards,
PeterAugust 20, 2014 at 1:49 pm in reply to: Google Webmaster Tools Warning Email: Stop redirecting smartphone users #306832Hi!
Ok, I’ll leave this thread open in case you hear from them and want to post the answer.
Cheers!
PeterHey twaelde!
Tbh we didn’t test it and we can’t tell you if it’s possible or not. The customization is definitely beyond the scope of our support forum and if you want to implement the script into the theme framework you need to hire a freelancer. I recommend to contact WerkPress: http://kriesi.at/contact/customization or post a job offer here: http://studio.envato.com/
Cheers!
PeterHey!
Yes – I forgot to delete a ) charachter. I corrected the code – please try it again.
Cheers!
PeterHey!
Yes, it won’t work yet. I decided to rewrite the patch a bit and I changed the code a bit too. Please do not use it before the next update. If you want to remove the feed now just edit header.php and delete this line:
<link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> RSS2 Feed" href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>" />
Regards,
PeterAugust 20, 2014 at 1:29 pm in reply to: General Styling with WPML doesn't work in main language. #306820Hi!
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).
Cheers!
PeterHi yoginthusiast!
Can you post a link to your website please and provide a link to a sample page where we can reproduce the problem?
Best regards,
PeterAugust 20, 2014 at 1:23 pm in reply to: Missing css fonts caused by WPML translation in domain mode #306817Hey!
Tbh I think it’s up to WPML to adjust the domain/url path based on the selected language. We use the standard get_template_directory_uri() wordpress function: http://codex.wordpress.org/Function_Reference/get_template_directory_uri to load the resources. It’s not our job to change the uri based on the selected language but the WPML plugin must change it based on the plugin settings. Your best bet is to report it as a bug to the WPML developers. If you need a quick fix you can try the code from this article: http://www.wp-code.com/wordpress-snippets/how-to-make-sure-the-correct-domain-is-used-in-wpml/ .
Best regards,
PeterHey!
Ok – I submitted a patch to Kriesi. With the next update you’ll be abe to remove the pingback, feed, etc. tags with this code:
add_action('after_theme_setup','avia_remove_feed'); function avia_remove_feed() { remove_action( 'wp_head', 'avia_set_rss_tag', 10, 1 ); }
You can add it to the functions.php file of your child theme or into enfold/functions.php.
Cheers!
PeterHey!
No, Enfold doesn’t use timthumb. We use the standard wordpress thumbnail generation function which also doesn’t use timthumb. Based on the file paths you posted in your first post I guess a plugin on your server uses the timthumb script and this plugin also created the “em-cache” folder in your uploads directory.
Cheers!
PeterHi!
We’ll fix this with the next update. For a temporary fix open up enfold/enfold-functions.php and replace:
$output .= "<a class='ajax_search_entry ajax_search_entry_view_all' href='".home_url('?' . $search_messages['all_results_link'] )."'>".$search_messages['view_all_results']."</a>";
with
$output .= "<a class='ajax_search_entry ajax_search_entry_view_all' href='".icl_get_home_url(). '?' . $search_messages['all_results_link'] ."'>".$search_messages['view_all_results']."</a>";
Best regards,
PeterHey!
Strange – I’ll ask Kriesi to remove it with the next update. I couldn’t find it in my header.php file (developer server).
Cheers!
PeterHi Munford!
Yes, this is very likely possible. We don’t support Safari 5 because the market share is too small to care about it. Please update the browser to Safari 6 or 7.
Regards,
PeterHey sosturismodentale!
Yes, the lightbox and wordpress (which uses the oembed protocol to embed the youtube player: http://codex.wordpress.org/Embeds ) do not support youtube playlists but just single videos. This is a technical limitation. You can try to install this plugin: https://wordpress.org/plugins/youlist/ and to embed the playlist on a single portfolio page. This playlist will not open on the portfolio grid page (like the lightbox you use at the moment) but I’m not aware of another solution/workaround.
Regards,
PeterHi!
Enfold does not add these feed links to the head section (you can check header.php if you don’t believe me) and it’s not something we can fix on our end. If you want to avoid that WordPress adds these feed links to the head section you can study this article: http://www.wpbeginner.com/wp-tutorials/how-to-disable-rss-feeds-in-wordpress/
If you use a SEO plugin you can often deactivate the rss links on the seo plugin option screen (i.e. if you use Yoast SEO go to SEO > Titles & Metas and tick the “Hide RSS Links” checkbox).
Best regards,
PeterAugust 20, 2014 at 9:28 am in reply to: ReferenceError: Can't find variable: WPRemoveThumbnail #306666Hi Stinki!
Das Problem wird durch euer Child Theme verursacht. Wenn ich auf das Enfold Parent Theme wechsle, dann funktioniert der “Beitragdbild entfernen” Link. Ich empfehle euch daher den Child Theme Code systematisch auszukommentieren, zum den Übeltäter zu finden.
Best regards,
PeterHi!
Great, glad we could help you :)
Cheers!
PeterHi!
Update – I did a quick test on your website with the default theme: http://o-p-f.com/cms/?product=tasting-platte-mini-2 and I couldn’t get it to work too. You probably need to contact the WooCommerce support team.
Regards,
Peter -
AuthorPosts