I am starting to use this marvellous widget in my website. As I wanted to change the blog appearance, I wrote some lines of code in the single template so that if a post belongs to category ‘x’, it is split into two pieces, each of them showed in a different format. Indeed, what it does is to format the post as a textbook page, that is, a wide column with general information and a narrow margin column with figures and specific information. The code loads the post body in a string wich is then split using php explode function. Then css format is given to the outgoing array of strings.
The problem is the star row is located in the margin column instead. Any idea? Can I change the location of widget rows?
Thank you very much.
Have you tried to change the positioning of the ratings in the admin’s dashboard ratings settings?
Thank you very much for your answer, but changing settings from dashboard doesn’t work. If I choose top star row options, it doesn’t work becouse of the excerpt (I didn’t explain the code also splits and removes it when showing the post body). If I choose bottom, it doesn’t work becouse the end of the post is in the margin column, I mean, it works fine, but it doesn’t do what I want: show the star row at the end of wide the column (in the middle of the post body) )). Thank you anyway.
Is there any php command to show the star row in the choosen location? Thanks!
global $rwp; $rwp->rw_embed_rating((get_the_ID() + 1) . "0", $post->post_title, get_permalink($post->ID), $this->post_class, true), $content);
Not working. Perhaps I do not use it properly.
I wrote this code down after the piece of content which acts as post body.
The whole page stopped working.
Thank you for your interest Mr Feldman.
- The topic ‘Changing the star row place in a custom post’ is closed to new replies.