Forum Replies Created
-
Author
-
ImGParticipant
Hi, After logging in also the custom link what i created with class “show-login” is still showing in menu. I request you to fix why the login menu item under buddyapp section redirects to default wordpress login page instead of login popup or please give me any other solution!
ImGParticipantHi, The menu item from buddyapp section also redirects to default wordpress login page only, but i don’t want to use that class option since when the cursor hovers over the link which uses login popup class, the cursor is not selecting the item to click ( Cursor arrow not transforms to hand ), Any solution!
ImGParticipantThe line number on functions.php now changed to 2789 from 2695 after updating WordPress to later version. In mobile the profile opens some time.Awating solution !.
November 24, 2015 at 17:45 in reply to: Cover image not showing after the update of buddypress cover photo plugin #88811ImGParticipantUpdated Cover photo plugin, issues solved.
September 23, 2015 at 15:57 in reply to: How to hide menu item under "My account" profile menu for logged out users #79115ImGParticipantHi @laura, I’m not able to understand your answer for the first question, i already copied parent theme header.php to child theme, then at the end in that copied file i have added the code given by you. Now my problem is whenever header.php of parent theme is updated i need copy that header.php to child theme for all future updates and i have to include the code given by you in copied header.php for each update, Any solution for avoiding future work during update?
September 22, 2015 at 17:03 in reply to: How to hide menu item under "My account" profile menu for logged out users #78904ImGParticipantHi @laura, It works great! but i have two questions
1. Whenever header.php is updated i need to copy the updated header.php to paste in kleo child theme and also i need to include the code given by you for each update of header.php. So can you please provide me the code which does the same function from functions.php of child theme to avoid repeated work because of update?
2. If i want to include one more menu item under “My Account” means, whether i need to include the menu item id in new set of code or any possibility to include the id in already existing set of codes?
Thank you for your continual support.
September 21, 2015 at 18:44 in reply to: How to hide menu item under "My account" profile menu for logged out users #78754ImGParticipantThis reply has been set as private.ImGParticipantMy php5.ini file was changed yesterday with additional lines
COPY CODEcgi.fix_pathinfo=1 date.timezone=America/Phoenix
Any problem with these lines?
May 21, 2015 at 06:19 in reply to: Custom post type meta not showing on single posts and post archieves #59691ImGParticipantHi, I have placed entire kleo_entry_meta() function but it is not working, i thing if it works it will work for project cpt, for other post type it won’t work, Here is the code that i have placed in functions.php`if ( ! function_exists( ‘kleo_entry_meta’ ) ) :
/**
* Prints HTML with meta information for current post: categories, tags, permalink, author, and date.
* Create your own kleo_entry_meta() to override in a child theme.
* @since 1.0
*/
function kleo_entry_meta($echo=true, $att=array()) {global $kleo_config;
$meta_list = array();
$author_links = ”;
$meta_elements = sq_option( ‘blog_meta_elements’, $kleo_config[‘blog_meta_defaults’] );if (get_post_type() == ‘project’) {
$categories_list = get_the_term_list( $post->ID, ‘project_categories’, ”, ‘, ‘ );
} else {
// Translators: used between list items, there is a space after the comma.
if ( in_array( ‘categories’, $meta_elements ) ) {
$categories_list = get_the_category_list(__(‘, ‘, ‘kleo_framework’));
}
}// Translators: used between list items, there is a space after the comma.
if ( in_array(‘tags’, $meta_elements ) ) {
$tag_list = get_the_tag_list(”, __(‘, ‘, ‘kleo_framework’));
}$date = sprintf( ‘<a href=”%1$s” rel=”bookmark” class=”post-time”>’ .
‘<time class=”entry-date” datetime=”%2$s”>%3$s</time>’ .
‘<time class=”modify-date hide hidden updated” datetime=”%4$s”>%5$s</time>’ .
‘</a>’,
esc_url( get_permalink() ),
esc_attr( get_the_date( ‘c’ ) ),
esc_html( get_the_date() ),
esc_html( get_the_modified_date( ‘c’ ) ),
esc_html( get_the_modified_date() )
);`
Any solution!May 20, 2015 at 06:15 in reply to: Custom post type meta not showing on single posts and post archieves #59527ImGParticipantHi, Can you tell me in which file kleo_entry_meta function is located?
May 19, 2015 at 06:37 in reply to: Custom post type meta not showing on single posts and post archieves #59370ImGParticipantHi the code what you have given doesn’t retrieve any category attached to Projects CPT, I have placed this code in functions.php of child theme`
if (get_post_type() == ‘project’) {
$categories_list = get_the_term_list( $post->ID, ‘project_categories’, ”, ‘, ‘ );
} else {
// Translators: used between list items, there is a space after the comma.
if ( in_array( ‘categories’, $meta_elements ) ) {
$categories_list = get_the_category_list(__(‘, ‘, ‘kleo_framework’));
}
}`
Any solution!May 17, 2015 at 08:28 in reply to: Custom post type meta not showing on single posts and post archieves #59162ImGParticipantThis reply has been set as private.ImGParticipantThamks @sharmstr, it works, these six lines of codes avoids me to install another plugin in my site as i have already installed to many plugins, but i have the same sidebar for Wiki single cpt,wiki categories,wiki archives, wiki tags. What modification i have to do in the given code for having individual sidebars for wiki archives,wiki categories, wiki tags. Any solution!
ImGParticipantAs i created sidebar through “Sidebars” section, i don’t know id and name of existing sidebar.Where to find id,name of main sidebar and sidebar that i have created? Please give me the sample code!
February 17, 2015 at 13:38 in reply to: Browser title and SEO title problem with root profile url #46358ImGParticipantHi, i have place this code in functions.php copied form here
COPY CODEadd_action( 'template_redirect', 'bpdev_wpseo_title_fix_for_bp' ); /** * Remove WP Seo plugin hooks that changes titles * @global type $wpseo_front * @return type */ function bpdev_wpseo_title_fix_for_bp(){ if( ! function_exists( 'initialize_wpseo_front' ) ) return; if( bp_is_blog_page() ) return; //we will remove the title generation by wp seao and the title generated by BuddyPress will be used automatically global $wpseo_front; //remove the title generator remove_filter('wp_title', array($wpseo_front,'title'),15, 3 ); if( has_action( 'wp_footer', array( $wpseo_front, 'flush_cache' ) ) ) remove_action( 'wp_footer', array( $wpseo_front, 'flush_cache' ) ); }
It looks like the problem i have mentioned above is solved, but placing this code in functions.php will make any incompatibility with your theme? please test it and give me the assurance.
ImGParticipantHi, thanks @Abe and @iusethemes for your support, I will try with attached files and suggested plugin,i hope there won’t be any issues.
ImGParticipantHi, about more than one day of head ache, now our team found that your theme is not compatible with SSL, we have written these codes in wp-config.php (define(‘FORCE_SSL_ADMIN’, true);define(‘FORCE_SSL_LOGIN’, true);), that’s why the login popup does not work, now we have removed these lines,popup login works, you may check our website’s members directory with and without SSL to see the difference of styles due to incompatibility with SSL. Thanks for your awesome design.
-
AuthorPosts