Forum Replies Created
-
Author
-
fabienneParticipant
Oh righto I found what you meant – using the ‘Kleo Posts’ option in visual editor. Bingo! No idea why I didn’t think of that myself. Thanks so much, once again.
TourismTribe.com
fabienneParticipantHiya,
Do you mean the archive category page? (sorry can’t find build in category page on the documentation!)TourismTribe.com
fabienneParticipantyou are very special Sharmstr because on my end it still wasn’t working. So I removed the
// Start the Loop.
query_posts(‘cat=136’);And I can now see them all. Phew.
However I still need to not display some categories on the blog page. I read https://archived.seventhqueen.com/forums/topic/how-to-exclude-a-tag-or-category-in-default-blog-page but that didn’t work unfortunately. Any other suggestions?
Ta
TourismTribe.com
fabienneParticipantNo ‘Downloadables’ is the name of the grid element I created π
I thought you had logged in (as i had previously passed on login details) hence your question.Fab
TourismTribe.com
fabienneParticipantHi! Sorry for the delay!
In this instance it is the post title and the custom fields in the grid editor.
I have seen it happen in the posts as well though.
As soon as I see it again (in the posts) I will report back.
The grid element is called ‘Downloadables’TourismTribe.com
fabienneParticipantI am not π I didn’t change a thing so that would be very weird!
TourismTribe.com
fabienneParticipantHi guys,
Thanks again. The problem isn’t fixed but I now remember what i did. I am using the ‘news room’ as the blog functionality but I have limited the category to display to just those posts in the news room (i have pasted the whole blog template file below).
What would i need to alter so that i still can use the pagination properly? Also is there a way to display more than x results? Thanks
here is the bit i changed (lines 108 and 109).
COPY CODE// Start the Loop. query_posts('cat=136');
COPY CODE<?php /** * The main template file. * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * For example, it puts together the home page when no home.php file exists. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package WordPress * @subpackage Kleo * @author SeventhQueen <themesupport@seventhqueen.com> * @since Kleo 1.0 */ get_header(); ?> <?php //Specific class for post listing */ $blog_type = sq_option('blog_type','masonry'); $blog_type = apply_filters( 'kleo_blog_type', $blog_type ); $template_classes = $blog_type . '-listing'; if (sq_option('blog_archive_meta', 1) == 1) { $template_classes .= ' with-meta'; } else { $template_classes .= ' no-meta'; } add_filter('kleo_main_template_classes', create_function('$cls','$cls .=" posts-listing '.$template_classes.'"; return $cls;')); /*************************************************** :: Title section ***************************************************/ //title $title_arr['show_title'] = true; $page_title = kleo_title(); if ( sq_option( 'title_location', 'breadcrumb' ) == 'main' ) { $title_arr['show_title'] = false; } //breadcrumb $title_arr['show_breadcrumb'] = true; if( sq_option( 'breadcrumb_status', 1 ) == 0 ) { $title_arr['show_breadcrumb'] = false; } //extra info if ( sq_option( 'title_info', '' ) == '' ) { $show_info = FALSE; } else { $show_info = TRUE; } //If we have designated a page for latest posts like Blog page if ( get_option( 'page_for_posts' ) ) { $blogpage_id = get_option('page_for_posts'); $page_title = get_the_title( $blogpage_id ); if( get_cfield( 'title_checkbox', $blogpage_id ) == 1 ) { $title_arr['show_title'] = false; } if ( get_cfield( 'hide_info', $blogpage_id ) == 1 ) { $show_info = FALSE; } if( get_cfield( 'hide_breadcrumb', $blogpage_id ) == 1 ) { $title_arr['show_breadcrumb'] = false; } else if ( get_cfield( 'hide_breadcrumb', $blogpage_id ) === '0' ) { $title_arr['show_breadcrumb'] = true; } } $title_arr['title'] = $page_title; if ( ( isset( $title_arr['show_breadcrumb'] ) && $title_arr['show_breadcrumb'] ) || $show_info === TRUE || $title_arr['show_title'] ) { echo kleo_title_section( $title_arr ); } /* END TITLE SECTION */ ?> <?php get_template_part('page-parts/general-before-wrap');?> <?php if (kleo_has_featured_posts() ) { // Include the featured content template. get_template_part( 'featured-content' ); } ?> <?php if ( have_posts() ) : ?> <?php if (sq_option('blog_switch_layout', 0) == 1 ) : /* Blog Layout Switcher */ ?> <?php kleo_view_switch( sq_option( 'blog_enabled_layouts' ), $blog_type ); ?> <?php endif; ?> <?php if ($blog_type == 'masonry') : ?> <div class="row responsive-cols kleo-masonry per-row-<?php echo sq_option( 'blog_columns', 3 );?>"> <?php endif; ?> <?php // Start the Loop. query_posts('cat=136'); while ( have_posts() ) : the_post(); /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ ?> <?php if ( $blog_type != 'standard' ) : get_template_part( 'page-parts/post-content-' . $blog_type ); else: get_template_part( 'content', get_post_format() ); endif; endwhile; if ($blog_type == 'masonry') : ?> </div> <?php endif; ?> <?php // Post navigation. kleo_pagination(); else : // If no content, include the "No posts found" template. get_template_part( 'content', 'none' ); endif; ?> <?php get_template_part('page-parts/general-after-wrap');?> <?php get_footer(); ?>
TourismTribe.com
fabienneParticipantthank goodness for this thread. that’s been driving me insane all day!
TourismTribe.com
fabienneParticipant<a class="vc_control-btn vc_control-btn-edit" href="#" title="Edit Separator"><span class="vc_btn-content"><span class="icon"></span></span></a>
Sorry it’s a bit clearer here
TourismTribe.com
fabienneParticipantPretty much these are the classes missing on the green bars where the pen and edit don’t appear:
<span class=”vc_btn-content”><span class=”icon”></span></span>
Very bizarre
TourismTribe.com
fabienneParticipantEnjoy the rest of your weekend. I did a search but no luck. I’ll wait until it pops back in your mind π
TourismTribe.com
fabienneParticipantSorry what I meant is that I expected this to be properly aligned by default in the theme and wanted to bring it to your attention.
Shouldn’t the theme cater for that by default?
Thanks
TourismTribe.com
July 2, 2015 at 07:54 in reply to: Display forum topic heading to role that can read the full topic only #66156fabienneParticipantOk thanks Sharmstr. Since it’s a bbpress thing I thought you may know π I’ll ask PMPRO and report back π
Fabs
TourismTribe.com
fabienneParticipantSorry yes different membership levels.
What I have done now is I disabled TML and used Peter’s login redirect instead plus the WP Email login plugin and voila, it’s working great!TourismTribe.com
fabienneParticipantHi Laura,
I have disabled everything – no change, then I have disabled theme my login and the link works without it.
Any other advice?
I only use TML to redirect users to different pages, maybe I can just get rid of TML but how do I redirect different members to different pages?
Thanks
TourismTribe.com
fabienneParticipantTHanks Sharmstr, I waited until the 3.03 upgrade and it seems to have fixed it!
CheersTourismTribe.com
fabienneParticipantHi, this is ours : http://www.TourismTribe.com – it is a worldwide community built to help businesses in the industry who don’t have the skills and knowledge (nor money) to have a digital expert in house. they receive support via forum, live chat, 65 online tutorials and more.
The site is built using Buddypress, bbpress, paid memberships pro and many more plugins.
I am a digital marketer with a background in web dev, pre-php so I have found your support very useful as well as pmpro’s support.
TourismTribe.com
fabienneParticipantI think I understand the question the OP posted. I am using Pmpro and wanted to achieve the same. Here is how to do it in the pmpro forums. http://www.paidmembershipspro.com/forums/topic/locking-part-of-the-content/
TourismTribe.com
fabienneParticipantHi Laura,
Well, what I need is for when someone is logged out, for the content to be nicely displayed on the template.
I have purchased this template because it looked very nice and now I realise that I am having an issue with the content not displaying properly to users that aren’t logged out.Would KLEO please assist me in fixing this?
What I need is for this content to be nicely displayed with a left margin when users are logged out. When they are logged in it seems to work naturally.
So yes pls please provide me with the code and I will test.
TourismTribe.com
fabienneParticipantHi Laura,
The text that I want to move is not the login box, it is the one in blue in this screenshot: http://screencast.com/t/et4OiY8QHhG
It is the excerpt of the post. The post isn’t visible because it requires PMPro membership.I certainly don’t want the title to be hidden nor my excerpt to be hidden. I just want it to have some space and not be totally on the left.
Thanks Laura
TourismTribe.com
fabienneParticipantHi Laura,
The issue is with the page when not logged in. Hence why I didn’t give you the login details.
Can you see the very first line of text at the top of the login box? How it is all the way to the left? That is the one that is the excerpt that I would like to know how to fix.Thank you !
TourismTribe.com
fabienneParticipantHi Laura me again re: this question.
I now have the excerpt causing an issue (as I activated to display the excerpt).
Would you please be kind enough to help me with what css I need to use to display the excerpt in the right position (see issue here: http://www.tourismtribe.com/youtube-and-video-hosting-sites/)
I am having another issue with the excerpt not displaying whereas it should so I want to ensure the css applied to this page doesn’t disrupt the excerpt when pulled in the ‘grid’ somewhere else.Thank you
TourismTribe.com
fabienneParticipantHi,
I was meant to post an update!
It’s all sorted, the issue was I had to use the Zopim plugin and it couldn’t be done manually.
Thanks to you @sharmsr I swapped the display_name for user_ID πTourismTribe.com
fabienneParticipantTHanks Radu,
I eventually worked it out – using https://wordpress.org/plugins/wp-post-to-pdf-enhanced/. There is a bug in their latest release but i rolled back one and it’s working fine AND not showing when members aren’t logged in.I hope this will be useful to your clients.
TourismTribe.com
fabienneParticipantHi Sharmstr
Just an update and hoping I can get a little bit of more advice from you.
I still haven’t managed to finalise the Zopim integration but PMPRo has given me the code and we are very close.This is the code:
COPY CODEif (is_user_logged_in()) { global $display_name , $user_email; get_currentuserinfo(); echo "<script type=\"text/javascript\"> $zopim(function() { $zopim.livechat.setName({$display_name}); $zopim.livechat.setEmail({$user_email}); }); </script>"; }
I pasted the code (inserted it in header.php between php tags).
When logged in as demo I cannot see the info in zopim but I can see this is the backend (view source). I spent 1h on zopim support chat but we havenβt found the solution yet.I wanted to show you the below so you can assess if this is what I should be seeing? (isnβt the name missing?). Zopim was rather surprised that didn’t work as it should so I am wondering if it has something to do with Pmpro and/or kleo
I really would like to integrate Zopim with Kleo and PMPro as i feel it would be such value so I appreciate any help you can provide me.
Thanks
Thanks
below is the output in view source. I feel that something didn’t quote work on the setName as the brackets are empty
<script type=”text/javascript”>
(function() {
.livechat.setName();
.livechat.setEmail(liz@lizward.com.au);
});
</script>TourismTribe.com
fabienneParticipantThanks – i thought there may have been a setting to apply a template π
TourismTribe.com
fabienneParticipantActually that did work but now my pmpro registration page redirects to a buddypress looking registration page. Help?
TourismTribe.com
fabienneParticipantOk I figured it out – had to assign a page to the ‘register’ field of Buddypress. Didn’t do it as I am using Paid Memberships Pro.
TourismTribe.com
fabienneParticipantLOL – yes my goodness I will π
Ok one ‘space’ issue is coming from the BuddyPress plugin itself. Which is weird and I can’t seem to be able to fix it. Especially if you say you are not having the issue and have BP enabled.
TourismTribe.com
fabienneParticipantThanks Sharmstr,
I have changed the theme and the same issue happens> So logically it is a plugin issue.
It isn’t a child theme’s issue (nothing in my child functions’ php).I am going through my plugins one by one (//need another coffee!)
Will keep you posted, but I noticed a lot of spaces at the top of some plugins. Still hasn’t fixed it.
Thanks for enlightening me every day Sharmstr!
TourismTribe.com
fabienneParticipantHi Sharmstr,
Thank you again for your response.
Yes I see this and yes I read about the blank spaces.
Despite reading about the fixes and trying my best I am still getting the issue.I am not experienced with resolving conflicts unfortunately. I can see the lines are still there at the top of my source code but I don’t have a clue which file to modify to fix it.
THanks
TourismTribe.com
fabienneParticipantOMG you are right! I should change the thumbnail! THANKS!
Thanks for the link though.TourismTribe.com
fabienneParticipantOk found, it was hidden in another menu.
Awesome.
The documentation/user manual really needs updating though!TourismTribe.com
-
AuthorPosts