figure2
Forum Replies Created
-
Glad it worked. You now have most of your workflow figured out.
Where did you copy the URL from? Were you in the editing page when you copied the link? If so, that’s where the link will lead to. Be sure you first click the “View Page” or “View Post,” depending which you are editing. Once you are viewing the public page, you can safely copy the page link for use in your caption link.
A couple tips: keep the editing and public page open in 2 separate tabs so you can quickly switch back & forth between them. Have a text editing app like NotePad open to temporarily store links in case you accidentally copy other data and clear the link from your clipboard before you paste it into your caption link.
Hopefully your version of WordPress is current (version 3.6.1). If it is, access the image directly from the media library. This is how it’s configured.
Actually they can be linked but you will need to code it. Just add the following to either side of your caption:
<a href="http://www.your-destination-url.com">Your caption</a>
That’s what I did on this page. Scroll down to the gallery.Forum: Fixing WordPress
In reply to: Can't attach images to pages and postsI have since tested this in the Firefox, Safari and Chrome browsers. The problem is the same in each. Checking the error console with the attach image window open, I found 2 errors, both referencing WP core files, “admin-ajax.php” and “upload.php.” Are there any clues in the below code?
Timestamp: 9/28/13 4:09:38 PM Error: XML or text declaration not at start of entity Source File: http://stratford-vna.markhannondesign.com/wp-admin/admin-ajax.php Line: 2, Column: 1 Source Code: <?xml version='1.0' encoding='UTF-8' standalone='yes'?><wp_ajax><response action='find_posts_0'><object id='0' position='1'><response_data><![CDATA[<table class="widefat" cellspacing="0"><thead><tr><th class="found-radio"><br /></th><th>Title</th><th class="no-break">Type</th><th class="no-break">Date</th><th class="no-break">Status</th></tr></thead><tbody><tr class="found-posts"><td class="found-radio"><input type="radio" id="found-998" name="found_post_id" value="998"></td><td><label for="found-998">A Taste of Stratford</label></td><td class="no-break">Page</td><td class="no-break">2013/09/27</td><td class="no-break">Published </td></tr>Followed by:
0"><thead><tr><th class="found-radio"><br /></th><th>Title</th><tTimestamp: 9/28/13 4:09:38 PM Error: XML or text declaration not at start of entity Source File: http://stratford-vna.markhannondesign.com/wp-admin/upload.php?author=1 Line: 2, Column: 1 Source Code: <?xml version='1.0' encoding='UTF-8' standalone='yes'?><wp_ajax><response action='find_posts_0'><object id='0' position='1'><response_data><![CDATA[<table class="widefat" cellspacing="h class="no-break">Type</th><th class="no-break">Date</th><th class="no-break">Status</th></tr></thead><tbody><tr class="found-posts"><td class="found-radio"><input type="radio" id="found-998" name="found_post_id" value="998"></td><td><label for="found-998">A Taste of Stratford</label></td><td class="no-break">Page</td><td class="no-break">2013/09/27</td><td class="no-break">Published </td></tr>Being that I am on a Mac, I can’t help you with either of those. Perhaps you can google a youtube tutorial. That’s how I learned MAMP.
First of all, I always perform my tests in MAMP locally on my computer. That way no one can ever find it in a search but it’s a working site where you can perform all your tests.
WordPress explains their galleries here. Hope that helps.
There used to be a way to do what you originally described using the Nextgen Custom Fields plugin along with Nextgen. Though this method also involved hacking some of NextGen’s core plugin files so you had to be relatively comfortable playing around with the code. Recently the developer who came up with this hack concluded that her hack would no longer work post v2.0. So to answer your question, sometimes this forum is about figuring out workarounds for what Nextgen can no longer do.
The other possibility is to install a lightbox plugin for your gallery like http://ww.wp.xz.cn/plugins/wp-jquery-lightbox/faq/. This will open the large image above your gallery and display the alt or caption info.
You may be better off working with the WordPress native galleries with the WP Gallery Custom Links plugin installed. This way you can link each thumbnail to a page or post with additional info on any of the insects featured. You can also add captions.
I would recommend switching over to WordPress’ native galleries. You will need to install the plugin WP Gallery Custom Links to allow you to link to any URL you want from inside the gallery.
There was a method to do what you wanted using the Nextgen Custom Fields plugin but the author of the tutorial said she didn’t think it would work under Nextgen 2.X
Forum: Plugins
In reply to: [WP Gallery Custom Links] Possible conflict with gallery sort orderAs it turns out, the problem was in the functions file. I had replaced the Starkers script enqueuer with a different version. Once I reset the enqueuer back to the Starkers default, I installed the plugin “Use google Libraries.” Now when I edit the gallery, the sort order displays the way I left it from the last edit.
Thought you would like to know.
Forum: Fixing WordPress
In reply to: List categories as text in a headline, with commas@alphaalec: Your method worked. Thanks.
For anyone who is interested, this is my final code using the CSS above:
<h4> <?php $taxterms = get_the_terms($post->ID, 'portfolio_category' ); $taxcount = count($taxterms); if($taxcount == 1){ if ($taxterms) foreach ($taxterms as $taxterm){ echo $taxterm->name; } }else if($taxcount > 1){ if ($taxterms) foreach ($taxterms as $taxterm){ echo '<span>' . $taxterm->name . '</span>'; } } ?> </h4>Forum: Fixing WordPress
In reply to: List categories as text in a headline, with commasThanks. I’ll give it a shot.