Syahir Hakim
KeymasterKuala Lumpur, Malaysia
When not perched on my workspace, I tremendously enjoy hiking in the bushes and climbing mountains. They serve as much-needed refuges from the pretense of cities.
Forum Replies Created
-
Admin
Quote:(However, the nuclear bomb thing… well… I felt it rather violent and inappropriate.)Oh, don’t be offended. It’s one of the most popular way of explaining SOPA to the public during the massive online protests. It’s certainly not directed to you or anyone else.
The easiest way to implement the 301 Redirect is by using the
.htaccessfile. See this page for guidance:Admin
Somehow the PinkTheme
style.cssfile is being loaded instead of the Graphene’sstyle.cssfile. Try removing the PinkTheme theme?Actually, WordPress tries to load the
wp-content/themes/PinkTheme/style.cssfile, but couldn’t find it. So something somewhere must have caused WordPress to try to load up that file.Admin
@Tamas, the 404 respond code is there for a reason. It informs the clients (which includes your site’s visitors, search engines, and myriad of other clients) that whatever resource they’re requesting, it can’t be found. Based on this, different clients will respond in different ways.
There was even a case previously (quite a long time ago) when Google actually penalised a site using the Graphene theme for not returning the proper 404 response when a content is not found (and obviously this has been fixed since then).
Therefore, totally eliminating 404 messages in your website is highly not recommended, especially when you’re doing this just to correct a mistake in a single post. It’s like they say, why drop a nuclear bomb when only a precision strike is necessary?
The proper and better way to handle your situation is to use 301 Redirect. In HTTP client-server model, the 301 response code means Moved Permanently.
Respectable search engines will then most likely transfer the ranking from the old page (if any) to the new page, and phase out the old page from search results. If your visitors follow their bookmark of the old page, they’ll simply be redirected to the new page. Simple, and correct.
Admin
Try adding
<br>or<br />instead.Admin
Quote:Should I add the same function, but with a different name, to the secondary file (keeping the same text domain)?Nope. Instead, you should place the function in the plugin’s file that contains the plugin information header. I believe this is the file that has the same name as your plugin’s directory name.
Or you can also include a separate file that contains that function into the plugin’s primary file. Point is, that function must be executed on every page load when the plugin is active (or where the translatable strings appear). How you achieve that is up to you (though there are certainly best practices, such as the ones I described above).
Admin
You can always use CSS to hide the button when it’s not needed. Each post has a unique
idattribute, so you can apply the CSS to specific posts/pages.Admin
With WordPress, you should be using a custom function to translate strings. WordPress uses gettext to translate strings, so you should too.
See this Codex page for more info:
Admin
If you change the theme’s width using the theme’s Column Width options, then you would need to re-upload your header image and it will take the new width.
Admin
The theme works well in IE7 and above, though it may not look exactly the same as Ken mentioned.
As for your site, all the other pages appear fine in IE9 except that registration page, so whatever is causing the issue must be in that page.
Admin
You can add this to your child theme’s
functions.phpfile to modify the excerpt length for the slider:function graphene_custom_slider_excerpt_length(){
graphene_set_excerpt_length( 35 );
}
add_action( 'graphene_before_slider', 'graphene_custom_slider_excerpt_length' );
