$10
Tanzaku theme - How to use Shadowbox directly from the front page
What I would like to do is be able to click on one of the images in the grid on the front page so that shaddow box opens and shows the image gallery in that post? Currently when you click the image it opens the post to a new page.
This was mentioned in another post on the wordpress forum here -
http://wordpress.org/support/topic/373637?replies=6
It looks like he solved the problem, but Im having trouble understanding what he did exactly + my coding is not that skilled! = )
If anyone can make sence of this for me I would really appreciate it!
this is the link to my blog - http://www.blog.davidsidhom.com
Cheers
Dave
davidsidhom | 07/02/10 at 4:45pm
| Edit
(1) Possible Answers Submitted...
Note: davidsidhom felt their question was unanswered, so we granted them a refund.
Note: davidsidhom requested a refund. They offered no explanation.
-

Last edited:
07/02/10
5:28pmB L says:So after changing line 22 of functions.php, did you then find the line that reads:
$grid_img = '<a href="'. get_permalink() .'" title="' . $title_attr . '">' . $grid_img . '</a>';
and replace it with
$grid_img = '<a href="'. $captured_url .'" title="' . $title_attr . '">' . $grid_img . '</a>';
?
Can you drop your functions.php file in here so we can take a look at it? cheers.
- 07/02/10 6:19pm
davidsidhom says:yeah i tried but it seems to just reload the page now when i click the image
- 07/02/10 6:23pm
davidsidhom says: - 07/02/10 6:23pm
davidsidhom says:sorry - link attached to functions.php
http://senduit.com/d71e8a - 07/03/10 7:55am
davidsidhom says:I have found the fix for this. its really simple just change the grid image link setting to false. see below.
// [grid image link setting]
$flg_img_forcelink = false;
its also mention on the themes website (translated from japanise): - 07/03/10 8:33am
davidsidhom says:Still have not fully solved this as it just shows the images on the front page, and not in images in that post!
any help still appriciated!
cheers
- 07/02/10 6:19pm
This question has expired.
Current status of this question: Refunded





