- This topic has 5 replies, 4 voices, and was last updated 7 years, 1 month ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 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 Photo Seller › Photo seller – Delete dimensions in detail table
Hi,
how can I remove the dimensions tabs from the pricing table of a digital file. Normally it shows Digital: NameofSize (4000×2112). I Want to remove the dimensions in brackets.
Even better than just removing: Can I use megapixel informations instead?
I have another question:
Is it possible to write informations on the photo detail page? The photo is based left, the pricing table above. There is empty space on the right beside the image. There I would love to set an information box for clients.
Regards,
Lars
Hi,
We have the following 3 filters you can use choose from and use in your theme’s functions.php file to modify the strings:
1) Filter the digital resolution string portion of the variation name.
$res_string = apply_filters( ‘wpps_filter_digital_variation_res_string’, $res_string );
2) Filter the digital variation name and resolution string portion of the variation name.
$var_name_and_res_string = apply_filters( ‘wpps_filter_digital_variation_name_and_res_string’, $var_name_and_res_string );
3) Filter the whole digital variation name string.
$v_name = apply_filters( ‘wpps_filter_full_digital_variation_string’, $v_name, $v );
Hi, sorry I am quite slow at this stuff! From above –
“We have the following 3 filters you can use choose from and use in your theme’s functions.php file to modify the strings:”
How do you use functions.php?? Where is it?
cheers, Bruce
Go to the following interface in your wp admin:
Appearance -> Editor
Then select “functions.php” from the dropdown (top right hand corner). You can then add custom code to that file and save it.
Hi Bruce,
Tell me what you want to achieve and I can show you some example steps you can use.
Hi Peter,
it’s ok, I have done it now. Many thanks for following up.
cheers, Bruce