contacts

Get All 146 Premium WordPress Themes for Just $59.99
One-Time Payment: Unlimited Use Across Unlimited Domains, Plus Free Lifetime Updates! Learn more

TishBloodDonation: Change Project Links in Block to a Custom Link

TishBloodDonation: Change Project Links in Block to a Custom Link

If you use the TishBloodDonation you might need to change the link in Projects Block to custom URLs instead of single project pages (the default behavior). Here is how it can be done:

1.First of all, when edit your Projects, make sure there is Project links entered to each of the projects i.e:

2. Navigate to Admin Panel > Left Menu > Appearance > Theme File Editor

3. Open file tishblooddonation/inc/blocks.php for edit

4. On line 727, replace:

$result .= '<a href="' . get_permalink() . '" class="link-details"><i class="fa fa-link"></i></a>';

with

$result .= '<a href="' . get_post_custom_values('projLink')[0] . '" class="link-details"><i class="fa fa-link"></i></a>';

and save changes.