• Resolved Harm10

    (@harm10)


    I am still on “old” version 2.0.5 and comparing behavior with the latest version.
    On detail review display I get a Read more button when there is no review link going with that review. The link behind the button is the link to the page you are on.
    I assume this is not intentional?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Are you saying the button is showing when it shouldn’t in the new version of the plugin or the old version? In the latest release of the plugin, the read more button definitely does not show unless you put something in the Review Link field.

    Plugin Support jaysupport

    (@jaysupport)

    And, if you’re talking about the single post page, it would be your theme that controls the look and layout. Because the reviews are just a custom post type, the single post page for review posts would, by default, make use of your theme’s single.php template file. If you’d like to modify the single post page for reviews, we’d suggest duplicating your single.php file and creating one specifically for our post type, as discussed here: https://codex.www.ads-software.com/Post_Type_Templates. Our post type is called “grfwp-review”, so you’d want to call your template file “single-grfwp-review.php”.

    Thread Starter Harm10

    (@harm10)

    The problem I report here is on the new version which is only on my test site. The old version is on the live site. The content of the review is the same. The old version (2.0.5) only shows this link when there is something in the Review Link field but in the new version it always shows even when there is nothing in the Review link field.
    The theme is the same on both sites so I doubt that is the problem. If I revert the plug-in on the test site the behavior becomes normal again.
    I haven’t customized this display and I am using the normal url structure (https://myurl/review/creator_of_review/)

    Plugin Support jaysupport

    (@jaysupport)

    Still, is this on the main reviews page (the page you put the shortcode or block on), or is it on the single post page? I have not been able to find any issue with the main page. The read more button functions perfectly there in the current version of the plugin.

    Thread Starter Harm10

    (@harm10)

    It is on the single post page (I thought the url would give that away). So I follow the read more link that is displayed on the page where the short code is on.
    In essence this is the full review.
    Can I check the database whether the link field is really “empty”?

    Plugin Support jaysupport

    (@jaysupport)

    I can’t recreate what you’re saying. Even on the single post page, it still doesn’t show the read more button unless I fill something in for the Review Link field.

    I’ve asked for this plugin to be temporarily set up on the site for our menu demo. You can view the single post page for a review that has something entered in the Review Link field here: https://www.fivestarplugins.com/five-star-restaurant-menu-demo/review/maurice-richard/. The read more button correctly shows. And you can view the single post page for a review that has nothing entered in the Review Link field here: https://www.fivestarplugins.com/five-star-restaurant-menu-demo/review/jane-eyre/. The read more button correctly does not show.

    Thread Starter Harm10

    (@harm10)

    So I did some experimenting like I suggested in the other report. Switching things off and on in the filter function code I found that this problem is due to my coding.
    I had added something in there to make sure the excerpt option is “On”. This had the side effect that is also was on on the detail page resulting obviously in the Read more link.
    So sorry about this!
    The Read more button is displayed correctly on the detail page.

    I will close this report.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Read more on detail when there is no review link?’ is closed to new replies.