Most Searched Words on Pinterest

Thanks to some recent search improvements of the Pinterest team made, we’re seeing some interesting differences in what people are looking for around the globe these days.

Most Searched Words on Pinterest
Most Searched Words on Pinterest

Here I listed the top 10 ideas people are searching for around the world in 2015. Continue reading “Most Searched Words on Pinterest”

[Solved] How to Remove WordPress Menu Class & ID

Some of you may want to remove wp_nav_menu remove classes from li

Just like this:

<div id="navi">
			<div class="menu-primary-container"><ul id="menu-primary" class="menu"><li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a href="http://localhost/2in1design/intro-2/">Intro</a></li>
<li id="menu-item-16" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-16"><a href="http://localhost/2in1design/category/portfolio/">Portfolio</a></li>
<li id="menu-item-20" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-20"><a href="http://localhost/2in1design/contact/">Contact</a></li>
<li id="menu-item-15" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-15"><a href="http://localhost/2in1design/category/blog/">Blog</a></li>
<li id="menu-item-17" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-17"><a href="#">Shop</a></li>

</ul></div>        </div>

If you don’t know how to remove the class and id, here is the solution.

I used the ideas on stackoverflow here, but it didn’t work for me, I use the following code, and it solved the problem!

Copy and paste the following code in your functions.php file (you can find under the theme’s folder.)

function current_to_active($text){

        $replace = array(

                //List of menu item classes that should be changed to "active"

                'current-menu-item' => 'active',

                'current_page_parent' => 'active',

                'current_page_ancestor' => 'active',

        );

        $text = str_replace(array_keys($replace), $replace, $text);

                return $text;

        }

add_filter('nav_menu_css_class', 'current_to_active');

add_filter('nav_menu_item_id', 'current_to_active');

add_filter('page_css_class', 'current_to_active');

 

//Deletes empty classes and removes the sub menu class

function strip_empty_classes($menu) {

    $menu = preg_replace('/ class=""| class="sub-menu"/','',$menu);

    return $menu;

}

add_filter ('wp_nav_menu','strip_empty_classes');

Wishlist Member Coupon Code – Wishlist Member Promotion

The WishList Member is one of the most popular communities and membership wordpress plugin, this plugin can turn any WordPress site into a full-blown membership site! I have 2 sites that using this plugin and Really I love it! If you’re going to buy this plugin, why not use the Wishlist Member Coupon Code to get discount?

Please follow this link to get the discount.
P.S. – This is a limited time promotion: From December 13-19th

Wishlist Member Two License Promo:
Single Site License $97 + Second Site License Only $25 –Click here to read more details…

Please note that the Wishlist Member coupon code is a limited time offer, when there are new discount coupon code provided by the author, we will update it here 😉

[fixed] Update to WordPress 4.4 – SERVER ERROR 500

It seems that the recent WordPress 4.4 update got error when you update your script automatically.

When the WordPress updated, you will get blank page, and get the message:

SERVER ERROR 500

And it is simple to fix this problem,

just open your site with another browser, then you will get the following page:

wordpress update 4.4 error

Database Update Required

WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.

The database update process may take a little while, so please be patient.

Just click the button and your site will be back!

Update Complete

Your WordPress database has been successfully updated!

 

Best Way to Download Instagram Images/Photos

A lot people asking dobeweb.com on how to download images from Instagram.com,  if you search on Google, you may find a lot ways to download the beautiful images.

  1.  Use the third websites.

    Just like Instaport.me www.instagrabbr.com etc

  2. Snapshot.

    This is a fast way to download.

  3. Save the web page!

    This is the fastest and simplest way to save images from Instagram.
    Open the page you want to save, (I.E, firefox, chrome etc );
    Right click your mouse;

    how to save images from instagram
    how to save images from instagram

    Choose “Save page as”;
    Choose “Webpage, complete”

    save images from instagram.com
    save images from instagram.com

    Choose the place where you want to save, click save.
    Done.
    Then you will find the original images in the saved folder.

    Saved all images from instagram
    Saved all images from instagram

 

Fix WordPress “You do not have sufficient permissions to access this page”

If you use Nginx and meet this problem with some WordPress plugin tab error “You do not have sufficient permissions to access this page”, please read this post, it’s easy to solve.

You need to edit the WordPress core file:

Go –> wp-admin –> options-general.php

Open options-general.php, add the following code before the <php

<base href="/wp-admin/options-general.php" />

Refresh your page.