WordPress.org

Plugin Directory

Changeset 532932


Ignore:
Timestamp:
04/18/12 16:22:25 (2 years ago)
Author:
ldebrouwer
Message:

Version 0.3.7.1. Fixed the readme file.

Location:
affiliate-press/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • affiliate-press/trunk/affiliate-press.php

    r532924 r532932  
    22/** 
    33 * @package Affiliate_Press 
    4  * @version 0.3.7 
     4 * @version 0.3.7.1 
    55 */ 
    66/* 
     
    99Description: Affiliate Press allows you to set up an affiliate website based on product feeds as easy as 1-2-3. 
    1010Author: ldebrouwer 
    11 Version: 0.3.7 
     11Version: 0.3.7.1 
    1212Author URI: http://lucdebrouwer.nl/ 
    1313*/ 
     
    3232function AP_activation() { 
    3333    include( LDB_AP_PATH . 'affiliate-press-upgrade.php' ); 
    34     update_option( 'LDB_Affiliate_Press_Version', '0.3.7' ); 
     34    update_option( 'LDB_Affiliate_Press_Version', '0.3.7.1' ); 
    3535    wp_schedule_event( time(), 'hourly', 'AP_cronjob' ); 
    3636} 
  • affiliate-press/trunk/readme.txt

    r532924 r532932  
    55Requires at least: 3.3 
    66Tested up to: 3.4 
    7 Stable tag: 0.3.7 
     7Stable tag: 0.3.7.1 
    88 
    99Affiliate Press allows you to set up an affiliate website based on product feeds as easy as 1-2-3. 
     
    3838To load the products into a page template you can use this code. 
    3939<pre> 
    40 <?php 
    4140    $posts = get_posts( array( 'post_type' => 'product' ) ); 
    4241    foreach( $posts as $post ) { 
    4342        setup_postdata( $post ); 
    44 ?> 
    45         <h2><?php the_title(); ?></h2> 
    46         <?php the_post_thumbnail(); ?> 
    47         <?php the_content(); ?> 
    48 <?php 
     43        the_title(); 
     44        the_post_thumbnail(); 
     45        the_content(); 
    4946        if( class_exists( 'LDB_Affiliate_Press' ) ) { 
    5047            $ap = new LDB_Affiliate_Press; 
     
    5249        } 
    5350    } 
    54 ?> 
    5551</pre> 
    5652 
Note: See TracChangeset for help on using the changeset viewer.