Forum Replies Created

Viewing 15 replies - 91 through 105 (of 119 total)
  • Thread Starter jbkeefer

    (@jbkeefer)

    I removed that setting…which was just copied from the “inspect element” with a tweak to other settings… and there is no difference.

    I even commented out all custom CSS and it’s still has no left margin or padding.

    ??

    I compared css in inspector on your link to mine and there there is no difference in the styles.

    What extensions do you have added to your site…one the customer style plugins perhaps?

    Jamie

    Thread Starter jbkeefer

    (@jbkeefer)

    Tie-a-dye.com

    There is a tweak to col-full in style.css but the margin-left is set to the theme default “auto.”

    Thanks for taking a look.

    Jamie

    In the customizer under header it says:

    “While you can crop images to your liking after clicking Add new image, your theme recommends a header size of 1950 × 500 pixels.”

    Thread Starter jbkeefer

    (@jbkeefer)

    I was unable to get it to work with that hook.

    Put it on back burner and will be back from vacation this week to give it another try with modified priority.

    Thats good news!

    Jamie

    Thread Starter jbkeefer

    (@jbkeefer)

    Attempts to use:

    function do_registration_redirect() {
    return home_url( ‘/all-access/’ );
    }

    add_filter( ‘registration_redirect’, ‘do_registration_redirect’ );

    Unsuccessful

    Checking codex to see if this is valid hook

    did you try https://www.yourdomainname.com/wp-admin

    Are you getting an error message?

    Thread Starter jbkeefer

    (@jbkeefer)

    Would updating the class here on subb sites do the trick?

    public static function default_pages() {
    		return apply_filters( 'tml_default_pages', array(
    			'login'        => __( 'Log In'        , 'theme-my-login' ),
    			'logout'       => __( 'Log Out'       , 'theme-my-login' ),
    			'register'     => __( 'Register'      , 'theme-my-login' ),
    			'lostpassword' => __( 'Lost Password' , 'theme-my-login' ),
    			'resetpass'    => __( 'Reset Password', 'theme-my-login' )
    		) );
    	}

    How about a url in place of register:

    'register'     => __( 'Register'      , 'Url of Subsite Registration page' ),

    Thanks again

    Jamie

    Are you sure this theme my login related? Why would ftp be affected by this plugin?

    Any error messages?

    Thread Starter jbkeefer

    (@jbkeefer)

    Wishlist…

    Your plugin is feature rich. As I continue to use with client I will pass any insights along.

    A couple css things that were tough and might beenefit from front end configuration:

    The multiple areas that needed to have background color CSS applied to get unity across whole page and widget areas.

    Buttons having shadows and animation – easier way to turn all that off. Maybe I missed it though.

    That’s all that comes to mind,

    Jamie

    Thread Starter jbkeefer

    (@jbkeefer)

    Bet,

    Thank you so much for your reply.

    Your insight is exactly what I was looking for.

    I use an mobile app plugin that requires unique domain names to address the unique content, and ti sounds like multisite is not the answer.

    I will look into the RSS option.

    In a similar solution I was considering abandoning the mobile app plugin and creating a native app that draws on the posts via the JSON API, but perhaps RSS is an option that will allow me to be up and running more easily.

    Thank you again and have a happy holiday, if you’re into that stuff! ??

    Jamie

    Thread Starter jbkeefer

    (@jbkeefer)

    Fix no longer required with theme update.

    marking resolved.

    Thread Starter jbkeefer

    (@jbkeefer)

    Latest update fixed issues.

    could be a lot of things msultan.

    blank page, first thing that comes to mind is whether you have a static page selected as “home” or if you used the default home page template.

    Also, was you home page one big slider? Because the slider wasn’t working for me, unnable to load the images so it appears empty.

    Give more info.

    A number of the customization features are glitchy.

    Hoping the update will be thorough.

    Any news?

    Thread Starter jbkeefer

    (@jbkeefer)

    <?php
    /**
     * Plugin Name: Expired Post Delete
     * Plugin URI: https://keefermedia.com/expired-post-delete/
     * Description: Delete expired posts based on date field custom data.
     * Version: 1.0.0
     * Author: Jamie Keefer
     * Author URI: https://keefermedia.com
     * Network: Optional. Whether the plugin can only be activated network wide. Example: true
     * License: A short license name. Example: GPL2
     */
    
     /*  Copyright 2014  Jamie Keefer  (email : jamie@keefermedia.com)
    
        This program is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License, version 2, as
        published by the Free Software Foundation.
    
        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.
    
        You should have received a copy of the GNU General Public License
        along with this program; if not, write to the Free Software
        Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    */
    
    // expired_post_delete hook fires when the Cron is executed
    
    add_action( 'expired_post_delete', 'delete_expired_posts' );
    
    // This function will run once the 'expired_post_delete' is called
    
    function delete_expired_posts() {
    
    $todays_date = current_time('mysql');
    
    $args = array(
    		'post_type' => 'post',
    		'posts_per_page' => -1,
    		'meta_key' => 'date',
    		'meta_query' => array(
    			array(
    				'key' => 'date',
    				'value' => $todays_date,
    				'type' => 'DATE',
    				'compare' => '<'
    				)
    		)
    );
         $posts = new WP_Query( $args );
    
    	// The Loop
    	if ( $posts->have_posts() ) {
    		echo '<ul>';
    		while ( $posts->have_posts() ) {
    			$posts->the_post();
    			wp_delete_post(get_the_ID());
    			echo '<li>' . get_the_title() . '</li>';
    		}
    		echo '</ul>';
    	} else {
    	// no posts found
    	echo "no posts found";
    	}
    /* Restore original Post Data */
    wp_reset_postdata();
    }
    
    // Add function to register event to WordPress init
    add_action( 'init', 'register_daily_post_delete_event');
    
    // Function which will register the event
    function register_daily_post_delete_event() {
        // Make sure this event hasn't been scheduled
        if( !wp_next_scheduled( 'expired_post_delete' ) ) {
            // Schedule the event
            wp_schedule_event( time(), 'daily', 'expired_post_delete' );
        }
    }
    
    ?>
Viewing 15 replies - 91 through 105 (of 119 total)