rdrit
Forum Replies Created
-
Forum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] some minor bugsHello,
Unfortunately I have not managed to solve the problem.
When I need to modify options I do it directly from the database.
RomainForum: Plugins
In reply to: [Rate My Post - Star Rating Plugin by FeedbackWP] some minor bugsHello,
Thank you your tip allowed me to solve the type error in PHP.
It was still impossible to save the options in the administration interface.
Do you have an idea ? I tried to disable memcached the problem remains the same.
Romain
Forum: Plugins
In reply to: [YUZO] Plugin Redirecting to Weird SitesHello,
Here is an alternative to put in function.php
function get_rdr_related_post($post_id){ $tags = wp_get_post_tags($post_id); if ($tags) { //$first_tag = $tags[0]->term_id; $tag_ids = array(); foreach($tags as $individual_tag){ $tag_ids[] = $individual_tag->term_id; } $args=array( 'tag__in' => $tag_ids, 'post__not_in' => array($post_id), 'posts_per_page' =>3, 'caller_get_posts' =>1, 'meta_key' => '_thumbnail_id', 'orderby' => 'rand', ); $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post(); ?> <div class="col"> <a href="<?php echo esc_url( get_permalink() ); ?>"> <?php the_post_thumbnail('medium', array('class' => 'rdrit-home-thumbnail-max200') ); ?> </a> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a> </div> <?php endwhile; } wp_reset_query(); } }Forum: Plugins
In reply to: [Table of Contents Plus] Toc not appearing –Hi everybody
I had the same problem, the [toc] tag was not working with default pages and posts, but working very well with CPTs.
After analyzing the code and options in the database I found the problem.
At first I used the plugin with the widget for an automatic summary view and I was not using the tag [notoc].
I then delete the widget from the site leaving the options set …
To solve the problem, you have to reset the TOC widget, set the options to empty, save and delete the widget.
Romain