erwin_m
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Background-color email field contact form 7Thank you for thinking with me. I’ve got it solved, it was an space between an id and class which causes the behaviour.
Forum: Plugins
In reply to: [Contact Form 7] Background-color email field contact form 7I’m using Enfold as theme and the plugins: Akismet, all-in-one wp migration, classic editor, duplicate page, honeypot for contact form 7, loginizer, really simple ssl, salt shaker, wordfence security, WP mail smtp, wp supercache, wp optimize, yoast seo.
Forum: Fixing WordPress
In reply to: Problem with theme displaying Google API keyThanks for your reply. It is indeed a commercial product, but my support period is expired. I wouldn’t like buying a new license just for solving this issue.
Forum: Plugins
In reply to: [User Role Editor] How can I add editing the main_menu to the editor role?Hi Vladimir,
That’s what I was looking for. Thanks!
Still the same, tried different settings, but the number of shown items doesn’t match the setting.
Does anyone recognize this problem? I need to change the number every few days. I want to show 4 items on the homepage, but have to enter sometimes 25, or 30 or 8 to get 4 items to show. Really weird…
Forum: Plugins
In reply to: [WooCommerce] cart stays emptyHi @johndcoy,
I’ve concentrated on the server where I had installed my clone. On that domain there also was a varnish-cache active. After I had excluded the cart-page, that installation worked fine. I wasn’t a really happy anymore with the original host, so I’m gonna change it this week to the other one and I suppose that my problem is solved by then.
Thank you for helping!!
Regards,
ErwinForum: Plugins
In reply to: [WooCommerce] cart stays emptyHi Con,
Perhaps I wasn’t clearly. When I said most of the tips on your link are working, means for me that there was no problem and I have tried them. But it didn’t get me any result. Sorry for the confusion. So I’m still having the same problem.
Regards,
ErwinForum: Plugins
In reply to: [WooCommerce] cart stays emptyHi Con,
Thank you for your reply.
I do have a link to the site, you will find it here. Most of the tips on your link are working.
Regards,
Erwin
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Limit number of events not workingHi,
Did you figured this out yet? Should be possible I think… I’m having the same problem.
- This reply was modified 6 years, 2 months ago by erwin_m.
That would be great!
I’m sorry, can’t follow you. In wp-content is a folder plugins and a folder themes. What do you put in which folder? Hope you have a bit of patience with me…
I was working on a 13″ laptop, so my screen didn’t show it all ?? After all it was an easy fix, Thanks!!
Hi,
Just updated to the latest version, problem still exists.I’ve just installed a previous version 1.4.5, so now it works again. I’m gonna set up a test-site to test where this problem comes from so that I can update again.
Forum: Fixing WordPress
In reply to: Order posts by Custom Fields valueTags are also already used for creating a result page ; ). So it has to be the custom fields. I’ve created a custom field Advertisements with the values big and small. Now I’m trying to implement them.
The query should looks like, also thats what I think:
$args = array( 'post_type' => 'product', 'meta_query' => array( array( 'key' => 'Advertisements', 'value' => 'big', 'compare' => '=', ), array( 'key' => 'Advertisements', 'value' => 'small', 'compare' => '=', ), ), ); $query = new WP_Query( $args );
As I track the loop in my theme, I think I should implement it in the next code, thing is, where to put it, this is the original file.
<?php global $avia_config, $post_loop_count; $post_loop_count= 1; $post_class = "post-entry-".avia_get_the_id(); // check if we got posts to display: if (have_posts()) : while (have_posts()) : the_post(); ?> <article class='post-entry post-entry-type-page <?php echo $post_class; ?>' <?php avia_markup_helper(array('context' => 'entry')); ?>> <div class="entry-content-wrapper clearfix"> <?php echo '<header class="entry-content-header">'; $thumb = get_the_post_thumbnail(get_the_ID(), $avia_config['size']); if($thumb) echo "<div class='page-thumb'>{$thumb}</div>"; echo '</header>'; //display the actual post content echo '<div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>'; the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>'); echo '</div>'; echo '<footer class="entry-footer">'; wp_link_pages(array('before' =>'<div class="pagination_split_post">', 'after' =>'</div>', 'pagelink' => '<span>%</span>' )); echo '</footer>'; do_action('ava_after_content', get_the_ID(), 'page'); ?> </div> </article><!--end post-entry--> <?php $post_loop_count++; endwhile; else: ?> <article class="entry"> <header class="entry-content-header"> <h1 class='post-title entry-title'><?php _e('Nothing Found', 'avia_framework'); ?></h1> </header> <?php get_template_part('includes/error404'); ?> <footer class="entry-footer"></footer> </article> <?php endif; ?>
Can anyone tell me where to put it and also check if the first part is okay?
Regards,
Erwin