Fking
Forum Replies Created
-
Forum: Plugins
In reply to: SexyBookmarks dir still gives errors in GWT even after chmodding to 777!I went with the robots.txt solution, still waiting for GWT to reflect it.
It shows 403 for me, cause my server is set to show Forbidden 403, when someone tried to access a folder without an index file in it.Still no idea why shareholic plug-in calls those files like that… and causes so much extra trouble to lots of webmasters
Forum: Plugins
In reply to: SexyBookmarks dir still gives errors in GWT even after chmodding to 777!it is for sure set correctly, but still goes forbidden, i believe that’s what the server do when there is no index file and it’s set to not show the contents of folders.
anyway, why google refers to that directory? I see JS calls to it, but why you are calling the directory and not a file within it?
Forum: Plugins
In reply to: SexyBookmarks dir still gives errors in GWT even after chmodding to 777!nope, i was told that permissions would do it
really wanted to avoid the robots.txt wayshareaholic, yes i know, i use it, but i was asking if it could have the option to show the faces of your friends who also liked it.
See, like right here on Wp.org on the bottom it shows the avatars of your friends at facebook who also liked taht page
that’s pretty cooL! ??Do you plan to make an option for the facebook like button, to show the faces of the people who liked it?
Like here:
https://ar-drone.org/
You can see the avatar from facebook of friends of yours that liked the pageThat’s great, thank you so much!
Do we still have to reset the permissions for the spritgen folder?yeah it’s gonna be critical feature and not hard one to add, i dunno why it’s taking them so long, at least the could answer
Forum: Fixing WordPress
In reply to: Controlling the title of the pages with imagesAfter few days testing and hiring an WordPress expert to look into it, we actually found that All in one SEO pack wasn’t allowing the title to be output as set in header.php for the attachment page.
So we added a condition in aioseop.class.php in this function:
function template_redirect() {
global $wp_query;
global $aioseop_options;
$post = $wp_query->get_queried_object();
if( $this->aioseop_mrt_exclude_this_page()){
return;
}
//ADDED BY US this condition only
if(is_attachment()) {
return;
}
if (is_feed()) {
return;
}
if (is_single() || is_page()) {
$aiosp_disable = htmlspecialchars(stripcslashes(get_post_meta($post->ID, ‘_aioseop_disable’, true)));
if ($aiosp_disable) {
return;
}
}
It took me a lot of time and some money to figure out this, so i hope it might be helpful to someone else.
Also it will be great if we can get it included in next version so i don’t have to fix it every time i update this plug-in, and i use it for quite a lot of sites ??Forum: Fixing WordPress
In reply to: How to control the page titles when using the WP galleryAfter few days testing and hiring an WordPress expert to look into it, we actually found that All in one SEO pack wasn’t allowing the title to be output as set in header.php for the attachment page.
So we added a condition in aioseop.class.php in this function:
function template_redirect() {
global $wp_query;
global $aioseop_options;
$post = $wp_query->get_queried_object();
if( $this->aioseop_mrt_exclude_this_page()){
return;
}
//ADDED BY US this condition only
if(is_attachment()) {
return;
}
if (is_feed()) {
return;
}
if (is_single() || is_page()) {
$aiosp_disable = htmlspecialchars(stripcslashes(get_post_meta($post->ID, ‘_aioseop_disable’, true)));
if ($aiosp_disable) {
return;
}
}
It took me a lot of time and some money to figure out this, so i hope it might be helpful to someone else.
Also it will be great if we can get it included in next version so i don’t have to fix it every time i update this plug-in, and i use it for quite a lot of sites ??no word from them ??
Forum: Fixing WordPress
In reply to: Controlling the title of the pages with imagesany ideas what else i might look into?
Forum: Fixing WordPress
In reply to: Controlling the title of the pages with imagesOk now that’s weird. The code for the title from the original twentyten template, placed instead of the code my template uses, generated exactly the same title for those image pages!
Also uploading attachment.php template from twentyten to my template dir, changes the page layout but still outputs the exactly same title!
Now I’m completely lost!Forum: Fixing WordPress
In reply to: Controlling the title of the pages with imagesUnfortunately it doesn’t i’ve sent you email with details so you can see ??
Forum: Themes and Templates
In reply to: Fast help needed, for proper placing of a condition in a code.ok i just posted there as well ??
Forum: Fixing WordPress
In reply to: Controlling the title of the pages with imageshere is what i have for title in my header.php file
<title><?php $metaSettings = get_option("metaSettings"); if(is_home()) { if($metaSettings['sitetitle'] and $metaSettings['sitetitle'] != '') {echo $metaSettings['sitetitle'];} else {bloginfo('name'); }} else { the_title(); }?></title>
i want to add condition for is_attachment, and set custom title when the page is attachment page, what would be the right way to do that?
Thank you!