[Plugin: WP-Filters] How do I find my posts container?
-
Hello I wanted know how I can find what I need to add in the posts container blank?
Also, can the filter results show my excerpts?
Here is the page I am testing this plugin with: http://motion-master-templates.com/test-page-2
Thank you π
-
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.
Hello! Thank you for such a quick response.
The page should work now: http://motion-master-templates.com/test-page-2
I am truly lost, on which page should I do the inspect on?
Thank you. π
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”. http://cl.ly/3G2v1w1p0v3g0X1h1D1P
Hello Anna,
I tried adding “.template-centerβ to the box and I still do not get anything. π
Here is an example of the posts results as excerpts that I want to achieve: http://motion-master-templates.com/?s=Final+Cut+7&submit=Search
Please let me know what I am doing wrong.
Thank you for your valuable time.
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.
Can you point me in the right direction on how I can accomplish adding posts to my page so I can get it to work with your plugin.
I am sorry I am very noobie on all this.
Thank you.
You’d have to look at the theme you’re using and possibly edit the template files.
Hello, Am I getting close? π
I could not find a template that seemed to show me all my posts ( I am a Noobie )
But I did find this: http://www.labwebdesigns.com/blog/how-to-show-post-excerpts-on-a-static-wordpress-page.html
I came up with this: http://motion-master-templates.com/test-page-2
I am using the .csc_post2 in the Posts Container.
Thank you again for your patience π
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 <>)
Hello,
Ok I tried both #container or #content and I added your code to my template page and it did not work π
Here is the page: http://motion-master-templates.com/test-page-2Also how where should I add csc_post2 so I can keep the styling I had before?
Here is the template page code I am using, thank you very much π
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Whoops, seems I went over the number of lines, here is the templates code:
http://pastebin.com/pQbERXav#My bad, instead of
class="<?php post_class(); ?>"It should just be
<?php post_class(); ?>Woo Hoo!!! Thank you Ana. You rock!
Here is the result: http://motion-master-templates.com/test-page-2
You have a great plugin in your hands. Very valuable as there is nothing else that can help so much.
Some suggestions for the future are:
-Option for tags over categories
-Option for different types of Jquery animations like isotope.
The topic ‘[Plugin: WP-Filters] How do I find my posts container?’ is closed to new replies.