Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Add Additional Content To Photo Details Page
Tagged: description, Photo Details
- This topic has 10 replies, 5 voices, and was last updated 7 years, 3 months ago by visual1bc.
-
AuthorPosts
-
July 4, 2017 at 1:07 pm #14360ianbarberMember
On the Photo Details Page where it shows the photo and buying options, is is possible to add additional text associated with that photo like…
This Photograph will be printed on Epson Velvet fine Art paper
July 5, 2017 at 12:30 am #75967adminKeymasterEdit an image from the gallery and then you can put extra details in the “Description” field. Anything you put in the description field will be shown in the photo details page.
August 2, 2017 at 1:50 am #75968visual1bcMemberThat required editing every image in the gallery. I would rather edit the intro text once. Since I’m not setting photos but prints, I don’t the intro to use the word photos.
“To buy this photo choose from the options below:”
“Choose printing options from the list below:”
August 2, 2017 at 1:56 am #75969visual1bcMemberAnd is there a way to hide the “File Name” on the details page? Mine are not consumer friendly.
August 3, 2017 at 5:10 am #75970PeterMemberYes we have a filter you can use to change the wording of:
“To buy this photo choose from the selections below”
Simply use the appropriate filter in your theme’s functions.php file.
Here’s an example:
add_filter( 'wpps_filter_pricing_table_heading', 'change_pricing_table_heading', 10, 1 );
function change_pricing_table_heading( $pricing_heading ) {
$pricing_heading = 'Choose printing options from the list below:';
return $pricing_heading;
}Regarding the photo name on the details page – you could use some simple CSS code to hide it.
Eg:
.wps-digital-details h2{
display: none;
}August 4, 2017 at 7:09 pm #75971visual1bcMemberThanks a bunch for the reply. I successfully changed the price heading text.
However, I’m not sure where to insert:
.wps-digital-details h2{
display: none;
}
I tried adding it to the Customizing Additional CSS but that didn’t seem to work.
August 5, 2017 at 12:15 am #75972PeterMemberYou can use any custom CSS plugin. Eg
http://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413
August 5, 2017 at 6:26 pm #75973visual1bcMemberThanks Peter.
I downloaded and activated the plugin you suggested
Pasted:
.wps-digital-details h2{
display: none;
}
Saved
The file names are still showing up. [http://www.pjkirk.com/print_details/4/1000/Moon-Over-the-Santa-Cruz-Wharf-2017/view/]
August 5, 2017 at 7:09 pm #75974wzpModeratorI think you are editing the wrong CSS class. Viewing the page source reveals:
<div class="wps-photo-description-text">
Oil on Canvas, 24x36"<p>moon-sc-wharf_1200</p> </div>August 5, 2017 at 11:16 pm #75975PeterMemberOK I know what you mean now.
You can also insert the following code too:
.wps-photo-description-text{
display: none;
}If you want the h2 heading description displayed, you can delete the first bit of code I sent you.
August 6, 2017 at 11:40 pm #75976visual1bcMemberThanks you both.
Retaining the header is good. I guess the file name must be part of the description. I was only wanting to hide the file name. But hiding both is preferable to showing the file name.
-
AuthorPosts
- You must be logged in to reply to this topic.