jbkeefer
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Storefront] Mobile margins too close to edgeI 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
Forum: Themes and Templates
In reply to: [Storefront] Mobile margins too close to edgeTie-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
Forum: Themes and Templates
In reply to: [Storefront] Storefront Max Header SizeIn 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.”
Forum: Plugins
In reply to: [Theme My Login] Redirect to Page after registrationI 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
Forum: Plugins
In reply to: [Theme My Login] Redirect to Page after registrationAttempts 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
Forum: Fixing WordPress
In reply to: Redirect loop has cause me to lose access to….everythingdid you try https://www.yourdomainname.com/wp-admin
Are you getting an error message?
Forum: Plugins
In reply to: [Theme My Login] Question regarding universal loginWould 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
Forum: Plugins
In reply to: [Theme My Login] Does not work with WP 4.1Are you sure this theme my login related? Why would ftp be affected by this plugin?
Any error messages?
Forum: Themes and Templates
In reply to: [evolve] Good job with update!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
Forum: Networking WordPress
In reply to: Is multisite what I want?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
Forum: Themes and Templates
In reply to: [evolve] Using optional slider – where to insert code?Fix no longer required with theme update.
marking resolved.
Forum: Themes and Templates
In reply to: [evolve] Bootstrap Slider – No images, can't upload newLatest update fixed issues.
Forum: Themes and Templates
In reply to: [evolve] Problems customizing theme after updatecould 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.
Forum: Themes and Templates
In reply to: [evolve] Problems customizing theme after updateA number of the customization features are glitchy.
Hoping the update will be thorough.
Any news?
Forum: Hacks
In reply to: WP_Query on post custom date field and delete posts.<?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' ); } } ?>