was successfully added to your cart.

All posts by admin

WpForests PopUrls Guide

By | Documentation | No Comments

Configuring Homepage
Out of the box, the theme displays feeds from Flickr, Digg, Delicious, Reddit, Lifehacker, Boing Boing and other famous blogs.

- Go to Appearance > Widgets
- Drag and drop the Popurls Widgets (e.g Popurls photoRSS) from the left column to the homepage widget area in the right column
- Enter widget info e.g
Header Title: Flickr
Site Url: http://www.flickr.com
Feed Url: https://api.flickr.com/services/feeds/photos_public.gne
No. of clips to display: 12
- Then Click "Save"

popurls_1

----------------------------------------------------------------------------------------------------------------------------------------

Types of Popurls Widgets
There are some Types of Popurls Widgets

1) Popurls textRSS
popurls_2

2) Popurls photoRSS
While it's stated to work with Flickr, other feeds with photos may also work, if they are in similiar format with Flickr.

Best way to find out is to try it out.
popurls_3

2) Popurls videoRSS
popurls_4
----------------------------------------------------------------------------------------------------------------------------------------

Adding More Popurls Pages
- Go to Pages > Add New
- Enter Title (in this case I entered WordPress)
- Select Popurls as the Template
- Click "Publish"
- Go to Appearance > Widgets and Pretty similiar to configuring homepage in the section above.
popurls_5


Sideblog Setup
- Go to Add New Post and write your blog post as normal
- Under Categories, add a new category 'Blog' (or any name you like).
- Your sideblog will now available at http://your_own_domain.com/category/blog/, which you may want to add to the Top Menu.

----------------------------------------------------------------------------------------------------------------------------------------

FAQs/Troubleshooting

The theme is not displaying correctly e.g no styling, blank.
Check that all files have a permission of 644/666 and folders (both the main popurls folder and subfolders) have a permission of 755/777.

Cache directory is not writable.
Please check that the cache directory path \\wp-content\themes\popurls\includes/caches) is correct and has directory permission of 755 or 777.

Error: A feed is displaying blank in the widget or cannot be found.
Try using FeedBuner or Yahoo Pipes to burn the feed first and use their feed link instead.

How to find quality Public Domain images for commercial use

By | Our Blog | No Comments

Pixabay Images is a WordPress plugin that let's you pick CC0 (Creative Commons Zero) public domain pictures from Pixabay and insert them with just a click anywhere on your blog. The images are safe to use, and paying attribution or linking back to the source is not required. The plugin lets you choose photos, clipart, or both. It also lets you search for horizontal or vertical images.

The plugin will put a new button next to your Add Media button (if you choose that in the settings). Clicking on it will let you search Pixabay and choose the image size.

screenshot-1

screenshot-2

Once you choose an image there, you are taken to another screen that will let you review and change things such as the title, caption, link, size, and alignment.

If you want public domain images of very good quality, this plugin is a great choice.

Add Facebook and Twitter “Share” Buttons to Your WordPress Blog

By | Our Blog | No Comments

Social bookmarking buttons are essential for any blog these days. They are vital to helping people share content that they find useful and interesting. And with WordPress of course, you have a lot of plugins to help you add social sharing buttons to your site. However, many of these plugins either use Javascript, or a whole host of external references, which are a burden on your server and really slow down your site load time.

As title mentions in this tutorial we will go over steps on how to set up Facebook and Twitter buttons on your blog without using any plugins.

Go to your theme’s single.php file and paste below code after template tag „the_content()“ . This will add sharing button at the bottom of the post

[code] <div class="sharebuttons">
<a href="http://www.facebook.com/sharer.php?u=<?php echo urlencode(get_permalink($post->ID)); ?>&t=<?php echo rawurlencode(get_the_title()); ?>" target="_blank">Post this article in Facebook posten</a>
<a href="http://twitter.com/home?status=<?php echo rawurlencode(get_the_title()); ?> - <?php echo urlencode(get_permalink($post->ID)); ?>" target="_blank" title="Tweet this article">Tweet this article</a>
<a href="mailto:?subject=Artikel auf <?php echo rawurlencode(get_bloginfo('url')); ?>: <?php echo rawurlencode(get_the_title()); ?>&body=<?php echo urlencode(get_permalink($post->ID)); ?>" title="Send article via mail">Send article via mail</a>
</div><!-- .sharebuttons" -->

[/code]

Open style.css file of your WordPress theme and put below code for better styling.

[code] /*Sharebuttons*/
.sharebuttons {
margin: 15px 0;
clear: both;
}
.sharebuttons a {
padding: 5px;
background: #ddd;
border: 1px solid #333;
text-decoration: none;
}
[/code]

Your result will be like this

share-button

How to Add Banners to WordPress Sites

By | Documentation | No Comments

Nowadays advertisement is essential part of most of the websites on the Internet. We will learn about how to add banner on wordpress, so you can placed your affiliate banner or google adsense on your wordpress blog/site.

Add your banner to sidebar widget

Go to Appearance -> Widgets. Then, drag a Text widget to the appropriate widget area. In our case that would be Main Sidebar. paste the banner code in it, set a title for the widget or just leave it blank. Finally, you need to click on the save button to save this change.

sidebar-banner

Add your banner above or below all posts or pages

To add banners above or below all your posts or pages, you need to add the banner code inside single.php or page.php files of your WordPress themes. You can add the code of your banner right after the following code:

[code]<?php while ( have_posts() ) : the_post(); ?>[/code]

You can add CSS styling in order to make it look according to your needs.

Add your banner to the header or footer

Adding banners to your footer or header depends on the theme you are using. If it has widget area added to its footer or header, you can follow the instructions above Add your banner to sidebar widget. If your theme does not support footer/header widgets you’ll need to add your banner code directly into the header.php or footer.php.

Locate the following code in your header.php

[code]<body <?php body_class(); ?>>[/code]

And then add your banner code right after this code.

Finally, Good Luck and wish you get more referral and commission by applying this method.

How to Limit Comment Length in WordPress

By | Our Blog | No Comments

If you have used Twitter, then you already know that you are only allowed to type 140 characters in a single Tweet. It would be nice to have this feature for WordPress comments too. Comments below a certain length or above a certain length are not very helpful. By setting comment length limits in WordPress, you can improve the quality of your comments. In this article, we will show you how to limit comment length in WordPress.

We will add a filter hook to preprocess_comment. This filter is applied to the comment data prior to any other processing of the comment's information when saving a comment data to the database.

[code] add_filter( 'preprocess_comment', 'minimum_comment_length' );

function minimum_comment_length($commentdata) {
if ( strlen( $commentdata['comment_content'] ) > 5000 ) {
wp_die('Comment is too long. Please keep your comment under 5000 characters.');
}
if ( strlen( $commentdata['comment_content'] ) < 60 ) {
wp_die('Comment is too short. Please use at least 60 characters.');
}
return $commentdata;
}
[/code]

Alternatively you can also use plugin. I recommend Greg's Comment Length Limiter. This plugin provides a configurable limit on the length of comments left in the comment form, with a character countdown displayed for the user and dynamically updated with each keypress.

Show an under construction page for your WordPress

By | Our Blog | No Comments

If your WordPress-powered website is currently under construction and you may not want others to be able to see your site until it’s complete.

You can use a plugin to do this, but it’s pretty simple to include this functionality within your theme. Add the following code in the functions.php of the theme:

[code] function maintenance() {
if ( !current_user_can( 'edit_themes' ) || !is_user_logged_in() ) {
wp_die('<h1>Maintenance Work<h1> Coming Soon. We are working hard.',
'Here we are working');
}}

add_action('get_header', 'maintenance');

[/code]

This function turns on a holding page for all non-admin users that visit your website.

How to Clean a Hacked WordPress Site

By | Our Blog | No Comments

STEP 1: DON'T PANIC!

Don't panic. Don’t erase anything, don’t restore from backup, don’t do anything until you do and understand what follows next. Anything you do at this point may destroy vital information. Take the site down, immediately. Most admin panel of Web Hosting offer the possibility to take the site offline. This prevents showing spam to the world, then Google is sure to notice. If you’re down for a time, then Google can understand that.

STEP 2: BACK UP YOUR SITE

Use FTP or a backup plugin to download a copy of your entire website. The reason you need to do this is because many hosting providers will immediately delete your entire site if they detect this. Backing up your files and database should be your first priority. Get this done, then you can safely move on to the next step of cleaning your site comfortable.

STEP 3: CLEAN YOUR HACKED SITE

Here are the guides of the road when cleaning your site:

1) If there is anything like the following in your file, you have definitely been hacked, and you MUST remove it ASAP:

[code] <!--?php eval(gzinflate(base64_decode('dVRtb6NGE.....')));?-->
[/code]

2) Make always a copy of any uploaded files, such as images. It is usually a good idea to grab a copy of all the images in your uploads folder so as to avoid broken images in posts later.

3) Secure your wp-config.php file and edit your wp-config.php to change the password.

4) You can usually delete anything in the wp-content/plugins/ directory and you won’t lose data or break your site. The reason is because these are plugin files that you can reinstall and WordPress will automatically detect if you’ve deleted a plugin and will disable it.

5) You can delete all theme in the wp-content/themes directory. Make sure that you have and can download a new copy of your theme from the original source.

6) You can delete the wp-admin and wp-includes directories and the other WordPress files.

7) Now install a new fresh copy of WordPress and then your theme and plugins.

STEP 4: CHANGE PASSWORD

Change all passwords (FTP, Database and WordPress Logins) on the site, especially admin/root passwords.

STEP 5: PREVENTION

Congratulations if you have managed to clean your site. Then you need to take steps to prevent it from happening again. Here’s how:

1) Install some security plugins (like Wordfence) and run regular scans on your WordPress site.

2) Make sure WordPress and all plugins and themes are kept up to date. This is the most important thing you can do to secure your site.

3) Make sure you use strong passwords that are hard to guess.

Protecting Email Address against Spambot

By | Our Blog | No Comments

The Spambots work by scanning the source code of your site, looking for your email addresses and following links to other pages. Email addresses are fairly easy to pick out due to their formatting and their use of the “mailto” URL function. So, how do you deter the majority of bots?

Use the following formula in the template/theme:

<?php echo antispambot('max.musterman@example.com'); ?>

Obviously you need to replace with your email address.

If you want to use it in the editor area, you have to write function which allows shortcode insertion.
Copy the following code in the functions.php of the theme:

[code]
/**
* Hide email from Spam Bots using a shortcode.
*
* @param array $atts Shortcode attributes. Not used.
* @param string $content The shortcode content. Should be an email address.
*
* @return string The obfuscated email address.
*/
function wpcodex_hide_email_shortcode( $atts , $content = null ) {
if ( ! is_email( $content ) ) {
return;
}
return '<a href="mailto:' . antispambot( $content ) . '">' . antispambot( $content ) . '</a>';
}
add_shortcode( 'email', 'wpcodex_hide_email_shortcode' );
add_filter( 'widget_text', 'shortcode_unautop' );
add_filter( 'widget_text', 'do_shortcode' );
[/code]

To use this in your WordPress Content area, posts and widgets all you have to do is wrap your email address in a short code.

[code]
[email]max.musterman@example.com[/email]
[/code]

Change WordPress Login URL

By | Our Blog | No Comments

If will here explain how to change the default login url in WordPress from /wp-login.php to /login. You can change wp-login.php to anything you want.
Open your .htaccess file, and add this code before any WordPress rewrite rules,

[code] RewriteRule ^login$ http://yoursite.com/wp-login.php [NC,L] [/code]

This code will redirect any one visiting to http://yoursite.com/wp-login.php to http://yoursite.com/login, and you can then login at this new login url.

Click to Get Full Access to our entire collection for only $69! Get Access Today