aberniz
Forum Replies Created
-
[SOLVED] In the LearnDash Course settings, I’ve assigned again the BuddyPress group to that Course. It was already, but I’ve done again, and saved.
Then I’ve gone to the BuddyPress groups, and now it has Members. So now they are connected. Solved!
Forum: Plugins
In reply to: [Enhanced Category Pages] It seems do nothingHi Cip!
Yes, I’ve replaced the content of my theme category.php file with your code. But I don’t see the content that I write in my Categories with your Enhanced Edit.
Can you help me to make it work?
MY ORIGINAL CATEGORY.PHP FILE:
==============================<?php get_header(); ?>
<div class=”content-wrap”>
<div class=”content”>
<?php tie_breadcrumbs() ?>
<?php $category_id = get_query_var(‘cat’) ; ?>
<div class=”page-head”>
<h1 class=”page-title”>
<?php echo single_cat_title( ”, false ) ?>
</h1>
<?php if( tie_get_option( ‘category_rss’ ) ): ?>
” href=”<?php echo get_category_feed_link($category_id) ?>”>
<?php endif; ?>
<div class=”stripe-line”></div><?php
if( tie_get_option( ‘category_desc’ ) ):
$category_description = category_description();
if ( ! empty( $category_description ) )
echo ‘<div class=”clear”></div><div class=”archive-meta”>’ . $category_description . ‘</div>’;
endif;
?>
</div>
<?php get_template_part( ‘includes/slider-category’ ) ?>
<?php get_template_part( ‘loop’, ‘category’ ); ?>
<?php if ($wp_query->max_num_pages > 1) tie_pagenavi(); ?></div> <!– .content –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>MY FINAL CATEGORY.PHP FILE:
===========================<?php get_header(); ?>
<div class=”content-wrap”>
<div class=”content”>
<?php tie_breadcrumbs() ?><!– HERE STARTS YOUR CODE –>
<?php
global $enhanced_category;
//get enhanced category post and set it up as global current post
$enhanced_category->setup_ec_data();
?>
<!– enhanced category content –>
<?php the_post_thumbnail(“medium”); ?><?php get_template_part( ‘content’, ‘page’ ); ?>
<!– custom fields –>
<?php
get_post_custom();
?><?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
<!– HERE ENDS YOUR CODE –></div> <!– .content –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>Forum: Plugins
In reply to: [Widget Logic] It doesn't work with Widget Shortcode pluginI solved it with code in my single.php:
<?php if ( !is_user_logged_in() ) {
echo do_shortcode(‘[widget id=”text-html-widget-32″]’);
} ?>Forum: Plugins
In reply to: [Widget Logic] it doesn't work in the body of a post (only in sidebars)I just added it with code in my single.php:
<?php if ( !is_user_logged_in() ) {
<!——— SOMETHING ———->
} ?>Forum: Plugins
In reply to: [Polylang] Missing "Strings Translation" of categories in Home PageHi thanks!
I’ve talked with the theme author, they say it is not an easy solution. I’ve added it as a development request for future improvements.
So I will try the second option. The point is that this are label/cats in the Home Builder, not a widget. So I am not sure if this second option will work.
Forum: Plugins
In reply to: [Polylang] Missing "Strings Translation" of categories in Home PageYes, here it is:
https://images.projectmanagers.org/docs/wpml-config.xmlForum: Plugins
In reply to: [Polylang] Missing "Strings Translation" of categories in Home PageNo, it is a premium theme.
Forum: Plugins
In reply to: [Polylang] Missing "Strings Translation" of categories in Home PageHi!, here is the screen copy:
https://images.projectmanagers.org/docs/polylang-support.jpgWhen I say categories I don’t mean WP Categories, but the Home Page sections.
Think of this as a Widget for each section. These sections are linked to WP Categories in the theme Home Page Builder. In the screen copy, “Jarida” is the theme. The point is that I only find in Polylang “Strings Translation” 2 of the 5 sections of my Home Page.