Forum Replies Created

Viewing 15 replies - 691 through 705 (of 1,132 total)
  • I agree with Jan’s stance re: security plugins. Most of them are just scammy piles of junk which cause more problems than they fix.

    I do recommend enforcing a minimum password strength if you have other logged in users though. That way you can make sure everyone has a decent password.
    https://ww.wp.xz.cn/plugins/minimum-password-strength/

    There’s a lot of stuff you can do server side to mitigate things which security plugins try to do too. A lot of them try to block attacks on wp-login.php but end up bogging your site down because the act of logging all the attempts ends up slow the server. Instead, you can try to block them at the web server level. Things like Fail2Ban and IP blocking are useful for this, but are best controlled outside of WordPress.

    I’m guessing the reason my Simple Color box plugin works here, is because it automatically loads the lightbox for all linked images, whereas most of those plugins rely on the link containing rel=”something” hardcoded in the HTML.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Thanks for reporting back with a solution 🙂

    Your method will be loading jQuery twice on the same page. You probably found you needed to do that due to the one bundled with WordPress using non-conflict mode. You can work around that by removing the call to a fresh copy of jQuery and wrapping the code like this:

    <script>
    jQuery(document).ready(function($) {
    	$("a").click(function(){
    		$("a").removeClass("cboxElement");
    	});
    });
    </script>

    I haven’t tested that ^. So if it doesn’t work, then I may have made a syntax error.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Thanks 🙂

    I’m actually recommending users control settings via filters instead of constants. The constants will keep working, I won’t break backwards compatibility for them, but with filters you can more easily control on a per site basis (assuming you have multiple sites running off the same installation).

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    The plugin does work. The front end of your site is just not setup to display it. It would be nice if you changed the rating for us since you seem to be reporting a problem with your site rather than the plugin.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    If you are not a code literate person, then this plugin is probably not for you.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I’ll respond if you ask any questions, it’s just not something I want to be relied on for, hence I listed it as not supported.

    The code in the plugin does work just fine though and should keep working for a very long time into the future. It’s extremely basic under the hood, so there’s not much that can go wrong in it.

    It isn’t coded particularly elegantly. Back when I made it I misunderstood how buffering worked in PHP so it’s hooked into the footer, which is a bit dumb.

    Forum: Reviews
    In reply to: [Unique Headers] Perfect
    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    That’s awesome to hear.

    If you do experience any problems, please let me know 🙂

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    Thanks. I understand that though. But I’m wondering what inside those WordPress core nightlies is triggering that. I’m assuming there is a toggle in there somewhere, but I’m unsure where to find it.

    In the mean time I’m going to just install a nightly to get it working. But I’m just interested to know how the mechanics of it work under the hood if anyone here knows.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Thanks 🙂

    I’ll probably release it as the new official version this weekend then.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Awesome to hear you like it 🙂

    Is there any chance you have tested out the latest test version? I’m in need of someone to confirm that it works.
    https://geek.hellyer.kiwi/2014/11/03/unique-headers/

    Firstly, I am no fan of JetPack. However ….

    Is it spyware? Sort of. But so is WordPress itself since it includes externally hosted files and an API which phones home. If you don’t like this sort of tracking, then you are probably using the wrong platform.

    It is malware? No. It doesn’t do anything malicious. It does what it says it does. I suspect what you call “malicious”, the rest of us call “features”.

    And aside from all of this, the JetPack folks are a really nice bunch. If it were doing something “bad” then I’m confident they’d stop it.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Yes, I do intend to add support for Gravity Forms. I’m hoping to have that implemented within the next month or two.

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    That will be for individual questions. I need to know the question exists before I can subscribe to it.

    Theme Author Ryan Hellyer

    (@ryanhellyer)

    Sorry, but I didn’t see your question until now.

    Below is a replacement header.php file which displays an image instead of text in the header. It doesn’t use the WordPress custom header functionality, but you can always adapt it to use that if you want. Or you can simply change the image URL I’ve used to save coding all that stuff in.

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="main">
     *
     * @package Hellish Simplicity
     * @since Hellish Simplicity 1.1
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <!--[if lt IE 9]>
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    <![endif]-->
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    
    <header id="site-header" role="banner">
    	<div class="hgroup">
    		<img src="http://uploads.ryanhellyer.net/ryan/2012/04/oslo-city1-680x313.jpg" alt="" style="width:100%;height:auto;" />
    	</div><!-- .hgroup -->
    </header><!-- #masthead -->
    
    <div id="main" class="site-main">

    Note: I haven’t tested the above code. So if something doesn’t work, just let me know and I’ll take a closer look for you 🙂

Viewing 15 replies - 691 through 705 (of 1,132 total)