Connect with us

Plugins

Gallery Plus

Published

on

You may notice on some of our posts a gallery of images. We are using the built in WordPress up-loader, and when there are a few images we use the gallery insert button. But we are fans of jQuery and are using Thickbox.

As you know the basic gallery insert with attach the gallery images and link them to an image attachment page. Instead we installed the Gallery Plus plugin by Justin Hawkwood.

This plugin alone will add the ability under the Settings — options to add a “title” attribute in the <a> link and a rel attribute of “lightbox”.

Now I do have some site’s with lightbox installed, and I am a fan of the script, but I didn’t want to use the Scriptaculous script. And I do know that there is a Lightbox script based on jQuery.

Anyway… since I am using the Thickbox script on this site, the plugin needed a little tweaking:

There are two files contained in the download: gallery-plus.php & options.php, both with need to be edited. Lets start with the options.php:

Find.

update_option('gallery_plus_overlay', $_POST['gallery_plus_overlay']);

Add the 2nd line below, like this.

update_option('gallery_plus_overlay', $_POST['gallery_plus_overlay']);
update_option('gallery_plus_overlay2', $_POST['gallery_plus_overlay2']);

Next Find.

$gallery_plus_overlay = stripslashes(get_option('gallery_plus_overlay'));

Add the 2nd line below, like this.

$gallery_plus_overlay = stripslashes(get_option('gallery_plus_overlay'));
$gallery_plus_overlay2 = stripslashes(get_option('gallery_plus_overlay2'));

This is where it gets tricky. Find these next lines.

<tr valign="baseline">
<th scope="row"><?php _e('"rel" value in &lt;a&gt; tag:') ?></th>
<td><select name="gallery_plus_overlay">
<option value="none"<?php if ($gallery_plus_overlay == 'none') echo ' selected="selected"'; ?>>none</option>
<option value="lightbox"<?php if ($gallery_plus_overlay == 'lightbox') echo ' selected="selected"'; ?>>lightbox</option>
</select> Specify which, if any, javscript image overlay package to use. THIS PLUGIN DOES NOT INSTALL ANY OVERLAY PACKAGES.<br /><em>Note: Only applies when <strong>Link type</strong> is set to "image".</em>
</td></tr>

And Add these lines above.

<tr valign="baseline">
<th scope="row"><?php _e('Insert "class=..." Attribute In Link:') ?></th>
<td><select name="gallery_plus_overlay2">
<option value="none"<?php if ($gallery_plus_overlay2 == 'none') echo ' selected="selected"'; ?>>NONE</option>
<option value="thickbox"<?php if ($gallery_plus_overlay2 == 'thickbox') echo ' selected="selected"'; ?>>thickbox</option>
</select> <em>Note: Only applies when <strong>Link Images To Full Resolution</strong> is on.</em>
</td></tr>

It should look like this:

<tr valign="baseline">
<th scope="row"><?php _e('Insert "class=..." Attribute In Link:') ?></th>
<td><select name="gallery_plus_overlay2">
<option value="none"<?php if ($gallery_plus_overlay2 == 'none') echo ' selected="selected"'; ?>>NONE</option>
<option value="thickbox"<?php if ($gallery_plus_overlay2 == 'thickbox') echo ' selected="selected"'; ?>>thickbox</option>
</select> <em>Note: Only applies when <strong>Link Images To Full Resolution</strong> is on.</em>
</td></tr>


<tr valign="baseline">
<th scope="row"><?php _e('"rel" value in &lt;a&gt; tag:') ?></th>
<td><select name="gallery_plus_overlay">
<option value="none"<?php if ($gallery_plus_overlay == 'none') echo ' selected="selected"'; ?>>none</option>
<option value="lightbox"<?php if ($gallery_plus_overlay == 'lightbox') echo ' selected="selected"'; ?>>lightbox</option>
</select> Specify which, if any, javscript image overlay package to use. THIS PLUGIN DOES NOT INSTALL ANY OVERLAY PACKAGES.<br /><em>Note: Only applies when <strong>Link type</strong> is set to "image".</em>
</td></tr>

Now lets edit the gallery-plus.php file:

Find.

'overlay' => get_option('gallery_plus_overlay'),

Add the 2nd line below, like this.

'overlay' => get_option('gallery_plus_overlay'),
'overlay2' => get_option('gallery_plus_overlay2'),

Next Find.

<a href=\"$full_image_href[0]\"" . (($overlay != 'none') ? ' class="' . $overlay . '"' : '') . ($atagtitle ? " title=\"".trim(htmlspecialchars($attachment->post_title, ENT_QUOTES ))."\"" : '') . "><img src=\"$thumbnail_link[0]\" title=\"".trim(htmlspecialchars($attachment->post_title, ENT_QUOTES ))."\" alt=\"".trim(htmlspecialchars($attachment->post_excerpt, ENT_QUOTES))."\" width=\"$thumbnail_link[1]\" height=\"$thumbnail_link[2]\" class=\"attachment-thumbnail\" /></a></{$icontag}>";

And change the $overlay to $overlay2, like this.

<a href=\"$full_image_href[0]\"" . (($overlay2 != 'none') ? ' class="' . $overlay2 . '"' : '') . ($atagtitle ? " title=\"".trim(htmlspecialchars($attachment->post_title, ENT_QUOTES ))."\"" : '') . "><img src=\"$thumbnail_link[0]\" title=\"".trim(htmlspecialchars($attachment->post_title, ENT_QUOTES ))."\" alt=\"".trim(htmlspecialchars($attachment->post_excerpt, ENT_QUOTES))."\" width=\"$thumbnail_link[1]\" height=\"$thumbnail_link[2]\" class=\"attachment-thumbnail\" /></a>
</{$icontag}>";

note: I know that this is really just riding the plugin of the lightbox script and telling it to use the thickbox only script, but till it’s added in, this is the way I went about it.

Thanks

Continue Reading
Click to comment

You must be logged in to post a comment Login

Leave a Reply

Plugins

Add the twittar plugin for WordPress w/ comment threading

Published

on

I talked about the Twittar plugin in a previous post. But learned that the read me text file was only useful for installing the necessary php code into WordPress themes that don’t have comment threading enabled.

Since most new themes past version 2.7, pull the comments section from functions.php file, that is where you have to edit the avatars in order to show the twittar settings.

First open you functions.php, and look for a line of code that says:

function custom_comment()

This is where your new comments are pulled from when you have the threaded comments enabled.

Now just find <?php echo get_avatar( $comment, $args['avatar_size'] ); ?> & replace with <?php twittar(70, "", "", "avatar avatar-70 photo", 1, "R"); ?>. Keep in mind that you will need to edit the Twittar setting to fit your site.

Continue Reading

Artificial Intelligence

Leveraging AI for SEO in 2024: Strategies and Top Tools

Artificial Intelligence (AI) has revolutionized Search Engine Optimization (SEO), providing bloggers and business owners with efficient tools to enhance their website’s visibility. AI-powered tools can generate effective meta-descriptions, identify relevant keywords, analyze competition, and much more.

One of the primary ways to use AI for SEO is to brainstorm keywords. AI tools can suggest relevant keywords based on your content summary, helping you target the right audience and improve page rankings. For instance, asking ChatGPT for a list of keywords on “best food markets in Europe” can yield valuable insights.

AI can also generate meta titles and descriptions, significantly reducing the time spent optimizing content. Tools like Rank Math can generate SEO meta titles and descriptions based on your primary keywords and topic, often allowing customization to align the generated content with your brand or style.

Advanced AI tools can take competition analysis to the next level. Tools like WriterZen can display a list of domains ranking for your target keyword, revealing their metadata, links ratio, common keywords, and more, enabling you to strategize effectively to outrank them.

In addition, AI can help you explore linking opportunities, a crucial aspect of SEO. AI tools can suggest relevant pages for internal linking or third-party site links, helping maintain a coherent internal linking structure and enhance your website’s authority.

Moreover, AI tools can optimize existing content, identifying areas for improvement such as missing keywords, meta descriptions, and content structure. They can also recommend ideal word counts, headings, images, and links based on topic and competition analysis.

Some of the top AI tools for SEO in 2024 include Rank Math, Surfer SEO, Outranking, and WriterZen. These tools offer advanced features like meta title and description generation, keyword suggestions, topic research, and competitor analysis, helping you craft high-quality, SEO-optimized content that ranks well in search engine results.

As AI continues to evolve, its role in SEO is expected to grow even more prominent. By leveraging these powerful tools, you can significantly improve your website’s performance in search engine rankings and drive more organic traffic to your site.

Published

on

By

SEO

The integration of Artificial Intelligence (AI) into Search Engine Optimization (SEO) has transformed how bloggers and business owners optimize their websites. As AI technologies like ChatGPT continue to evolve, understanding how to harness these tools for SEO becomes increasingly valuable. This article delves into practical ways to use AI for SEO and highlights some of the top tools in the market.

The Evolution of AI in SEO

AI tools, renowned for their ability to generate content, are now pivotal in SEO strategies. They assist in creating effective meta-descriptions, identifying relevant keywords, analyzing competition, and much more. Let’s explore the diverse ways you can use AI for your site’s SEO.

Brainstorming Keywords with AI

Keywords are crucial for driving traffic and improving page rankings. AI tools can simplify the process of keyword identification, offering suggestions based on your content summary. For example, asking ChatGPT for a list of keywords on “best food markets in Europe” can yield valuable insights.

AI-powered SEO tools like Rank Math’s Content AI can integrate these keyword suggestions directly into your dashboard. However, it’s advisable to validate these keywords through tools like Google’s Keyword Planner for search volume and competition.

Generating Meta Titles and Descriptions

AI can significantly reduce the time spent optimizing content. Tools like Rank Math can generate SEO meta titles and descriptions based on your primary keywords and topic. These tools often allow customization to align the generated content with your brand or style.

Advanced Competition Analysis

AI takes competition analysis to the next level. Tools like WriterZen can display a list of domains ranking for your target keyword. Rank Math, for instance, can reveal a competitor’s metadata, links ratio, common keywords, and more, enabling you to strategize effectively to outrank them.

Exploring Linking Opportunities

A robust linking strategy is vital for SEO. AI tools can suggest relevant pages for internal linking or third-party site links. This feature is particularly useful for large blogs, helping maintain a coherent internal linking structure.

Optimizing Existing Content

AI tools can audit your content, identifying areas for improvement such as missing keywords, meta descriptions, and content structure. They can also recommend ideal word counts, headings, images, and links based on topic and competition analysis.

Top AI Tools for SEO in 2024

Let’s look at some of the top AI tools that can enhance your SEO strategy:

  1. Rank Math: This popular SEO plugin now includes AI tools like a meta title and description generator, a topic research tool, and a content editor. Its Content AI tool, integrated into the Block Editor, suggests related keywords, FAQ sections, and links based on your primary keyword.
  2. Surfer SEO: Surfer SEO offers an AI writing assistant as part of its all-in-one content optimization solution. It guides you through creating optimized posts with keyword suggestions, headings, link counts, and more.
  3. Outranking: Outranking’s AI-assisted writing tool helps create SEO-friendly content fitting your brand’s voice and style. It also offers outline optimization based on user intent and competitor analysis to help you outrank them.
  4. WriterZen: WriterZen generates content briefs based on your main keyword or topic, providing structure and optimization suggestions. It includes competitor analysis features for insights into top-ranking keywords, backlinks, and performance.

More Plugins here

OPTIN Monster

Conclusion

AI for SEO is a game-changer, offering efficient ways to generate meta titles and descriptions, brainstorm keywords, and optimize content. Tools like Rank Math, Surfer SEO, Outranking, and WriterZen provide advanced capabilities to enhance your SEO efforts. As AI continues to evolve, leveraging these tools can significantly improve your website’s performance in search engine rankings.

Continue Reading

Plugins

Absolute Privacy: The Plugin that get’s it done

Published

on

Hey everyone, I just wanted to write a little about a new plugin I came across today. It’s called Absolute Privacy.

This plugin can easily help your site filter out spammer subscribers, as well as help aid a more personal or family(private) oriented blog.

John Kolbert, the creator of this plugin has a nice video of how you might implement this plugin into your site, as well as how it works. For more info, head over to the download page!

Continue Reading

Random Search Terms

Title

Recent Posts: Fully Net Worth . com

Polo G Net Worth: 5 Interesting Facts About The Rapper

Polo G Net Worth: 5 Interesting Facts About The Rapper

Taurus Bartlett, who is best known by his stage name as Polo G is a young American rapper from Chicago, Illinois. Here are some facts about Polo G: 1. He is only 20 years old Bartlett was born on January 6, 1999, in Chicago, Illinois. His parents raised him alongside three of his other siblings […]

Lil Huddy Net Worth: How Rich is the Tik Tok Superstar Actually?

Lil Huddy Net Worth: How Rich is the Tik Tok Superstar Actually?

Chase Hudson, who is better known as Lil Huddy, is an American social media personality who is very popular on the musical platform called TikTok where he has amassed a massive following of over 5.2 million followers along with more than 300 million hearts. As of 2019, Lil Huddy net worth is estimated to be […]

Cynthia Frelund Net Worth: How Rich is Cynthia Frelund Actually?

Cynthia Frelund Net Worth: How Rich is Cynthia Frelund Actually?

Cynthia Frelund is Data Analyst Expert for the NFL Media Network where she focuses on breaking down all the numbers on the show Numbers Game. Moreover, from the perspective of the fans, she is a key influencer in their fantasy football predictions. As of 2019, Cynthia Frelund net worth is estimated to be $1 million. […]

Ron Rivera Net Worth: How Rich is the former Panthers Coach?

Ron Rivera Net Worth: How Rich is the former Panthers Coach?

Ron Rivera is a retired football player and a former coach who managed Carolina Panthers in the National Football League. As of 2019, Ron Rivera net worth is estimated to be $5 million. Rivera was born on January 7, 1962, in Fort Ord, California. His father Eugenio Rivera was a military man. Due to his […]

Trending