-
AuthorPosts
-
October 1, 2013 at 2:47 pm #3032
Looks good (as do the river pictures). I like the way you have got it centred under images
http://kerioakimaging.com - trying to reopen
http://nail-art-at.kerioak.com - Art and Nail ArtOctober 1, 2013 at 9:28 pm #3033I don’t mind at all. I’ll take what you have and modify it slightly I think. I don’t want the color in there as I think CleanTheme should control that. Right now I’m having some sort of weird problem in that I have an updated content-image.php on my site but I’m still seeing the old look (vertical bars, left aligned).
I have cleared the browser cache, so it’s not that, and I can’t imagine where that old code is coming from… not your problem however 🙂
October 6, 2013 at 9:07 am #3034At the moment I have the “Exclusive” box on every image page and would very much like the exclusive to be noted under the image along with number and release status.
Could anyone do this for me please? I found the following code in symbiostock/inc/classes/cart/cart.php and have been playing with it with no success – I am not even sure if it is the correct code to start off with . Ideally I would like to add the wording
“Only Available Here” below the image number and model release statusproduct_info[0] == ‘exclusive’): ?>
Available only from
http://kerioakimaging.com - trying to reopen
http://nail-art-at.kerioak.com - Art and Nail ArtOctober 6, 2013 at 1:44 pm #3035I don’t know, what changes have you made already in content-image.php to get image number and releases, but you can add something like below.
Before (untouched content-image.php from line 45):
<?php
$symbiostock_post_meta = 'ss_after_img_page_preview';
do_action( 'ss_after_img_page_preview', $symbiostock_post_meta );
?>
After:
<?php
$symbiostock_post_meta = 'ss_after_img_page_preview';
do_action( 'ss_after_img_page_preview', $symbiostock_post_meta );
if($symbiostock_post_meta[0] == 'exclusive')
echo 'Only Available Here';
?>
In code listed above it could be
Image No. ? Model Released: ? Property Released: <?php echo $property_released;
if($symbiostock_post_meta[0] == 'exclusive')
echo '
Only Available Here'; ?>
October 6, 2013 at 1:58 pm #3036I did mention this some weeks ago for Leo in Remaining Symbiostock Cleanup & Suggestions so perhaps the possibilty of showing the release information will be part of one of the updates.
October 6, 2013 at 2:25 pm #3037Thank you AJT – that works a treat. I kept losing the payment area
Example: http://kerioakimaging.com/image/cat-and-sunflowers/
(I was photographing sunflowers and a little helper appeared – well someone might like it 🙂 )Edit: PLUS – I think I have managed to edit the cart.php with breaking it, fingers crossed.
http://kerioakimaging.com - trying to reopen
http://nail-art-at.kerioak.com - Art and Nail ArtNovember 1, 2013 at 6:40 pm #3038This is an old thread, but for completeness, I thought I’d update this with my current code, which includes removing the big image number at the top of the right column in a standard 2.9.x/Dragonfly version of the site.
content-image.php (included one line prior to my changes to locate where to start)
<a id="stock-image-preview" title="" rel="enclosure" type="image/jpeg" href=""> <img itemprop="contentURL image" class="photo img-responsive" alt="" src=""/>
<?php //code "borrowed" from symbiostock_marketer() in marketer_functions.php
// model release
$id = get_the_ID();
$model_released = get_post_meta( $id, 'symbiostock_model_released', 'N/A' );
if ( empty( $model_released ) || $model_released == false ) {
$model_released[ 0 ] = 'N/A';
} //empty( $model_released ) || $model_released == false
//property release
$property_released = get_post_meta( $id, 'symbiostock_property_released', 'N/A' );
if ( empty( $property_released ) || $property_released == false ) {
$property_released[ 0 ] = 'N/A';
} //empty( $property_released ) || $property_released == false
?>
Image No. ? Model Released: ? Property Released:
and a little later, to remove the big image number:
<!--
Image #
-->
November 2, 2013 at 9:27 am #3039That’s awesome … thanks everybody for sharing this!
This is what it looks like on my site:
November 2, 2013 at 9:47 am #3040Thank you Jo Ann, that was exactly what I had been looking for and not yet found.
For some reason in my version it is
?>
and not
How the edits look on my site
http://kerioakimaging.com/image/two-small-pumpkins-on-autumn-leaves/now back to editing more images 🙂
http://kerioakimaging.com - trying to reopen
http://nail-art-at.kerioak.com - Art and Nail ArtNovember 2, 2013 at 4:20 pm #3041I can’t explain that difference – I checked the copy of the file I grabbed from the live site (which I keep so I can check on changes between versions) and that says panel panel-default (I was worried I had an old file).
BTW I love those pumpkins – and especially the background you chose of orange and yellow flowers (marigolds?) that really give such a great feel to the shot
November 2, 2013 at 4:25 pm #3042Thanks Jo Ann, yes they were marigolds, the sun was obliging nicely for me that day
http://kerioakimaging.com - trying to reopen
http://nail-art-at.kerioak.com - Art and Nail Art -
AuthorPosts
You must be logged in to reply to this topic.