110 reputation
9
bio website SundayEpidemic.com
location Upstate NY
age 45
visits member for 1 year, 5 months
seen 11 hours ago

Knocking on the sky, listening for the sound.


11h
accepted Are there ways of logging in that bypass wp-login.php altogether?
1d
comment Query function not executed between <div> element
For starters, myfunction2() doesn't appear to actually return anything.
2d
comment What exactly do this function declared into functions.php file of a WP theme?
When WP is setting up a page, there is always a main query. But there can be other, secondary queries that run. A common case is that a theme template, widget, plugin or what-have-you will call a second query via $second_query = new WP_query( $args ); in order to cherry pick a certain set of posts for special treatment of some sort. Checking for whether you're querying the main query assures that you don't interfere with any of those other things that may be happening on the page.
2d
comment Wordpress Frontend Check If Current User Is Administrator
Hooks are (or should be) your friends. If you're looking for efficiency, a hook will save you not just lines of code, but hours of aggravation.
2d
awarded  Teacher
2d
answered What exactly do this function declared into functions.php file of a WP theme?
Jul
26
comment Change Static Page content field's width to 100% [Big Brother Theme]
style.css works like any other stylesheet. If you don't have a style definition for an element/class/id you want, just add one. Something like .content {width:100%;}. If you need help with how CSS works, you might start reading the w3schools tutorial or any number of others.
Jul
26
awarded  Commentator
Jul
26
comment Change Static Page content field's width to 100% [Big Brother Theme]
Your problem seems to be more about how to adjust the CSS than with WordPress.
Jul
24
revised Are there ways of logging in that bypass wp-login.php altogether?
added 703 characters in body
Jul
24
comment Are there ways of logging in that bypass wp-login.php altogether?
Thanks, and yes, it did turn out to be XML-RPC. I've gone directly to cutting off access to it via .htaccess in this case where the abuse has been so intense. For routine disabling on other sites (where I'll want a convenient way to enable/disable from the Dashboard), I'll sure keep your plug-in handy.
Jul
24
answered Are there ways of logging in that bypass wp-login.php altogether?
Jul
23
comment Are there ways of logging in that bypass wp-login.php altogether?
Yes, these are above the WP rewrite rules. And I've been over the codex security article. I'm beginning to think the server is compromised. (It's a shared server, and I don't have access to the logs.) It's especially curious that I get login attempts even when the wp-login file isn't even executable. How can that happen?
Jul
23
comment Are there ways of logging in that bypass wp-login.php altogether?
.htaccess lines for filter added in edit above. Thanks. When I comment out my ip, it blocks me.... but apparently not everyone.
Jul
23
revised Are there ways of logging in that bypass wp-login.php altogether?
added 374 characters in body
Jul
23
asked Are there ways of logging in that bypass wp-login.php altogether?
Jul
21
comment Unregistering a Sidebar in Child Theme
Your parent theme is probably _doing_it_wrong() by calling the sidebar directly from functions.php instead of defining them in a function and calling them via the widgets-init hook. If that's the case then unregistering via the widgets-init hook isn't going to work. I'm not sure if trying a different hook for your removal function (after_setup_theme, maybe?) would work, and even if it did, the whole thing would be highly unorthodox and may result in other problems down the road, so proceed with caution!
Jul
21
comment Is it possible to create an empty page template and build it choosing between custom components?
A starting basic knowledge about how WordPress templates work is on the WP codex here: Stepping into Templates. To get more specific about loading different kinds of content depending on what it is, you'll also need to read up on Template Hierarchy and Category Templates. I'd suggest studying that, doing a little experimentation, then asking more specifically when/where you get stuck.
Jul
20
answered Block post updates and deletion after a set period
Jul
16
awarded  Scholar