gobanana
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] Category drop down for sub-categories.I’m sorry Deyson, from the sounds of it, it might be out of your coding capacity to modify the plugin yourself. If this is something you really want I recommend you either work on learning and understanding the code or employ someone to do it for you.
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] Category drop down for sub-categories.I don’t see what you mean on your test page.
In general, you wouldn’t be able to generate a drop down select box without modifying the plugin code. You may be able to create a menu-style drop down using some CSS.
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] How do I find my posts container?My bad, instead of
class="<?php post_class(); ?>"
It should just be
<?php post_class(); ?>
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] How do I find my posts container?You’re doing great!
I noticed for the postsContainer you entered “csc_post2”, it should actually be either #container or #content – the two divs that wrap ALL the posts, not just each individual one.
Also, where you do have “csc_post2” in the template code it should also call post_class(). So going off the tutorial link you provived, inside the while loop you should have
[div id=”post-[?php the_ID(); ?]” class=”[?php post_class(); ?]”]
[h2][a rel=”bookmark”
title=”Permanent Link to [?php the_title(); ?]”][?php the_title(); ?][/a][/h2][div class=”entry-summary”]
[?php the_excerpt(); ?][/div]
[/div](of course replace square brackets with <>)
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] How do I find my posts container?You’d have to look at the theme you’re using and possibly edit the template files.
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] How do I find my posts container?As I mentioned, the page you are trying to filter on does not currently display any posts at all. Those must be present before the plugin can filter anything.
The plugin does not generate the posts and excepts, only the filters on an existing posts page.
Also, the .template-center was only an example and would depend on what you name the container on the filtering page.
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] How do I find my posts container?It appears you are not currently showing any of the posts. So the posts container does not actually exist.
For reference, here is the inspection of your home page. The posts container has the class “template-center”. https://cl.ly/3G2v1w1p0v3g0X1h1D1P
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] How do I find my posts container?Hi Deyson,
The link you posted seems to redirect me to a login page.
The posts container is the div that wraps ALL the posts. You can use Chrome’s inspector to find the class or ID of the div, or in your theme files.
The filter results can absolutely show your excerpts but that is independent of the plugin. You would have to set up the template to show excerpts.
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] How do I use this?That’s the correct file and the posts will already be output in the right format.
All you need to is add this code to where you want the filters to show up.
<?php filters_generate(); ?>
For example:
<div id="primary"> <div id="content" role="main"> <?php if ( have_posts() ) : ?> <?php twentyeleven_content_nav( 'nav-above' ); ?> <?php filters_generate(); ?> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?>
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] How do I use this?Hi alxvallejo,
Can you post the actual code you’re using in your templates and I’ll help guide you through that?
If I install WP Mail SMTP and set up my personal gmail account, and then set Event Manager to send as WP Mail, the email goes through. However, I lose HTML formatting and I cannot use the actual email address that I want to use.
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] BrilliantThank you MarkPGray. I’m slowly plugin away at the code.
Be sure to rate the plugin for encouragement ??
Thanks rtilton1!
View reply here: https://gobanana.ca/wp-filters#comment-276
Forum: Plugins
In reply to: [WP-Filters] [Plugin: WP-Filters] Improvements?Can you provide a link to the site or the code you are using?
I built a plugin WP-Filters that I think might do what you’re looking for, or at least get you a little bit closer. At the moment it just hides the irrelevant posts on the screen while they are still there. I am working on modifying the plugin to instead call the posts using JSON which will then allow you to use that query to cycle through the posts.
Check it out here: https://gobanana.ca/wp-filters
You may want to consider loading the single post in a ligthbox so you don’t lose the context of the filtered page and just use the lightbox to cycle through the posts on the page. It may take a little bit of creative coding, but that’s the solution I can envision using my plugin. At least until the next version…
Good luck!