Viewing 13 replies - 1 through 13 (of 13 total)
  • Same issue. Would like to remove “on [Business Name]”

    Cheers’

    Thread Starter Scallop

    (@scallop)

    Unfortunately it seems we won’t be getting an answer to this, bud.

    shame as i need the answer to this instead of

    Blank Business Name

    I have been looking for a solution to this. I will update here if I find anything.

    i sorted it

    on the page you want your reviews to appear

    scrool down to the reviews settings and put in a company name

    hope that helps

    optional solution:

    First remove Business Name from line on main review page settings.

    Then go to plug-in editor and remove “Blank Business Name”… leaving only the “” empty.

    the “on” is still there… But im still strying to figure out where to remove that.

    } else if ($format === 'product') {
    				$review['is_product'] = true;
    				$review['item_name'] = $this->get_meta_or_default($parentData, $this->prefix.'_product_name', "Blank Product Name");****** <-HERE *******
    			}
    			$review['postLink'] = get_permalink($postid);
    			$review['on_same_page'] = ($opts->on_postid == $postid);
    
    			if ($opts->snippet > 0) {
    				$review['content'] = $this->trim_text_to_word($review, $opts);

    It’s not a complete solution.. but a step in the right direction.

    example: https://www.southwellco.com/customer-reviews/

    cheers’

    Ta for that Buddy

    @zowieguy or anyone else with the same issue, were you able to figure out how to remove the word “on”? I also want to get rid of that, but when I edit the plugin I can’t get it to go away.

    -I still have not found a solution to remove the “on” part yet. Sorry.

    @zowieguy I was actually able to find the solution. The word “on” has to be removed from the template first, then the plugin has to be Deactivated and then Activated again, since the templates get cached to the database when the plugin is activated and that’s used instead of the HTML templates when displaying reviews on a page.

    Fantastic… Can you show what line the “on” to remove is? I’ve looked but I do not see where it is.

    It’s on line 25 of wp-customer-reviews/include/templates/frontend_review_item_reviews.html

    Thank you! That worked perfectly. Well done. cheers’

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Remove Business Name’ is closed to new replies.