WraithKenny
Forum Replies Created
-
Forum: Plugins
In reply to: [Gravatar Favicon] [Plugin: Gravatar Favicon] new gravatar picture appearedwhat’s that mean… need more info
Forum: Plugins
In reply to: Gravatar Favicon will not removeUse ftp, see if there is a favicon.ico file in the root of your site. delete it.
Forum: Requests and Feedback
In reply to: HTTPS, SSL, WP_CONTENT_URLAlso, I believe the functions at https://codex.www.ads-software.com/Determining_Plugin_and_Content_Directories are sensitive to ssl. So using plugins_url() for example will return https:// links.
Forum: Requests and Feedback
In reply to: HTTPS, SSL, WP_CONTENT_URLPlugins that enqueue scripts do so as the codex and the source code suggests. Unfortunately this means full urls.
WordPress default scripts, since the location in known, passes relative urls, “/wp-includes/js/jquery/jquery.js”. The solution is for plugins to do the same.
Instead of https://www.example.com/wp-content/plugins/something/custom.js”, pass “/wp-content/plugins/something/custom.js”.
This means that plugin authors that use
WP_PLUGIN_URL
andWP_CONTENT_URL
should manually remove “https://www.example.com”Forum: Fixing WordPress
In reply to: assistance with update_post_meta issueThe ticket is saying that it’s a new feature of FireFox: Pre-fetching the rel=”next”
Forum: Fixing WordPress
In reply to: Simple get_term_by questionI didn’t find any documentation on those, and I don’t know where it should go in the codex, so I put it here.
Forum: Fixing WordPress
In reply to: Simple get_term_by questionAlso, if you just need the
term_id
, you could use$wp_query->get_queried_object_id()
Additionally, the complete list of the available variables of
term_object
are:'term_id'
'name'
'description'
'slug'
'count'
'parent'
'term_group'
'taxonomy'
The is
filter
but I’m pretty sure it is a function call and is defaulted to empty. You should mess with that.Forum: Requests and Feedback
In reply to: Potential www.ads-software.com Improvement ProjectsDocumentation updates are interesting
Forum: Fixing WordPress
In reply to: Have I been hacked? Username: “amin”Just FYI:
For file permissions on RackSpaceCloud look to https://cloudsites.rackspacecloud.com/index.php/File_Permissions
Note that permissions are different then the default WP install permissions, where in XYZ, Z should almost always be 0.
Forum: Fixing WordPress
In reply to: Have I been hacked? Username: “amin”the hack alters (writes to) plugins and themes. Blaming it on a plugin or theme at this point is crazy, since after infection any plugin could have the code. default was hacked in one install, and in another a completely custom theme that I wrote. Akismet was hacked in one install, a zip written to a theme’s image folder, the main index.php was hacked on one… Database entries including the firstname field of cloned users, post entries, and options meta have been affected. This thing is all over the place.
Forum: Themes and Templates
In reply to: Help – I’ve broken something!shot in the dark, but make sure you don’t have a closing
?>
in your functions file or that there is no white-space after the?>
in any of your modified php files.Forum: Themes and Templates
In reply to: blank theme / framework – what’s the new hotness?It’s not a “blank” but the TwentyTen theme is the new hotness ??
You could try Thematic or Hybrid for something closer but newer then Sandbox.
Forum: Themes and Templates
In reply to: uploading new themessneak9, you should delete the broken theme before trying to reupload and install it, in case something happened during the first upload. I’m assuming you are uploading a ZIP through the WP admin.
If you get the same issue after, the theme maybe be “broken” (usually the style.css file doesn’t have the right commented information.) Open the ZIP you have and make sure it actually contains a file named style.css.
Forum: Themes and Templates
In reply to: Cant find the feature image option with the ‘structure’ themeI’m pretty sure that Structure doesn’t work like the TwentyTen theme, in which you upload the Featured image to each page and post to include it in the header.
Instead, I think in Structure, you put
<img alt="Example ad" src="/wp-content/uploads/2009/10/header-ad.jpg">
in a text widget in the appropriate widget area.The Featured image header is a very new feature that theme developers would have to add to their themes.
Also, check https://themehybrid.com/community/forum/child-themes for more.
Forum: Themes and Templates
In reply to: how to add a background image to a particular page?If you are authoring the Theme itself you could make a custom template page with a class added to the body tag. You’d then select the template for each page in training.
You could use
<body <?php body_class(); ?>>
which would output certain classes based on what page you are on, for example, if you are on a page with ID 42, the body tag would have the class “page-id-42” so in your css file addbody.page-id-42 {background-color: #ccc;}
. Then you could do that for each training page.