- This topic has 3 replies, 2 voices, and was last updated 4 years, 12 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Addon Related › Adjusting length of description text shown for Fancy Style 13 (or any of them)
I like how Fancy Style 13 lays out all of my products – richardherd.com/store – but I would like the full description to show for each one of them. Right now the long descriptions get cut off and I don’t need or want to make an individual product page for each item.
How would I tweak a style to allow it to expand for the full length of any given product description?
It will require PHP code changes. If you understand PHP code, then I can tell you where to look and make changes.
Please read the following post:
I have some basic PHP knowledge, so I would give it a try – where would I go and would I have any issues when the plugin gets updated?
The best way to do the modification is to use a filter to override the output. So you can customize the output from a separate plugin. But that does required you to have some WordPress plugin development knowledge.
In this case, the style comes from the extra shortcodes addon. So you can go ahead and modify that addon. Updating the core WP eStore plugin won’t interfere with that.
In the extra shortcodes plugin, look at the following file:
shortcode_include.php
The function that outputs the fancy 13 is the following (so you would modify code inside that function):
show_wp_eStore_fancy13()