Include GDSTAR in Arrastheme !!HELP!!
-
Cheers folks,
on my website https://www.maastown.nl i want to implement the gdstarrating for each post in my theme. To me more precise: I want to put it in the “Node-based” view of the post (under 01 LOCATIONS and 02 UPDATES) so that everyone can see in the thumbnail right away the rating of each post.
As written on https://info.dev4press.com/gd-star-rating/functions.html the function seems to be
wp_gdsr_rating_article ( $ post_id = 0 )
something like that
and the place where i have to include the php-function is a php function itself in arrastheme’s filters.php$postheader .= '</a>'; $postheader .= '<span class="entry-meta"><a href="' . get_permalink() . '"><span class="entry-comments">' . get_comments_number() . '</span></a>'; $postheader .= ' <!-- <abbr class="published" title="' . get_the_time('c') . '">' . get_the_time( get_option('date_format') ) . '</abbr> --> </span></div>'; $postheader .= '<h3 class="entry-title"><a href="' . get_permalink() . '" rel="bookmark">' . get_the_title() . '</a></h3>'; echo apply_filters('arras_newsheader', $postheader); }
Where i put the <!– blabla –> the code must be replaced since there once have been the posting dates once.
Please tell me how to change the code correctly! I really don’t know much about php and this would really push my website forward!
- The topic ‘Include GDSTAR in Arrastheme !!HELP!!’ is closed to new replies.