Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • not3not4

    (@not3not4)

    @rixeo thanks for the quick reply. I also checked the Cron option but no change.

    Further, my credit card was charged on my test transaction, but the transaction has not yet appeared in Pesapal, so I wonder if there is actually a problem sending the transaction to Pesapal?

    I will get in touch with Pesapal ASAP.

    not3not4

    (@not3not4)

    @rixeo, I am having the same issue, using live Pesapal integration (demo.pesapal.com mobile money generator isn’t working for me so haven’t been able to test that way). Has this been updated? Thanks!

    Thread Starter not3not4

    (@not3not4)

    Thank you so much for following up on this! My site is instantly improved!

    roctimo,

    The date is stored just as PHP likes it: as a unix timestamp, which is seconds since 1970, hence the 1278547200 you’re seeing. All you need is the PHP date() function, which will convert that time (http://php.net/manual/en/function.date.php). Give the date() function the format you want and the timestamp and it will format it for you.

    For example:

    <?php
    $show_date = get_post_meta($post->ID, 'show_date', true); //retrieve the date meta value
    echo date("n/j/y", $show_date); //format the date meta value using the PHP date() function
    ?>

    I think this is better than using EPT’s built-in <?php the_ept_field(‘date’); ?> function because (1) that gives you a lot of crap around the value, and (2) you’re locked into EPT’s date formatting.

    First of all, thanks so much to the developers for this great plugin.

    I second Mr. Shiv’s request #3 to use “the default category set (i.e. the categories previously defined for regular posts) for new custom types.”

    I attempted to do this in the EPT interface by going into my custom post type > Add category set > Name = ‘Categories’, System key = ‘category’ to match the built-in Categories taxonomy. This almost worked: the built-in Categories taxonomy appeared under my custom post type, which I wanted, but also removed Categories from my regular posts, which I did not want. Same goes for Post Tags. I also attempted to use the register_post_type() function in my functions.php file to register Post Tags and Categories with my custom post type:

    add_action( 'init', 'create_my_post_types' );
    
    function create_my_post_types() {
    	register_post_type( 'photos', //my custom post type
    		array(
    			'public' => true, //needed to make my custom post type appear in WP admin
    			'taxonomies' => array( 'post_tag', 'category'), //associates these taxonomies with my custom post type
    		)
    	);
    }

    That kind of worked but also caused some unwanted interactions with EPT.

    Also confusing this issue is the terminology in EPT. What EPT calls “Category Sets” are really taxonomies, are they not? Does the “Add category set” button actually register a custom taxonomies? Or is EPT doing something else entirely behind the scenes?

    Thank you urbn! That worked perfectly.

Viewing 6 replies - 1 through 6 (of 6 total)