Forum Replies Created
-
Author
-
allspy
ParticipantHi,
Thank you, I found the code on the child-theme and chamge ‘rand’ to ‘date’.
It’s working now.
Thanks for your help.
Regards
allspy
ParticipantHi,
Can you please confirm if you added the code to my child the,e or to the main theme?
Thanks
allspy
ParticipantHi,
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
allspy
ParticipantHi,
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
allspy
ParticipantCOPY 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>
allspy
ParticipantHi Radu,
Thank you. It worked.
I also need to change the “subscribe” button color, can you help me?
Thanks
allspy
ParticipantHi 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 #68372allspy
ParticipantHi 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