GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   wordpress friday: free minimal premium theme (https://gfy.com/showthread.php?t=1002300)

fris 12-17-2010 06:56 AM

wordpress friday: free minimal premium theme
 
Mojo themes has released their first free theme.

Quote:

Modest is the perfect crisp, clean & minimal WordPress Theme. It was designed with a focus on well blended typography to bring out the real content within your site.

The free WordPress theme comes compatible with the latest version of WordPress, SEO optimized and custom options panel. Also, the sidebar and footer are both widget ready.
Quote:

Features:

?Compatible with WP 3.0 menu system
?Custom Options Panel
?Add your logo
?Add your Favicon
?Custom Twitter Integration - Just add your Twitter username in the options panel.
?Google Analytics Integration
?Widget Ready Sidebar and Footer
?Featured post thumbnails
?Threaded comments
?Breadcrumbs navigation
?Clean and professional design
?SEO Optimized
http://i.imgur.com/ZM4YE.png

link --> http://www.mojo-themes.com/item/modest-wordpress-theme/

JayDeeZee 12-17-2010 07:02 AM

I just started a new blog. I'll give it a shot. Thank your Fris

fris 12-17-2010 11:19 AM

enjoy setting it up

awxm 12-17-2010 11:39 AM

Nice clean looking theme, thanks for the share.

VikingMan 12-17-2010 11:39 AM

thank you fris. Merry Xmas to you too!

fris 12-17-2010 05:53 PM

Quote:

Originally Posted by ******* (Post 17781203)
thank you fris. Merry Xmas to you too!

thanks you too

icymelon 12-17-2010 06:12 PM

Fatal error: Call to undefined function wp_pagenavi() in

gave me an error but it does look like a pretty cool theme

fris 12-17-2010 06:30 PM

Quote:

Originally Posted by icymelon (Post 17782136)
Fatal error: Call to undefined function wp_pagenavi() in

gave me an error but it does look like a pretty cool theme

looks like you need the wp-pagenavi plugin, wish more developers would do error checking so if the plugin isnt installed it wouldnt break.

Supz 12-17-2010 06:34 PM

fris, is there a way to have plugins activate on theme activations in multisite. If you pick a certain theme, it auto activates certain plugins that the theme needs?

fris 12-17-2010 06:48 PM

Quote:

Originally Posted by Supz (Post 17782163)
fris, is there a way to have plugins activate on theme activations in multisite. If you pick a certain theme, it auto activates certain plugins that the theme needs?

yes you can add some code to the themes functions.php file to activate them, or put an admin notice that gives you the option to click install and installs it from the wordpress directory.

Rick Diculous 12-17-2010 08:42 PM

Good looking theme! Thanks for sharing

pamon 12-17-2010 09:04 PM

props to fris on a great share.

TrashyGirl 12-18-2010 01:22 AM

thnx! if I get a chance to set mine up in the next few wks (holidays always get in the way), I'll try to remember to post a screenshot

CamsMaster 12-18-2010 05:19 AM

looking good thx for sharing ...

martinsc 12-18-2010 06:59 AM

thanks.
will check it out later :thumbsup

fris 12-18-2010 07:22 AM

Quote:

Originally Posted by Supz (Post 17782163)
fris, is there a way to have plugins activate on theme activations in multisite. If you pick a certain theme, it auto activates certain plugins that the theme needs?

hopefully this will help you.

two ways, install automatically if it inst installed, or show a notice in the admin with an option to install the plugin.

Code:

<?php

// add to your theme functions.php
// two ways to do this, automatically, or give the user an option to install the required plugin

// 1. install plugin automatically

function run_activate_plugin( $plugin ) {
    $current = get_option( 'active_plugins' );
    $plugin = plugin_basename( trim( $plugin ) );
    if ( !in_array( $plugin, $current ) ) {
        $current[] = $plugin;
        sort( $current );
        do_action( 'activate_plugin', trim( $plugin ) );
        update_option( 'active_plugins', $current );
        do_action( 'activate_' . trim( $plugin ) );
        do_action( 'activated_plugin', trim( $plugin) );
    }

    return null;
}

run_activate_plugin( 'wp-postratings/wp-postratings.php' );


// 2. give user option to install

ratings_check();

function ratings_check()
{
        if ( !function_exists('the_ratings') )
        {
                add_thickbox();
                add_action('admin_notices', 'ratings_check_notice');
        }
}

function ratings_check_notice()
{
?>
        <div class='updated fade'>
                <p>The Post Ratings plugin is required for this theme to function properly. <a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=wp-postratings&TB_iframe=true&width=640&height=517'); ?>" class="thickbox onclick">Install now</a>.</p>
        </div>
<?php
}
?>


Supz 12-18-2010 09:41 AM

Quote:

Originally Posted by fris (Post 17782696)
hopefully this will help you.

two ways, install automatically if it inst installed, or show a notice in the admin with an option to install the plugin.

Code:

<?php

// add to your theme functions.php
// two ways to do this, automatically, or give the user an option to install the required plugin

// 1. install plugin automatically

function run_activate_plugin( $plugin ) {
    $current = get_option( 'active_plugins' );
    $plugin = plugin_basename( trim( $plugin ) );
    if ( !in_array( $plugin, $current ) ) {
        $current[] = $plugin;
        sort( $current );
        do_action( 'activate_plugin', trim( $plugin ) );
        update_option( 'active_plugins', $current );
        do_action( 'activate_' . trim( $plugin ) );
        do_action( 'activated_plugin', trim( $plugin) );
    }

    return null;
}

run_activate_plugin( 'wp-postratings/wp-postratings.php' );


// 2. give user option to install

ratings_check();

function ratings_check()
{
        if ( !function_exists('the_ratings') )
        {
                add_thickbox();
                add_action('admin_notices', 'ratings_check_notice');
        }
}

function ratings_check_notice()
{
?>
        <div class='updated fade'>
                <p>The Post Ratings plugin is required for this theme to function properly. <a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=wp-postratings&TB_iframe=true&width=640&height=517'); ?>" class="thickbox onclick">Install now</a>.</p>
        </div>
<?php
}
?>


Will give it a shot.

Thank you very much!

fris 12-18-2010 02:35 PM

Quote:

Originally Posted by Supz (Post 17782851)
Will give it a shot.

Thank you very much!

no problem, hit me up if you need any help.

$5 submissions 12-18-2010 06:34 PM

This post gets the $5 Submissions SEAL OF APPROVAL:
http://bigpichost.com/files/1stplace_q9i9iowt.gif


All times are GMT -7. The time now is 06:34 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123