Maruti Mohanty
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Twenty Twelve: Word-Break IssuesThanks @alchymyth. It works 🙂
Forum: Themes and Templates
In reply to: add version number to style.css in custom themeGlad that you have figured it out .
Would you mind sharing the snippet, how do you change/control the version of the default style.css ??
Thanks 🙂
Forum: Themes and Templates
In reply to: add version number to style.css in custom themeYou are seeing two stylesheet because one is added by default by wordpress selected theme and you are adding the other.
If you have any custom stylesheet then try something like this
function css_versioning() {
wp_enqueue_style( ‘custom’, get_stylesheet_directory_uri() . ‘/style.css’ , false,filemtime( get_stylesheet_directory() . ‘/custom.css’ ), ‘all’ );
}
add_action( ‘wp_enqueue_scripts’, ‘css_versioning’ );But before that what is your need actually? Why would you need to change the version of the default style.css file
Forum: Themes and Templates
In reply to: Menubar missingYes with the older version you are really missing a lot of things that comes with the present stable version.
Take a backup and try the latest wp
Forum: Plugins
In reply to: [WP Biographia] Lower resolution image when using Buddypress🙂 ..
Hope it helps other users 🙂
Forum: Plugins
In reply to: [WP Biographia] Lower resolution image when using BuddypressHi I have faced a similar problem but not using this plugin but while using buddypress, For all the images which are uploaded and not fetch from gravatar.com … loads a low resolution image.
After a research I found that low resolution image has the image source ending as -bpthumb where as the high resolution one ends with -bpfull and it is all going on in bp-core-avatars.php, few filters are available to change this but didnt work through out the site so I made my own hack. I did it using js and it worked for me .
jQuery('.avatar').each(function(){ // Replacing the -bpthumb with -bpfull for higher resolution images. var source = jQuery(this).attr('src'); var startIndex = source.lastIndexOf('-'); var endIndex = source.lastIndexOf('.'); var removeValue = source.substring(startIndex, endIndex); if('-bpthumb' == removeValue){ var newSource = source.replace(removeValue, '-bpfull'); jQuery(this).attr('src', newSource); } });You can change the selector if it doesnt work for you, but it should
Hope it helps 🙂Thanks Milan … I have updated my plugin and it works 🙂
Forum: Plugins
In reply to: [GD bbPress Attachments] undefined function d4p_bbpress_version()Thanks @milan it worked 🙂
Forum: Plugins
In reply to: [GD bbPress Attachments] undefined function d4p_bbpress_version()I too now get the fatal error PHP Fatal error: Call to undefined function bbp_get_dynamic_roles() in …/wp-content/plugins/gd-bbpress-attachments/code/shared.php on line 57
and the reason is the function bbp_get_dynamic_roles() is missing from the GD bbPress Attachments plugin..
Any Help will be highly appreciated.
Forum: Fixing WordPress
In reply to: Child theme – how to call a .php file in a subfolder?@wpyogi .. Yeah I understand that, but what I see is no thread related to this issue has been solved, So I was trying to know if the concerned person has found a tweak or so.
Regarding the link to the site, I dont think this is required as this is a problem which can easily be visualised.@andrew Thanks for replying … But this is exactly I have tried. But the files in the sub-directories in the child theme doesnt seem to get override. Cause I tried by simply replacing a text and it doesnt work.
Have u really made it work this way?Any more inputs will help…
Thanks for replying … looking for some helpForum: Fixing WordPress
In reply to: Child theme – how to call a .php file in a subfolder?@demonboy Have U figured out a solution? I am in a similar problem. How can we edit/modify a file in the sub directory for a child theme.
Even if we mirror the same folder structure the modifications done in a file in a sub directory doesnt reflect?
Any help will be highly appreciated
Thanks in Advance
Forum: Fixing WordPress
In reply to: Installation problem with BuddyPress multi network pluginJust checked ,… Whenever i log into my sub sites … i get the following errors in my log file===
WordPress database error Table ‘wp_multisite.wp_3_bp_user_blogs’ doesn’t exist for query SELECT COUNT(DISTINCT b.blog_id) FROM wp_3_bp_user_blogs b LEFT JOIN wp_blogs wb ON b.blog_id = wb.blog_id WHERE wb.public = 1 AND wb.deleted = 0 AND wb.spam = 0 AND wb.mature = 0 AND wb.archived = ‘0’ AND user_id = 0 made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, bp_setup_nav, do_action(‘bp_setup_nav’), call_user_func_array, BP_Blogs_Component->setup_nav, bp_blogs_total_blogs_for_user, BP_Blogs_Blog::total_blog_count_for_user
===
Any idea what is this about?Forum: Fixing WordPress
In reply to: Installation problem with BuddyPress multi network plugin@mercime Thats exactly what I have done … i have only installed BP and some plugins related to BP like BP toolbar, BP template pack and such and I am working on a theme made compatible with ur help few days back. Still when i login and try post something on the sub sites i get the error whereas when i log in, in the main site as the admin n post something it works … I am not able to post anything on the subsites after activating this plugin … Any idea?
fine then use the CNAME but the CNAME should point to ur server.
yes but in the domain mapping you need to provide the ip of the server you have hosted your site in.
If you dont have it please contact your host provider and get it.
It would remain same for any number of sites you add. It just points to the server.