Posts by weblusive

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says

Here is my code. Actually, a whole bunch of solutions for various scenarios.

/********** GET PAGES BY PARAMS ************/

/*-- Get root parent of a page --*/
function get_root_page($page_id) 
{
    global $wpdb;

    $parent = $wpdb->get_var("SELECT post_parent FROM $wpdb->posts WHERE post_type='page' AND ID = '$page_id'");

    if ($parent == 0) 
        return $page_id;
    else 
        return get_root_page($parent);
}

/*-- Get page name by ID --*/
function get_page_name_by_ID($page_id)
{
    global $wpdb;
    $page_name = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID = '$page_id'");
    return $page_name;
}

/*-- Get page ID by Page Template --*/
function get_page_ID_by_page_template($template_name)
{
    global $wpdb;
    $page_ID = $wpdb->get_var("SELECT post_id FROM $wpdb->postmeta WHERE meta_value = '$template_name' AND meta_key = '_wp_page_template'");
    return $page_ID;
}

/* -- Get page ID by Custom Field Value -- */
function get_page_ID_by_custom_field_value($custom_field, $value)
{
    global $wpdb;
    $page_ID = $wpdb->get_var(" 
        SELECT wposts.ID
        FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta
        WHERE wposts.ID = wpostmeta.post_id 
        AND wpostmeta.meta_key = '$custom_field' 
        AND (wpostmeta.meta_value like '$value,%' OR wpostmeta.meta_value like '%,$value,%' OR wpostmeta.meta_value like '%,$value' OR wpostmeta.meta_value = '$value')        
        AND wposts.post_status = 'publish' 
        AND wposts.post_type = 'page'
        LIMIT 0, 1");

    return $page_ID;
}
/*******************************************/
140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says

IE 7 ++, FF, Chrome, Opera, Safari. Guess that’s it. There was a debate about supporting IE7 which is not required as much as I’m concerned although I believe you should necessarily provide support for this browser also.

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says
Smaugcz said
I’m thinking of partnership too. I am a developer but even though I can design I am not so sure that I would be able to design a theme on such high level as themeforest themes are. I can code them for sure though. But what I wonder about, if it’s fair to split 50/50 with a designer as the design usually takes much less time than development (correct me if I’m wrong but that’s how I see it)

That hugely depends on the fact if you already have some framework to start with. My first WP theme took me 4 months to build. The reason for this was lack of experience with wordpress and the desire to create something for all future themes to be built on. So, after releasing my first theme, the others have taken one week from me to build. In this stage, it becomes ok to share the revenue 50/50 with a designer as making a quality design takes as much time.

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says

I have had webmoney before, it’s mainly used in Russia. A quite secure system however it has his limitations so better go with paypal anyway.

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says

Confirm! IE8 on PC running Windows 7, no problem detected. So, waiting for the release of your new theme ;)

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says

I am afraid you won’t, as it’s too specific for being released as a theme.

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says

I use this one for dummy texts – http://fucklorem.com/ A really handy one.

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says

Search for DirectoryPress on google. That’s the most advanced system currently.

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says

I guess you’ve forgotten to post the preview link. In addition, could you please leave some contact details?.

140 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
weblusive says

You are free to use any slider in your themes the license of which clearly allows you to do so. MIT /GPL licenses are perfect for such cases. The license of majority of sliders Like Nivo, Piecemaker, etc… allows you to use them in your themes. Basically from my experience 99% of free sliders come with such licenses. And about using own slider, look around, almost all authors use one or another popular plugin for the sliders. Hope this helps.

by
by
by
by
by
by