Hello sir,
I have fixed #1 to provide translated strings for those items.
I will add a filter to increase the word count for the book synopsis from the default of 75 words. I now trying to figure out how to not strip that markup for links in that text box.
For the 3rd item, which one of the shortcodes are you using for that feature?
For the last item, if you clear the 2 colour values, it will set both items to transparent and hide both the stars and star background.
I will be releasing a patch will will address these items for you.
I used the [rcno-reviews id= ] shortcode but also tried with the other 2 types, and seems they are not clickable neither. Not sure if i missing something to make them work as a link.
Thanks for the patch and help!
It is like that by design, it is for users who want to have reviews on their site but don’t want to have a separate slug for reviews on their site.
I will provide you with a param you could add to the shortcode.
@danielcsseo
The changes I would need to make an embedded review title link to the review is more far reaching than I had initially imagined. Give till tomorrow to come up and fully test another approach to this issue.
@danielcsseo
I have just pushed a v1.9.1 update which will add a new option to the Template tab on the settings page called ‘Embedded Review Links”. Enable it and the embedded reviews title will now link to the review.
For the issue with adding links to the book synopsis, you’ll have to add a filter function to your theme’s functions.php file. This will make so that whatever content is added to the synopsis area will be displayed on the frontend.
The filter code:
add_filter( 'rcno_book_description_strip_tags', function () {
return false;
}, 10 );
Wow, exactly what I needed (and felt embarrassed to ask after all your help)!
If you remember the first time I’ve wrote here, was to have more than 1 review per book.
Now with this, it seems I would be able to use the shortcode-links to be added to a book page.
Thanks Kemory! Here is how its working now:
1) The background color in the stars rating, is still grey, i have the 2 colors set to transparent and tried with the box enabled and disabled. I fixed this changing the background value on the default-style.css of the default template.
But this is going to be reverted everytime the plugin has an update. I tried adding my custom css on the settings but i don’t think i did it correctly since it didn’t work, i added:
.rcno-full-book-cover {
background: rgba(96, 125, 139, 0); }
2) Links on title are working as intended, thanks!
3) The filter to show the full content on the synopsis box work also as intended, but the content is fixed on a scroll box, any chance to make the scroll box disappear? And what difference makes changing the word count from 75 to higher instead of adding the functions filter? Before the update i tried changing the 75 on the code and it also works, but again it will be reverted at any update.
4) You mentioned you fixed the strings for translating the labels Published, Page Count, i couldn’t find this, and also i just noticed that i can change the Genre and Publisher labels but the Author remains the same.
5) I would like to help translating the plugin to spanish. I tried with Loco plugin, but is not loading the strings and its giving me a Partially configured bundle warning. Can’t figure out how to load the strings to start translating.
-
This reply was modified 8 years, 2 months ago by
danielcsseo.
If you are trying the hide the star in the default template then you can use:
.rcno-full-book-cover .stars {
display: none;
}
If you change only the word count that area will also strip out markup such as links. The filter just bypasses the word count and the stripping of HTML tags.
To remove the scroll bars from that area use:
.rcno-full-book-description {
overflow: unset;
}
The labels that are in the book details area of the default template should be translatable now and I have Loco installed and I am not getting any errors.
Also, I would appreciate the assistance with translate the plugin to Spanish.
Do i need to put those codes in the CSS box found in Recencio Template Settings? If thats the case, not sure what i did wrong because they didn’t work there. But if i put them directly on the CSS or in WordPress custom CSS they work.
Apparently LOCO is not loading the template to translate the strings, or is empty (rcno-reviews.pot)
If i create a new language it loads nothing, but i can open the English file and it loads everything. What i did was to duplicate those files (.PO and .MO) and change their names to a spanish language, then start translating them.
I will send them to you when finished.
Thanks a lot for your help.
Forgot to mention, i don’t know what im missing, but the label for author, publish date and page count, are still not translatable for me. At least not like the Genre and Publisher that i can type whatever i want in the taxonomies settings and they change, the author label appears here but doesn’t change. Not sure where you are telling me i can translate them.
I am going through with creating an en-US translation myself to get a better understanding of what I may be missing when it comes to translations.
@danielcsseo
Are you still having issues with the translations?