WordPress.org

Make WordPress Themes


Ignore:
Location:
magnificient
Files:
3 deleted
37 edited

Legend:

Unmodified
Added
Removed
  • magnificient/1.3.8/archive.php

    r85551 r85551  
    1010    <!-- page-content --> 
    1111    <div class="small-12 large-8 columns" id="page-content" role="main"> 
    12      
     12 
    1313    <?php if ( have_posts() ) : ?> 
    14      
     14 
    1515        <?php /* Start the Loop */ ?> 
    1616        <?php while ( have_posts() ) : the_post(); ?> 
    1717            <?php get_template_part( 'content', get_post_format() ); ?> 
    1818        <?php endwhile; ?> 
    19          
     19 
    2020        <?php else : ?> 
    2121            <?php get_template_part( 'content', 'none' ); ?> 
    22          
     22 
    2323    <?php endif; // end have_posts() check ?> 
    24      
     24 
    2525    <!-- pagination --> 
    2626    <?php /* Display navigation to next/previous pages when applicable */ ?> 
    27     <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     27    <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    2828        <nav id="post-nav"> 
    2929            <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'magnificient' ) ); ?></div> 
  • magnificient/1.3.8/archives-page.php

    r85551 r85551  
    1010    <!-- page-content --> 
    1111    <div class="small-12 large-8 columns" id="page-content" role="main"> 
    12      
     12 
    1313    <?php if ( have_posts() ) : ?> 
    14      
     14 
    1515        <?php /* Start the Loop */ ?> 
    1616        <?php while ( have_posts() ) : the_post(); ?> 
     
    2222            <?php endforeach; ?> 
    2323        <?php endwhile; ?> 
    24          
     24 
    2525        <?php else : ?> 
    2626            <?php get_template_part( 'content', 'none' ); ?> 
    27          
     27 
    2828    <?php endif; // end have_posts() check ?> 
    29      
     29 
    3030    <!-- pagination --> 
    3131    <?php /* Display navigation to next/previous pages when applicable */ ?> 
    32     <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     32    <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    3333        <nav id="post-nav"> 
    3434            <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'magnificient' ) ); ?></div> 
  • magnificient/1.3.8/functions.php

    r85551 r85551  
    1717 
    1818/* 
    19 1. library/cleanup.php 
    20   - head cleanup 
    21     - post and images related cleaning 
     191. library/theme-support.php 
     20    - add theme support 
    2221*/ 
    23 require_once('library/cleanup.php'); // do all the cleaning and enqueue here 
     22require_once('library/theme-support.php'); 
    2423 
    2524/* 
     
    7069*/ 
    7170require_once('library/enqueue-scripts.php'); 
    72  
    73 /* 
    74 10. library/theme-customizer.php 
    75     - add Customizer options for theme 
    76 */ 
    77 require_once('library/theme-customizer.php'); 
    78  
    79 /* 
    80 11. library/theme-support.php 
    81     - add theme support 
    82 */ 
    83 require_once('library/theme-support.php'); 
    84  
    8571?> 
  • magnificient/1.3.8/layouts/author-page/page-template.php

    r85551 r85551  
    55?> 
    66            <?php if ( have_posts() ) : ?> 
    7      
     7 
    88                <?php /* Start the Loop */ ?> 
    99                <?php while ( have_posts() ) : the_post(); ?> 
    1010                    <?php get_template_part( 'content', get_post_format() ); ?> 
    1111                <?php endwhile; ?> 
    12                  
     12 
    1313                <?php else : ?> 
    1414                    <?php get_template_part( 'content', 'none' ); ?> 
    15                  
     15 
    1616            <?php endif; // end have_posts() check ?> 
    17              
     17 
    1818            <div class="separator"></div> 
    19              
     19 
    2020            <?php /* Display navigation to next/previous pages when applicable */ ?> 
    21             <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     21            <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    2222                <nav id="post-nav"> 
    2323                    <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'magnificient' ) ); ?></div> 
  • magnificient/1.3.8/layouts/category-page/page-template.php

    r85551 r85551  
    66 
    77            <?php if ( have_posts() ) : ?> 
    8      
     8 
    99                <?php /* Start the Loop */ ?> 
    1010                <?php while ( have_posts() ) : the_post(); ?> 
    1111                    <?php get_template_part( 'content', get_post_format() ); ?> 
    1212                <?php endwhile; ?> 
    13                  
     13 
    1414                <?php else : ?> 
    1515                    <?php get_template_part( 'content', 'none' ); ?> 
    16                  
     16 
    1717            <?php endif; // end have_posts() check ?> 
    18              
     18 
    1919            <div class="separator"></div> 
    20              
     20 
    2121            <?php /* Display navigation to next/previous pages when applicable */ ?> 
    22             <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     22            <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    2323                <nav id="post-nav"> 
    2424                    <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'magnificient' ) ); ?></div> 
  • magnificient/1.3.8/layouts/front-page/page-template.php

    r85551 r85551  
    1717 
    1818            <div class="separator"></div> 
    19              
    20             <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     19 
     20            <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    2121 
    2222                <nav id="post-nav"> 
  • magnificient/1.3.8/layouts/index-page/right-sidebar.php

    r85551 r85551  
    2424            <!-- pagination --> 
    2525            <?php /* Display navigation to next/previous pages when applicable */ ?> 
    26             <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     26            <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    2727                <nav id="post-nav"> 
    2828                    <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'magnificient' ) ); ?></div> 
  • magnificient/1.3.8/layouts/search-page/page-template.php

    r85551 r85551  
    66 
    77            <?php if ( have_posts() ) : ?> 
    8      
     8 
    99                <?php /* Start the Loop */ ?> 
    1010                <?php while ( have_posts() ) : the_post(); ?> 
    1111                    <?php get_template_part( 'content', get_post_format() ); ?> 
    1212                <?php endwhile; ?> 
    13                  
     13 
    1414                <?php else : ?> 
    1515                    <?php get_template_part( 'content', 'none' ); ?> 
    16                  
     16 
    1717            <?php endif; // end have_posts() check ?> 
    18              
     18 
    1919            <div class="separator"></div> 
    20              
     20 
    2121            <?php /* Display navigation to next/previous pages when applicable */ ?> 
    22             <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     22            <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    2323                <nav id="post-nav"> 
    2424                    <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'magnificient' ) ); ?></div> 
  • magnificient/1.3.8/layouts/tag-page/page-template.php

    r85551 r85551  
    66 
    77            <?php if ( have_posts() ) : ?> 
    8      
     8 
    99                <?php /* Start the Loop */ ?> 
    1010                <?php while ( have_posts() ) : the_post(); ?> 
    1111                    <?php get_template_part( 'content', get_post_format() ); ?> 
    1212                <?php endwhile; ?> 
    13                  
     13 
    1414                <?php else : ?> 
    1515                    <?php get_template_part( 'content', 'none' ); ?> 
    16                  
     16 
    1717            <?php endif; // end have_posts() check ?> 
    18              
     18 
    1919            <div class="separator"></div> 
    20              
     20 
    2121            <?php /* Display navigation to next/previous pages when applicable */ ?> 
    22             <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     22            <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    2323                <nav id="post-nav"> 
    2424                    <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'magnificient' ) ); ?></div> 
  • magnificient/1.3.8/library/custom-fonts.php

    r85551 r85551  
    1 <?php  
     1<?php 
    22/* ------------------------------------------------------------------------- * 
    33 *  Enqueue all the custom fonts here 
     
    55 
    66if( ! function_exists( 'magnificient_fonts' ) ) { 
    7      
     7 
    88    function magnificient_fonts() { 
    9         wp_register_style( 'magnificient-font-awesome-stylesheet', get_stylesheet_directory_uri() . '/css/font-awesome.css', array(), '' ); 
    10          
     9        wp_register_style( 'magnificient-font-awesome-stylesheet', get_template_directory_uri() . '/css/font-awesome.css', array(), '' ); 
     10 
    1111        wp_enqueue_style('magnificient-open-sans-font', '//fonts.googleapis.com/css?family=Open+Sans:600italic,700italic,800italic,400,300,700'); 
    1212        wp_enqueue_style( 'magnificient-noto-serif-font', '//fonts.googleapis.com/css?family=Noto+Serif:400,700,400italic,700italic'); 
    1313        wp_enqueue_style( 'magnificient-font-awesome-stylesheet'); 
    1414    } 
    15      
     15 
    1616} 
    1717 
  • magnificient/1.3.8/library/enqueue-style.php

    r85551 r85551  
    1010 
    1111    // normalize stylesheet 
    12         wp_register_style( 'magnificient-normalize-stylesheet', get_stylesheet_directory_uri() . '/css/normalize.css', array(), '' ); 
     12        wp_register_style( 'magnificient-normalize-stylesheet', get_template_directory_uri() . '/css/normalize.css', array(), '' ); 
    1313 
    1414        // foundation stylesheet 
    15         wp_register_style( 'magnificient-foundation-stylesheet', get_stylesheet_directory_uri() . '/css/foundation.css', array(), '' ); 
     15        wp_register_style( 'magnificient-foundation-stylesheet', get_template_directory_uri() . '/css/foundation.css', array(), '' ); 
    1616 
    1717    // wow stylesheet 
    18         wp_register_style( 'magnificient-animate-stylesheet', get_stylesheet_directory_uri() . '/css/animate.css', array(), '' ); 
     18        wp_register_style( 'magnificient-animate-stylesheet', get_template_directory_uri() . '/css/animate.css', array(), '' ); 
    1919 
    2020        // flexslider stylesheet 
    21         wp_register_style( 'magnificient-flexslider-stylesheet', get_stylesheet_directory_uri() . '/css/flexslider.css', array(), '' ); 
     21        wp_register_style( 'magnificient-flexslider-stylesheet', get_template_directory_uri() . '/css/flexslider.css', array(), '' ); 
    2222 
    2323    // swipebox stylesheet 
    24         wp_register_style( 'magnificient-swipebox-stylesheet', get_stylesheet_directory_uri() . '/css/swipebox.css', array(), '' ); 
     24        wp_register_style( 'magnificient-swipebox-stylesheet', get_template_directory_uri() . '/css/swipebox.css', array(), '' ); 
    2525 
    2626        // Register the main style 
    27         wp_register_style( 'magnificient-stylesheet', get_stylesheet_directory_uri() . '/css/style.css', array(), '', 'all' ); 
     27        wp_register_style( 'magnificient-stylesheet', get_template_directory_uri() . '/css/style.css', array(), '', 'all' ); 
    2828 
    2929        wp_enqueue_style( 'magnificient-normalize-stylesheet' ); 
  • magnificient/1.3.8/library/foundation.php

    r85551 r85551  
    11<?php 
    22// Pagination 
    3 if ( ! function_exists( 'magnificient_pagination' ) ) : 
    4 function magnificient_pagination() { 
     3if ( ! function_exists( 'the_posts_pagination' ) ) : 
     4function the_posts_pagination() { 
    55    global $wp_query; 
    66 
     
    9797     * start_lvl() only goes as high as 1 deep nested comments */ 
    9898    function __construct() { ?> 
    99           
     99 
    100100        <h3><?php comments_number( __( 'No Responses to', 'magnificient' ), __( 'One Response to', 'magnificient' ), __( '% Responses to', 'magnificient' ) ); ?> &#8220;<?php the_title(); ?>&#8221;</h3> 
    101101        <ol class="comment-list"> 
    102           
     102 
    103103    <?php } 
    104104 
     
    107107    function start_lvl( &$output, $depth = 0, $args = array() ) { 
    108108        $GLOBALS['comment_depth'] = $depth + 1; ?> 
    109   
     109 
    110110                <ul class="children"> 
    111111    <?php } 
     
    115115    function end_lvl( &$output, $depth = 0, $args = array() ) { 
    116116        $GLOBALS['comment_depth'] = $depth + 1; ?> 
    117   
     117 
    118118        </ul><!-- /.children --> 
    119           
     119 
    120120    <?php } 
    121121 
     
    126126        $GLOBALS['comment'] = $comment; 
    127127        $parent_class = ( empty( $args['has_children'] ) ? '' : 'parent' ); ?> 
    128           
     128 
    129129        <li <?php comment_class( $parent_class ); ?> id="comment-<?php comment_ID() ?>"> 
    130130            <article id="comment-body-<?php comment_ID() ?>" class="comment-body"> 
    131          
    132              
    133          
    134         <header class="comment-author">  
    135          
     131 
     132 
     133 
     134        <header class="comment-author"> 
     135 
    136136            <?php echo get_avatar( $comment, $args['avatar_size'] ); ?> 
    137              
    138             <div class="author-meta vcard author">   
    139              
     137 
     138            <div class="author-meta vcard author"> 
     139 
    140140            <?php printf( __( '<cite class="fn">%s</cite>', 'magnificient' ), get_comment_author_link() ) ?> 
    141141            <time datetime="<?php echo comment_date( 'c' ) ?>"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf( __( '%1$s', 'magnificient' ), get_comment_date(),  get_comment_time() ) ?></a></time> 
    142              
     142 
    143143            </div><!-- /.comment-author --> 
    144              
     144 
    145145        </header> 
    146   
     146 
    147147                <section id="comment-content-<?php comment_ID(); ?>" class="comment"> 
    148148                    <?php if ( ! $comment->comment_approved ) : ?> 
    149149                            <div class="notice"> 
    150150                    <p class="bottom"><?php $args['moderation']; ?></p> 
    151                 </div>                      
     151                </div> 
    152152                    <?php else : comment_text(); ?> 
    153153                    <?php endif; ?> 
    154154                </section><!-- /.comment-content --> 
    155   
     155 
    156156                <div class="comment-meta comment-meta-data hide"> 
    157157                    <a href="<?php echo htmlspecialchars( get_comment_link( get_comment_ID() ) ) ?>"><?php comment_date(); ?> at <?php comment_time(); ?></a> <?php edit_comment_link( '(Edit)' ); ?> 
    158158                </div><!-- /.comment-meta --> 
    159   
     159 
    160160                <div class="reply"> 
    161161                    <?php $reply_args = array( 
     
    167167                </div><!-- /.reply --> 
    168168            </article><!-- /.comment-body --> 
    169   
     169 
    170170    <?php } 
    171171 
    172172    function end_el(&$output, $comment, $depth = 0, $args = array() ) { ?> 
    173           
     173 
    174174        </li><!-- /#comment-' . get_comment_ID() . ' --> 
    175           
     175 
    176176    <?php } 
    177177 
    178178    /** DESTRUCTOR */ 
    179179    function __destruct() { ?> 
    180       
     180 
    181181    </ol><!-- /#comment-list --> 
    182   
     182 
    183183    <?php } 
    184184} 
  • magnificient/1.3.8/library/theme-support.php

    r85551 r85551  
    1010 
    1111if( ! function_exists( 'magnificient_theme_support' ) ) { 
    12      
     12 
    1313    function magnificient_theme_support() { 
    14          
     14 
    1515        // Add language supports. 
    1616        load_theme_textdomain('magnificient', get_template_directory() . '/languages'); 
     
    1818        // Add post thumbnail supports. http://codex.wordpress.org/Post_Thumbnails 
    1919        add_theme_support('post-thumbnails'); 
    20          
     20 
    2121        // set_post_thumbnail_size(150, 150, false); 
    2222        add_image_size('magnificient-fd-lrg', 1024, 99999); 
     
    2424        add_image_size('magnificient-fd-sm', 320, 9999); 
    2525 
     26        // add logo support 
     27        add_theme_support( 'magnificient_logo' ); 
     28 
    2629        // rss things 
    2730        add_theme_support( 'automatic-feed-links' ); 
    28          
     31 
    2932        // Declare WooCommerce support 
    3033        add_theme_support( 'woocommerce' ); 
     
    5053            ) 
    5154        ); 
    52          
     55 
    5356        //Add custom width support 
    5457        if ( ! isset( $content_width ) ) { 
    5558            $content_width = 600; 
    5659        } 
    57          
     60 
    5861        //Add editor style 
    5962        $font_url = str_replace( ',', '%2C', '//fonts.googleapis.com/css?family=Lato:300,400,700' ); 
    6063        add_editor_style( $font_url ); 
    61          
     64 
    6265        //Title tag compatibility for older versions of WordPress 
    6366        add_theme_support( 'title-tag' ); 
    6467    } 
    65      
     68 
    6669} 
    6770 
  • magnificient/1.3.8/readme.txt

    r85551 r85551  
    136136Copyright (c) 2014 Alexander Farkas (aFarkas). 
    137137 
    138 This software is licensed under a dual license system (MIT or GPL version 2).  
    139 This means you are free to choose with which of both licenses (MIT or  
    140 GPL version 2) you want to use this library.  
     138This software is licensed under a dual license system (MIT or GPL version 2). 
     139This means you are free to choose with which of both licenses (MIT or 
     140GPL version 2) you want to use this library. 
    141141 
    142142The license texts of the MIT license and the GPL version 2 are as follows: 
     
    144144 
    145145## MIT License 
    146   
     146 
    147147 Permission is hereby granted, free of charge, to any person obtaining a 
    148148 copy of this software and associated documentation files (the "Software"), 
     
    151151 and/or sell copies of the Software, and to permit persons to whom the 
    152152 Software is furnished to do so, subject to the following conditions: 
    153   
     153 
    154154 The above copyright notice and this permission notice shall be included in 
    155155 all copies or substantial portions of the Software. 
    156   
     156 
    157157 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
    158158 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
     
    456456the "copyright" line and a pointer to where the full notice is found. 
    457457 
    458     <Html5shiv, The HTML5 Shiv enables use of HTML5 sectioning elements in  
    459     legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9,  
     458    <Html5shiv, The HTML5 Shiv enables use of HTML5 sectioning elements in 
     459    legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9, 
    460460    Safari 4.x (and iPhone 3.x), and Firefox 3.x.> 
    461461    Copyright (C) 2014  Alexander Farkas (aFarkas) 
     
    899899library.  If this is what you want to do, use the GNU Lesser General 
    900900Public License instead of this License. 
     901 
     902/* ------------------------------------------------------------------------- * 
     903 * jqeury.fitvid.js License 
     904/* ------------------------------------------------------------------------- */ 
     905 
     906Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com 
     907Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ 
     908Released under the WTFPL license - http://sam.zoy.org/wtfpl/ 
     909 
     910/* ------------------------------------------------------------------------- * 
     911 * jqeury.flexslider.js License 
     912/* ------------------------------------------------------------------------- */ 
     913                    GNU GENERAL PUBLIC LICENSE 
     914                       Version 2, June 1991 
     915 
     916 Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/> 
     917 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 
     918 Everyone is permitted to copy and distribute verbatim copies 
     919 of this license document, but changing it is not allowed. 
     920 
     921                            Preamble 
     922 
     923  The licenses for most software are designed to take away your 
     924freedom to share and change it.  By contrast, the GNU General Public 
     925License is intended to guarantee your freedom to share and change free 
     926software--to make sure the software is free for all its users.  This 
     927General Public License applies to most of the Free Software 
     928Foundation's software and to any other program whose authors commit to 
     929using it.  (Some other Free Software Foundation software is covered by 
     930the GNU Lesser General Public License instead.)  You can apply it to 
     931your programs, too. 
     932 
     933  When we speak of free software, we are referring to freedom, not 
     934price.  Our General Public Licenses are designed to make sure that you 
     935have the freedom to distribute copies of free software (and charge for 
     936this service if you wish), that you receive source code or can get it 
     937if you want it, that you can change the software or use pieces of it 
     938in new free programs; and that you know you can do these things. 
     939 
     940  To protect your rights, we need to make restrictions that forbid 
     941anyone to deny you these rights or to ask you to surrender the rights. 
     942These restrictions translate to certain responsibilities for you if you 
     943distribute copies of the software, or if you modify it. 
     944 
     945  For example, if you distribute copies of such a program, whether 
     946gratis or for a fee, you must give the recipients all the rights that 
     947you have.  You must make sure that they, too, receive or can get the 
     948source code.  And you must show them these terms so they know their 
     949rights. 
     950 
     951  We protect your rights with two steps: (1) copyright the software, and 
     952(2) offer you this license which gives you legal permission to copy, 
     953distribute and/or modify the software. 
     954 
     955  Also, for each author's protection and ours, we want to make certain 
     956that everyone understands that there is no warranty for this free 
     957software.  If the software is modified by someone else and passed on, we 
     958want its recipients to know that what they have is not the original, so 
     959that any problems introduced by others will not reflect on the original 
     960authors' reputations. 
     961 
     962  Finally, any free program is threatened constantly by software 
     963patents.  We wish to avoid the danger that redistributors of a free 
     964program will individually obtain patent licenses, in effect making the 
     965program proprietary.  To prevent this, we have made it clear that any 
     966patent must be licensed for everyone's free use or not licensed at all. 
     967 
     968  The precise terms and conditions for copying, distribution and 
     969modification follow. 
     970 
     971                    GNU GENERAL PUBLIC LICENSE 
     972   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 
     973 
     974  0. This License applies to any program or other work which contains 
     975a notice placed by the copyright holder saying it may be distributed 
     976under the terms of this General Public License.  The "Program", below, 
     977refers to any such program or work, and a "work based on the Program" 
     978means either the Program or any derivative work under copyright law: 
     979that is to say, a work containing the Program or a portion of it, 
     980either verbatim or with modifications and/or translated into another 
     981language.  (Hereinafter, translation is included without limitation in 
     982the term "modification".)  Each licensee is addressed as "you". 
     983 
     984Activities other than copying, distribution and modification are not 
     985covered by this License; they are outside its scope.  The act of 
     986running the Program is not restricted, and the output from the Program 
     987is covered only if its contents constitute a work based on the 
     988Program (independent of having been made by running the Program). 
     989Whether that is true depends on what the Program does. 
     990 
     991  1. You may copy and distribute verbatim copies of the Program's 
     992source code as you receive it, in any medium, provided that you 
     993conspicuously and appropriately publish on each copy an appropriate 
     994copyright notice and disclaimer of warranty; keep intact all the 
     995notices that refer to this License and to the absence of any warranty; 
     996and give any other recipients of the Program a copy of this License 
     997along with the Program. 
     998 
     999You may charge a fee for the physical act of transferring a copy, and 
     1000you may at your option offer warranty protection in exchange for a fee. 
     1001 
     1002  2. You may modify your copy or copies of the Program or any portion 
     1003of it, thus forming a work based on the Program, and copy and 
     1004distribute such modifications or work under the terms of Section 1 
     1005above, provided that you also meet all of these conditions: 
     1006 
     1007    a) You must cause the modified files to carry prominent notices 
     1008    stating that you changed the files and the date of any change. 
     1009 
     1010    b) You must cause any work that you distribute or publish, that in 
     1011    whole or in part contains or is derived from the Program or any 
     1012    part thereof, to be licensed as a whole at no charge to all third 
     1013    parties under the terms of this License. 
     1014 
     1015    c) If the modified program normally reads commands interactively 
     1016    when run, you must cause it, when started running for such 
     1017    interactive use in the most ordinary way, to print or display an 
     1018    announcement including an appropriate copyright notice and a 
     1019    notice that there is no warranty (or else, saying that you provide 
     1020    a warranty) and that users may redistribute the program under 
     1021    these conditions, and telling the user how to view a copy of this 
     1022    License.  (Exception: if the Program itself is interactive but 
     1023    does not normally print such an announcement, your work based on 
     1024    the Program is not required to print an announcement.) 
     1025 
     1026These requirements apply to the modified work as a whole.  If 
     1027identifiable sections of that work are not derived from the Program, 
     1028and can be reasonably considered independent and separate works in 
     1029themselves, then this License, and its terms, do not apply to those 
     1030sections when you distribute them as separate works.  But when you 
     1031distribute the same sections as part of a whole which is a work based 
     1032on the Program, the distribution of the whole must be on the terms of 
     1033this License, whose permissions for other licensees extend to the 
     1034entire whole, and thus to each and every part regardless of who wrote it. 
     1035 
     1036Thus, it is not the intent of this section to claim rights or contest 
     1037your rights to work written entirely by you; rather, the intent is to 
     1038exercise the right to control the distribution of derivative or 
     1039collective works based on the Program. 
     1040 
     1041In addition, mere aggregation of another work not based on the Program 
     1042with the Program (or with a work based on the Program) on a volume of 
     1043a storage or distribution medium does not bring the other work under 
     1044the scope of this License. 
     1045 
     1046  3. You may copy and distribute the Program (or a work based on it, 
     1047under Section 2) in object code or executable form under the terms of 
     1048Sections 1 and 2 above provided that you also do one of the following: 
     1049 
     1050    a) Accompany it with the complete corresponding machine-readable 
     1051    source code, which must be distributed under the terms of Sections 
     1052    1 and 2 above on a medium customarily used for software interchange; or, 
     1053 
     1054    b) Accompany it with a written offer, valid for at least three 
     1055    years, to give any third party, for a charge no more than your 
     1056    cost of physically performing source distribution, a complete 
     1057    machine-readable copy of the corresponding source code, to be 
     1058    distributed under the terms of Sections 1 and 2 above on a medium 
     1059    customarily used for software interchange; or, 
     1060 
     1061    c) Accompany it with the information you received as to the offer 
     1062    to distribute corresponding source code.  (This alternative is 
     1063    allowed only for noncommercial distribution and only if you 
     1064    received the program in object code or executable form with such 
     1065    an offer, in accord with Subsection b above.) 
     1066 
     1067The source code for a work means the preferred form of the work for 
     1068making modifications to it.  For an executable work, complete source 
     1069code means all the source code for all modules it contains, plus any 
     1070associated interface definition files, plus the scripts used to 
     1071control compilation and installation of the executable.  However, as a 
     1072special exception, the source code distributed need not include 
     1073anything that is normally distributed (in either source or binary 
     1074form) with the major components (compiler, kernel, and so on) of the 
     1075operating system on which the executable runs, unless that component 
     1076itself accompanies the executable. 
     1077 
     1078If distribution of executable or object code is made by offering 
     1079access to copy from a designated place, then offering equivalent 
     1080access to copy the source code from the same place counts as 
     1081distribution of the source code, even though third parties are not 
     1082compelled to copy the source along with the object code. 
     1083 
     1084  4. You may not copy, modify, sublicense, or distribute the Program 
     1085except as expressly provided under this License.  Any attempt 
     1086otherwise to copy, modify, sublicense or distribute the Program is 
     1087void, and will automatically terminate your rights under this License. 
     1088However, parties who have received copies, or rights, from you under 
     1089this License will not have their licenses terminated so long as such 
     1090parties remain in full compliance. 
     1091 
     1092  5. You are not required to accept this License, since you have not 
     1093signed it.  However, nothing else grants you permission to modify or 
     1094distribute the Program or its derivative works.  These actions are 
     1095prohibited by law if you do not accept this License.  Therefore, by 
     1096modifying or distributing the Program (or any work based on the 
     1097Program), you indicate your acceptance of this License to do so, and 
     1098all its terms and conditions for copying, distributing or modifying 
     1099the Program or works based on it. 
     1100 
     1101  6. Each time you redistribute the Program (or any work based on the 
     1102Program), the recipient automatically receives a license from the 
     1103original licensor to copy, distribute or modify the Program subject to 
     1104these terms and conditions.  You may not impose any further 
     1105restrictions on the recipients' exercise of the rights granted herein. 
     1106You are not responsible for enforcing compliance by third parties to 
     1107this License. 
     1108 
     1109  7. If, as a consequence of a court judgment or allegation of patent 
     1110infringement or for any other reason (not limited to patent issues), 
     1111conditions are imposed on you (whether by court order, agreement or 
     1112otherwise) that contradict the conditions of this License, they do not 
     1113excuse you from the conditions of this License.  If you cannot 
     1114distribute so as to satisfy simultaneously your obligations under this 
     1115License and any other pertinent obligations, then as a consequence you 
     1116may not distribute the Program at all.  For example, if a patent 
     1117license would not permit royalty-free redistribution of the Program by 
     1118all those who receive copies directly or indirectly through you, then 
     1119the only way you could satisfy both it and this License would be to 
     1120refrain entirely from distribution of the Program. 
     1121 
     1122If any portion of this section is held invalid or unenforceable under 
     1123any particular circumstance, the balance of the section is intended to 
     1124apply and the section as a whole is intended to apply in other 
     1125circumstances. 
     1126 
     1127It is not the purpose of this section to induce you to infringe any 
     1128patents or other property right claims or to contest validity of any 
     1129such claims; this section has the sole purpose of protecting the 
     1130integrity of the free software distribution system, which is 
     1131implemented by public license practices.  Many people have made 
     1132generous contributions to the wide range of software distributed 
     1133through that system in reliance on consistent application of that 
     1134system; it is up to the author/donor to decide if he or she is willing 
     1135to distribute software through any other system and a licensee cannot 
     1136impose that choice. 
     1137 
     1138This section is intended to make thoroughly clear what is believed to 
     1139be a consequence of the rest of this License. 
     1140 
     1141  8. If the distribution and/or use of the Program is restricted in 
     1142certain countries either by patents or by copyrighted interfaces, the 
     1143original copyright holder who places the Program under this License 
     1144may add an explicit geographical distribution limitation excluding 
     1145those countries, so that distribution is permitted only in or among 
     1146countries not thus excluded.  In such case, this License incorporates 
     1147the limitation as if written in the body of this License. 
     1148 
     1149  9. The Free Software Foundation may publish revised and/or new versions 
     1150of the General Public License from time to time.  Such new versions will 
     1151be similar in spirit to the present version, but may differ in detail to 
     1152address new problems or concerns. 
     1153 
     1154Each version is given a distinguishing version number.  If the Program 
     1155specifies a version number of this License which applies to it and "any 
     1156later version", you have the option of following the terms and conditions 
     1157either of that version or of any later version published by the Free 
     1158Software Foundation.  If the Program does not specify a version number of 
     1159this License, you may choose any version ever published by the Free Software 
     1160Foundation. 
     1161 
     1162  10. If you wish to incorporate parts of the Program into other free 
     1163programs whose distribution conditions are different, write to the author 
     1164to ask for permission.  For software which is copyrighted by the Free 
     1165Software Foundation, write to the Free Software Foundation; we sometimes 
     1166make exceptions for this.  Our decision will be guided by the two goals 
     1167of preserving the free status of all derivatives of our free software and 
     1168of promoting the sharing and reuse of software generally. 
     1169 
     1170                            NO WARRANTY 
     1171 
     1172  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 
     1173FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN 
     1174OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 
     1175PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 
     1176OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
     1177MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS 
     1178TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE 
     1179PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 
     1180REPAIR OR CORRECTION. 
     1181 
     1182  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 
     1183WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 
     1184REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 
     1185INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 
     1186OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 
     1187TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 
     1188YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 
     1189PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 
     1190POSSIBILITY OF SUCH DAMAGES. 
     1191 
     1192                     END OF TERMS AND CONDITIONS 
     1193 
     1194            How to Apply These Terms to Your New Programs 
     1195 
     1196  If you develop a new program, and you want it to be of the greatest 
     1197possible use to the public, the best way to achieve this is to make it 
     1198free software which everyone can redistribute and change under these terms. 
     1199 
     1200  To do so, attach the following notices to the program.  It is safest 
     1201to attach them to the start of each source file to most effectively 
     1202convey the exclusion of warranty; and each file should have at least 
     1203the "copyright" line and a pointer to where the full notice is found. 
     1204 
     1205    {description} 
     1206    Copyright (C) {year}  {fullname} 
     1207 
     1208    This program is free software; you can redistribute it and/or modify 
     1209    it under the terms of the GNU General Public License as published by 
     1210    the Free Software Foundation; either version 2 of the License, or 
     1211    (at your option) any later version. 
     1212 
     1213    This program is distributed in the hope that it will be useful, 
     1214    but WITHOUT ANY WARRANTY; without even the implied warranty of 
     1215    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     1216    GNU General Public License for more details. 
     1217 
     1218    You should have received a copy of the GNU General Public License along 
     1219    with this program; if not, write to the Free Software Foundation, Inc., 
     1220    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 
     1221 
     1222Also add information on how to contact you by electronic and paper mail. 
     1223 
     1224If the program is interactive, make it output a short notice like this 
     1225when it starts in an interactive mode: 
     1226 
     1227    Gnomovision version 69, Copyright (C) year name of author 
     1228    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 
     1229    This is free software, and you are welcome to redistribute it 
     1230    under certain conditions; type `show c' for details. 
     1231 
     1232The hypothetical commands `show w' and `show c' should show the appropriate 
     1233parts of the General Public License.  Of course, the commands you use may 
     1234be called something other than `show w' and `show c'; they could even be 
     1235mouse-clicks or menu items--whatever suits your program. 
     1236 
     1237You should also get your employer (if you work as a programmer) or your 
     1238school, if any, to sign a "copyright disclaimer" for the program, if 
     1239necessary.  Here is a sample; alter the names: 
     1240 
     1241  Yoyodyne, Inc., hereby disclaims all copyright interest in the program 
     1242  `Gnomovision' (which makes passes at compilers) written by James Hacker. 
     1243 
     1244  {signature of Ty Coon}, 1 April 1989 
     1245  Ty Coon, President of Vice 
     1246 
     1247This General Public License does not permit incorporating your program into 
     1248proprietary programs.  If your program is a subroutine library, you may 
     1249consider it more useful to permit linking proprietary applications with the 
     1250library.  If this is what you want to do, use the GNU Lesser General 
     1251Public License instead of this License. 
  • magnificient/1.3.8/search.php

    r85551 r85551  
    1616            <!-- Row for main content area --> 
    1717            <div class="small-12 large-8 columns" id="page-content" role="main"> 
    18              
     18 
    1919            <?php if ( have_posts() ) : ?> 
    20              
     20 
    2121                <?php /* Start the Loop */ ?> 
    2222                <?php while ( have_posts() ) : the_post(); ?> 
    2323                    <?php get_template_part( 'content', get_post_format() ); ?> 
    2424                <?php endwhile; ?> 
    25                  
     25 
    2626                <?php else : ?> 
    2727                    <?php get_template_part( 'content', 'none' ); ?> 
    28                  
     28 
    2929            <?php endif; // end have_posts() check ?> 
    30              
     30 
    3131            <?php /* Display navigation to next/previous pages when applicable */ ?> 
    32             <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     32            <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    3333                <nav id="post-nav"> 
    3434                    <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'magnificient' ) ); ?></div> 
     
    4141                <?php get_sidebar(); ?> 
    4242            </aside><!-- /#sidebar --> 
    43          
     43 
    4444<?php get_footer(); ?> 
  • magnificient/1.3.8/style.css

    r85551 r85551  
    11/* 
    22Theme Name:         Magnificient 
    3 Theme URI:          http://www.infismash.com/magnificient-wordpress-theme/ 
    43Description:        Magnificient is a versatile HTML5 responsive WordPress theme based on ZURB's Foundation. Magnificient is a WordPress theme which you can use for your personal blogging website or a story website. Magnificient gives you a clean layout with minimal interface. 
    5 Version:            1.3.7 
     4Version:            1.3.8 
    65Author:             Nirmalya Ghosh 
    76Author URI:         http://infismash.com/ 
    8 Tags:               one-column, two-columns, right-sidebar, left-sidebar, custom-menu, featured-images, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready 
     7Tags:               one-column, two-columns, right-sidebar, left-sidebar, custom-menu, featured-images, full-width-template, post-formats, sticky-post, theme-options, threaded-comments 
    98Text Domain:        magnificient 
    109License:            GNU General Public License v3.0 
  • magnificient/1.3.8/templates/front-page.php

    r85551 r85551  
    1717    <div class="container" role="document"> 
    1818        <div class="row"> 
    19              
     19 
    2020            <!-- content --> 
    2121            <div class="small-12 large-12 columns" id="content" role="main"> 
     
    3434                    <?php else : ?> 
    3535                        <?php get_template_part( 'content', 'none' ); ?> 
    36                     <?php endif; // end have_posts() check ?>    
     36                    <?php endif; // end have_posts() check ?> 
    3737                </div> 
    3838                <!-- /container --> 
     
    4040                <!-- pagination --> 
    4141                <?php /* Display navigation to next/previous pages when applicable */ ?> 
    42                 <?php if ( function_exists('magnificient_pagination') ) { magnificient_pagination(); } else if ( is_paged() ) { ?> 
     42                <?php if ( function_exists('the_posts_pagination') ) { the_posts_pagination(); } else if ( is_paged() ) { ?> 
    4343                    <nav id="post-nav"> 
    4444                        <div class="post-previous"><?php next_posts_link( __( '&larr; Older posts', 'magnificient' ) ); ?></div> 
Note: See TracChangeset for help on using the changeset viewer.