Forum Replies Created
-
Author
-
allspyParticipant
Hi,
Thank you, I found the code on the child-theme and chamge ‘rand’ to ‘date’.
It’s working now.
Thanks for your help.
Regards
allspyParticipantHi,
Can you please confirm if you added the code to my child the,e or to the main theme?
Thanks
allspyParticipantHi,
The code is exactly has you show.
The original on my file:
COPY CODEif (!empty($categories)) { foreach( $categories as $tax ) { $terms = wp_get_object_terms($post->ID, $tax, array('fields' => 'ids')); $args['tax_query'][] = array( 'taxonomy' => $tax, 'field' => 'id', 'terms' => $terms ); } } }
How it satys after the update:
COPY CODEif (!empty($categories)) { foreach( $categories as $tax ) { $terms = wp_get_object_terms($post->ID, $tax, array('fields' => 'ids')); $args['tax_query'][] = array( 'taxonomy' => $tax, 'field' => 'id', 'terms' => $terms, 'orderby' => 'date' ); } } }
Do you see anything wrong?
Thanks
allspyParticipantHi,
This error is now visible where the related posts where present:
Parse error: syntax error, unexpected ”orderby” (T_CONSTANT_ENCAPSED_STRING), expecting ‘)’ in /home/sitedemo/public_html/wp-content/themes/kleo-child/page-parts/posts-related.php on line 44
Thanks
allspyParticipantCOPY CODE<div class="form-inline"> <input type="text" id="mc4wp_email" class="input-lg" name="NAME" placeholder="Your name" required /> <input type="email" id="mc4wp_email" class="input-lg" name="EMAIL" placeholder="Your email address" required /> <a>SUBSCRIBE</a> </div>
allspyParticipantHi Radu,
Thank you. It worked.
I also need to change the “subscribe” button color, can you help me?
Thanks
allspyParticipantHi Radu,
Thanks for the reply.
For now the site is not online, it is currently installed on my PC.
I’ve sent you the mailchimp form code I was using, and a print screen of how it look like on the front.
Can you help me with those data?
Thanks
July 15, 2015 at 10:07 in reply to: compatibility issues with KLEO, "K ELEMENTS" plugin and Visual Composer #68372allspyParticipantHi Laura,
The first thing that come to my mind, was the VC version. As Kleo didn’t had the last VC version, I’ve bought a license and I now have the Version 4.6.1 installed. But the problem persists, with KLEO and K ELEMENTS activated the “Row Settings” only shows the “General” tab. The “Design Options” tab doesn’t appear.
With a native WP theme, VC works fine.
Please let me know if you wish the admin backoffice access.
Thanks in advanced.
Regards
-
AuthorPosts