Tag: WordPress

  • Why is my WordPress site not loading? – SpinupWP

    Why is my WordPress site not loading?

  • How to Test and Interpret WordPress Site Performance – Jon Brown

    How to Test and Interpret WordPress Site Performance with Jon Brown — Do Go Chasing Waterfalls

  • Licence key constants in wp-config.php cheatsheet

    I use a few premium WordPress plugins regularly as part of my work. Rather than rely on keeping the licence key in the database (via the relevant plugin’s WordPress admin settings screen), I generally prefer to add the licence key as a constant to a (non git committed) wp-config.php file. This way I don’t have…

  • add_filter shortcuts in WordPress

    Once you start developing more with WordPress you’ll probably find yourself using add_filter to add, modify or remove data. When modifying some text you might do something like the following simple example. https://gist.github.com/nickdavis/6403c81b4ec05ba32afecc97634a589e Sometimes you’ll want to remove text too. https://gist.github.com/nickdavis/fd8a1c75c6f68389f6f087a9f63357df However, you might not be aware (or might forget!) that there’s a shorter way of…

  • Get WordPress menu items only (not the whole menu)

    You might find yourself in the situation where you need to get the menu items for a particular WordPress menu without grabbing the whole menu markup (for example, the nav part) itself or maybe you just want get the menu items data to output in your loop elsewhere. Render the menu items without the nav In…

  • Get a WordPress menu from a specific menu location

    Sometimes you know that you want a WordPress menu associated with a particular menu location, but you don’t know for sure which menu is associated with that location. To find out which menu it is (I typically want to know the slug) you can do something like the following. https://gist.github.com/nickdavis/25d4a733b7c2754ca1e34db31a735bb0

  • Get Post Slug in WordPress

    Get Post Slug in WordPress

  • NoIndex all posts in a WordPress category

    https://github.com/Yoast/wordpress-seo/issues/387#issuecomment-48589725

  • WordPress FTP access without login details (via a plugin)

    Sometimes I find myself in the situation where I need FTP access to a WordPress website but I don’t have the details.

  • How add a specific class to a WordPress gallery

    Source: css – How to specify a class added to my gallery – WordPress Development Stack Exchange