WP Category Post List is a plugin using which you can display category filtered posts via Widgets or Shortcodes. The widget holds more than 30 options to customize and shortcode has 15 attributes to configure. The current version is 2.0.3 which is fully compatible with WordPress version 3+. Below are the documentation and development news.
Version: [plugin_version src=”wp-category-posts-list”] Downloads: [plugin_dl src=”wp-category-posts-list”] Rating: [plugin_rating src=”wp-category-posts-list”]/5 Updated: [plugin_last_updated src=”wp-category-posts-list”] Requires: WordPress [plugin_requires src=”wp-category-posts-list”]
Documentation:
[tabs slidertype=”left tabs”] [tabcontainer] [tabtext]Installation[/tabtext] [tabtext]Widget[/tabtext] [tabtext]Shortcode[/tabtext] [tabtext]Plugin Option[/tabtext] [tabtext]CSS & Filter[/tabtext] [tabtext]FAQs & Tips[/tabtext] [tabtext]Change Log[/tabtext] [tabtext]Known Issues[/tabtext] [/tabcontainer] [tabcontent] [tab]
#1: Installing the Plugin:
Just download the plugin from here. (WordPress plugin directory) and upload it to your plugin directory and activate it. Alternately you can:
- Go to Admin » Plugin » Add New and search for WP Category Post List.
- Install the plugin from there and activate it.
#2: Initial Setup:
- Go to Admin » Settings » Category Posts (WP-CPL) and set your Thumbnail size and theme.
- If you have set a new thumbnail size, then I would recommend you to install the Regenerate Thumbnail plugin and regenerate the thumbnails.
- Now go to the widget are from Admin » Appearance » Widgets.
- You will notice a new widget WP Category Post List. Drag it to one of your widget area and set it up.
That’s it. You are done. For the Advanced Options, just hit the Toggle button.
[/tab] [tab]
#1: Complete Widget Options list:
You can easily find it from the Admin » Settings » Category Posts (WP-CPL)You will see a table there with a complete list of information for every option. In case you are curious, here is a list of it here.
Option | Description | Parameter | Default | Example |
---|---|---|---|---|
Description | Parameter | Default | Example | |
Basic Options | ||||
Title | The Title of the widget. This will be displayed over the top of each widget | It has the following options paramter. You can insert them on the title and it will get replaced by the corresponding values |
- %widget_num% :
The number of posts you want to display - %cat_count% :
The total number of posts the category has - %cat_name% :
The category name
Browse %cat_name%Be creative and form your own
TeaserA one liner shown below the widget, just above the Read More button(if present)Offers Same options as TitleFeaturing Top %widget_num%/%cat_count% of %cat_name%CategoryThe category you want to chose. Select one from the listN/AN/AN/ACSS ThemeNEW in V2… Choose the CSS theme for this widget. Global themes are not applied to any widget anymoreN/AN/AN/AShow LinkIf ticked this will show a Read More link at the end of the widget. This will link to the categoryN/ABy default this is tickedN/ANumber of PostsThe total number of posts that would be shown on the widget. This excludes the number of sticky posts.N/A10What ever you can imagineComment countWhether you want to show comment count beside every posts.N/AUnticked. Not shown by defaultN/AShow dateNEW in V2 If ticked publish date will be placed below the post titleN/AUnticked.N/AShow authorNEW in V2 If ticked author name hyperlinked to author archive will be placed below the post title.N/AUnticked.N/AShow excerptNEW in V2 If ticked post excerpt will be placed below the post title.N/AUnticked.N/AExcerptNEW in V2 The length of characters of the excerptN/A50Numerical valuePost ExcerptNEW in V2Gives preference to manually entered WP excerpts on posts. This will override the excerpt length.N/AUntickedN/AShow FeedIf ticked a link will be placed before the title to the feed of the category.N/ATicked. Attempts to show the feedN/AShow ReadmoreIf ticked this will show a Read More link at the end of the widget. This will link to the categoryN/ABy default this is tickedN/AFeed HTML/TextNEW in V2 This HTML or text will be wrapped inside an anchor text hyperlinked to the category feed.N/AN/AIf you would like to use image then do it like
<img src="http://path.to/img.jpg"" /> or simply a Text
[Syndicate]
Readmore HTML/TextNEW in V2 This HTML or text will be wrapped inside an anchor text hyperlinked to the category link.N/AN/AIf you would like to use image then do it like
<img src="http://path.to/img.jpg"" /> or simply a Text
[Syndicate]
Show Thumbnail & Thumb ClassWhether you want to show thumbnail beside every post, and if showing then the css class applied to the thumbnailThe Structure of the thumbnail is as follows
<span class="wp-thumb-overlay"> <span class="thumb_lay or userclass"> <img class="attachment-wp-cpl-post-thumb wp-post-image" title="Title" src="path/to/img.jpg" alt="alt" width="40" height="40" /> </span> </span>
thumb_layN/ASortingHere you have two options. Sort Order and Sort Using. You can choose from a number of available options for the Sort Using, and make it ascending or descendingSort Using has ID, title, date, comment or random options.Date -> AscendngN/AAdvanced OptionsList StyleHow the HTML list is formed. This is basically the HTML nestingUnordered list is the basic ul li type listing. You can select Custom Style to insert your own HTML tags before/after the list/linksHTML Unordered ListN/AWidget StyleThe CSS class applied to the widgetN/ABefore/After List/LinkThe HTML tag before the whole Widget ListBefore List supports only one parameter.%widget_class% :
Gets replaced by system generated widget class and your own widget classSimilarly Before Link supports one paramter%list_class% :
Gets replaced by system generated list class. This is needed if you are applying alternate list css classes
- Before List :
<ul class="%widget_class%">
- After List :
</ul>
- Before Link :
<li class="%list_class%">
- After Link :
</li>
- Before List :
<div class="my_class %widget_class%">
- After List :
</div>
- Before Link :
<p class="my_post class %list_class%">
- After Link :
</p>
Exclude PostsComma Seperated values of IDs of posts to excludeThe following ID format will work
12, 34,65 75,12 ,45
N/ASticky PostsSame as Exclude Posts. Only the posts will become sticky. This will not verify whether they belong to the selected category or not. They will be placed before the normal list and CSS class wp-cpl-sticky will be applied to themOpen inWhether to open in the current tab or new tabBasically _blank
or _self
will be added to the anchor tagCurrent TabN/AAlternate List CSSApplies Alternate Listing CSS classes to the list HTML tag.wp-cpl-odd or wp-cpl-even CSS classes will be added accordinglyN/A
Quite a long list eh?
[/tab] [tab]
#1: The Shortcode and Basic usage:
The basic shortcode and minimal usage is: (Without the space after [)
[ wp_cpl_sc cat_id=40 list_num=4 css_theme=2 sticky_post="79"]
You just have to change the cat_id, list_num and css_theme parameters and a list of posts will be shown accordingly.
However, there are other parameters using which you can further customize the shortcode. Here is the complete list:
#2: Shortcode parameters:
Parameter | Description | Default value | Accepted values |
---|---|---|---|
cat_id | The id of category from which the posts are to be displayed | 1 | Any numerical category id. You can check the Posts > Category and hover over the category Edit link to check the category |
css_theme | The id of the predefined or added CSS theme | 0 | Any numerical or string id value of the Themes. Here is the list of predefined CSS Themes:
|
is_thumb | Whether or not to display thumbnails | “true” | String “true” or “false” |
read_more | The teaser text for continue reading | “Continue Reading” | String like “Read more”. If empty string provided then it will not display any read more button |
list_num | Number of posts to display (max). This excludes sticky posts (if any) | 10 | Any numerical value |
show_comments | Whether or not to display comment counts in post meta box | “true” | String “true” or “false” |
sort_using | Select the sorting method. A corresponding ID should be passed. Check the accepted values. | 1 | Following are the accepted IDs. Note that you need to pass it like sort_using=2
|
sort_order | Select the sorting order ascending or descending | “asc” | The accepted values are:
|
exclude_post | Comma Seperated values of IDs of posts to exclude | ” | The following ID format will work ‘ 12, 34,65 75,12 ,45 ‘ |
sticky_post | Same as Exclude Posts. Only the posts will become sticky. This will not verify whether they belong to the selected category or not. They will be placed before the normal list and CSS class wp-cpl-sc-sticky will be applied to them | ||
show_date | Whether or not show date in post meta | “true” | “true” to display and “false” to hide |
show_author | Whether or not show author link in post meta | “true” | “true” to display and “false” to hide |
show_excerpt | Whether or not show excerpt in post meta | “true” | “true” to display and “false” to hide |
excerpt_length | The length of the excerpt (character count) | 150 | Any numerical value |
optional_excerpt | Gives preference to manually entered WP excerpts on posts. This will override the excerpt length | “false” | “true” to activate “false” to deactivate. |
[/tab] [tab]
This plugin comes with a settings page where you can set the thumbnail and enable/disable pre-installed CSS themes. Below is a preview of the page (Settings > Category Posts (WP-CPL))
- Use default CSS: Uncheck to completely disable loading the default CSS for the widget and shortcode.
- Thumbnail dimension: Set the widget and shortcode thumnail dimension. After you update, make sure to run Regenerate Thumbnail plugin to update the thumbs.
- CSS Theme: Select the theme which are to be loaded in the frontend and to be displayed under the Widget option. Make sure, you select one of the active themes while doing it with shortcode.
[/tab] [tab]
New in V2 is the filter API using which you can add your own CSS Themes. You need to add a filter to wp_cpl_css_filter and pass in the id, name and css_url of your theme. Rest will be taken care of, i.e, the plugin will automatically display the CSS Theme under the widget and settings page and also will enqueue it to the frontend. Here is how you do it.
#1: Writing your own plugin with the filter:
<?php /* Plugin Name: Filter API TEST Plugin URI: http://www.intechgrity.com/wp-plugins/wp-category-post-list-wordpress-plugin/ Description: Use the WP CPL Filter API to add our custom CSS Version: 1.0.0 Author: Swashata Author URI: http://www.swashata.com/ License: GPL2 */ function my_awesome_wpcpl_css($css_list) { $css_list['my_awesome_css'] = array( 'name' =--> 'My Awesome CSS', 'css_url' => plugins_url('/css/awesome.css', __FILE__) ); $css_list['my_aawesome_css2'] = array( 'name' => 'My Awesome CSS2', 'css_url' => plugins_url('/css/awesome2.css', __FILE__) ); return $css_list; } add_filter('wp_cpl_css_filter', 'my_awesome_wpcpl_css', 1);
and that will be all. Make sure you activate (check) the newly added theme from the WP CPL settings page before you start using it. Also you can add the same code inside your theme’s function.php file.
#2: The CSS template:
As of V2, there is a change in the CSS template. The shortcode and widget CSS are merged in the same file. Below is the template
/************************* * THE WIDGET SECTION ************************/ /** The li background */ .wp-cpl-theme-theme_id li { } /** The thumbnail */ .wp-cpl-theme-theme_id li span.wp-thumb-overlay { } .wp-cpl-theme-theme_id li.wp-cpl-sticky span.wp-thumb-overlay { } /** The even and odd */ .wp-cpl-theme-theme_id li.wp-cpl-even { } .wp-cpl-theme-theme_id li.wp-cpl-odd { } /** The sticky post */ .wp-cpl-theme-theme_id li.wp-cpl-sticky { } .wp-cpl-theme-theme_id li.wp-cpl-sticky a { } /************************* * THE SHORTCODE SECTION ************************/ /** Main wrap */ .wp-cpl-sc-theme-theme_id { } .wp-cpl-sc-theme-theme_id a { } .wp-cpl-sc-theme-theme_id .wp-cpl-sc-sticky a { } /** Entry wrap */ .wp-cpl-sc-theme-theme_id .wp-cpl-sc-post { } .wp-cpl-sc-theme-theme_id .wp-cpl-sc-sticky { } /** Thumb anchor */ .wp-cpl-sc-theme-theme_id .wp-cpl-sc-post .wp-cpl-sc-thumba { } .wp-cpl-sc-theme-theme_id .wp-cpl-sc-sticky .wp-cpl-sc-thumba { } /** Post h2 */ .wp-cpl-sc-theme-theme_id .wp-cpl-sc-post h2 a { } .wp-cpl-sc-theme-theme_id .wp-cpl-sc-sticky h2 a { } /** Post meta box */ .wp-cpl-sc-theme-theme_id .wp-cpl-sc-post .wp-cpl-sc-meta { } .wp-cpl-sc-theme-theme_id .wp-cpl-sc-sticky .wp-cpl-sc-meta { }
If you have any problem, ask in the post or in WP community.
[/tab] [tab]
#0: Is it possible to use different CSS for different widget?
- Technically & simply Yes. Now you can simply choose the css theme from the dropdown (widgets) or mention the id in shortcode.
#1: To style widgets differently:
- Now this can be done using our CSS Theme filter API. Check the corresponding section.
#2: Changing the post thumbnail size:
- Install and run Regenerate Thumbnails plugin by viper007.
- Use it just after setting your thumbnail size and after changing the size to a new value.
#3: My Thumbnails are not showing up exactly as the size I have selected
- WP CPL uses the default Thumbnail or Featured Image Feature of WP 2.9+. So, the thumbs are created when you upload the picture.
- For older pictures, it is not generated automatically. In such case just install and run this Regenerate Thumbnail Plugin.
- After installing it first time or whenever you change the Thumb size, it is recommended that you run this plugin once
[/tab] [tab]
The detailed change log can be found below:
Version 2.0.3
- Bug fix: On wp_cpl_output_gen.php file
- Added: Current Post category is now current post/archive page category. So a category archive page will populate the widget.
- Added: read_more attribute for shortcode using which you can change the continue reading text.
Version 2.0.2
- Bugfix to the occasion when no theme is selected
- Added a Master reset button to reset all the options
Version 2.0.1
- Immediate bugfix to WP auto upgrade conflict
Version 2.0.0
- Ability to select the category of the current post (Auto category detection)
- Shortcode support
- Post excerpt and other options like html enabled Readmore and subscription.
- Different height and width for widget and shortcode thumbnail
- Display author, date and other post meta.
- Added filter API to use your own CSS Theme with the plugin (both for widget and shortcode)
Version 1.1.0
- Not released in the WILD
- Ability to select the category of the current post
- Shortcode support (proposed)
- Minor bug fixes
- Options to show post date, author and excerpt
- New interface for read more and feed link
Version 1.0.0
- Public Release
- Several bugs fixed
- Fixed the Read More permalink bug
- Added 2 more themes
- Added Teaser Option
Version 0.9.0 RC
- Themeing Support
- Complete Widget Interface
- Stand alone support for WordPress post thumbnail activation. Even if your theme does not support.
- All Documentation can be found in the Plugins Settings page
Version 0.0.9 alpha
- Added basic widget querying posts
- Added thumbnail support etc.
- Still under development. Please dont install
Version 0.0.8 alpha
- Initial Upload to WP SVN
- Under development. Please dont’t install
[/tab] [tab]
The only issue I know is it does not show post counts to the parent category from the child category. I am working on a solution for this. If you know a method please let me know.
The above issue has been solved. The solution is given here. Right now no issues have been encountered. However if you find one, please give a feedback here.
[/tab] [/tabcontent] [/tabs]
I’ve set up a test page here:
http://campbellvilleleadership.org/?page_id=81
The shortcode really doesn’t work will with thumbnails – the widget was easy.
Warning: _() expects exactly 1 parameter, 2 given in /home/wervil/theatertalk.org/wordpress/wp-content/plugins/wp-category-posts-list/includes/wp_cpl_output_gen.php on line 256
this error is all over my page after implementing the widget
Hi, I installed the plugin, customized the appearance but now I want to show all the posts of a category in a page but only 6 are showing.
Even if I put list_num=1 or list_num=99 nothing changes, it shows only the last 6 posts.
In wp_cpl_shortcode.php ‘list_num’ => 10,
What could be the reason?
Are you sure that category has more than 6? It ultimately displays posts that it fetches
Hi there Swashata,
This certainly look like a great plug in, but I am trying to use the short codes on a page and not a post and the is_thumb does not seem to work. All the other shortcodes work fine. Not sure if i am doing something incorrect?
many thanks
I am having the same problem. All of the other items in the shortcode seem to work except for the is_thumb which I have set as is_thumb=true. I’ve tried using quotes around true and have tried it without quotes. Is something else needed to show thumbnails of images?
Are you sure the posts have featured image set in it?
I love this plugin! I’m able to rework some of the CSS to find better margin/font values for my needs. I’m plugging this into a responsive website so smaller blocks would be easier to manage. I can’t figure out how to make them tile in smaller chunks rather than one full horizontal block, however.
I’m using it as shortcode on a Page to spotlight related Posts. What’s the easiest way to have the thumbnail-above & title/excerpt-below tile across in 200 width increments, then wrap down? (I’ve set my thumbnails to be smaller than 200).
I can understand the CSS parts in wp-cat-list-theme.css. It’s the PHP I’m not savvy with, though. I’ve tested some brute force div/width changes into wp_cpl_output.gen.php, but each 200-wide entry stacks on top of one another instead of the remainder horizontal space.
Any pointers or options would be greatly helpful
Cheers,
–Al
You might do
why has my comment been deleted and never been answered???
still have one problem: using 3 languages and qtranslate plugin. when i use your plugin it shows all 3 language-titles at once.
would be nice to get any response.
greetings from vienna, niky
I will look into it when I get time. You comment was not deleted, I couldn’t find time to approve it and respond 🙂 Sorry for this!
I love your Plugin, what could be better is that you don’t need the resize thumbs plugin when changing the thumb size, because it takes really long.
I’m also missing a “more posts” link on the end of the posts.
What i would really like to know is, what are the pros and cons of your plugin related to this very similar plugin?
http://wordpress.org/extend/plugins/special-recent-posts/
Hi,
I’m a bit boggled as I installed the plugin, activated it in WP and when I go to the settings it’s a blank page. ??? Ever heard of that happening? I tried it in Chrome & FF and it’s the same. Any idea?
Thanks!
Michael
The files might be corrupted. Reinstall it!
Hi
I am building a multi-lingual website. When I was in one language and path I had no problems. But with multiple languages or paths I get an error in my path languages. In other words my main English site is OK but my French (al-infil.net/fr and swedish (al-injil.net/sv) get an error and do not load. You can go to either website to see. The error references your plug-in with the following warning and then the listing does not show up
Warning: extract() [function.extract]: First argument should be an array in /hermes/waloraweb079/b2127/moo.alinjilnet/wp-content/plugins/wp-category-posts-list/classes/loader.php on line 61
Warning: extract() [function.extract]: First argument should be an array in /hermes/waloraweb079/b2127/moo.alinjilnet/wp-content/plugins/wp-category-posts-list/includes/wp_cpl_css_filters.php on line 92
Any ideas? I am not a php programmer but I see that the wrong variable type is being passed in.
thanks
Ragnar
I will look into this after my exams!
I’m trying to get the shortcode to work on a page, but the sort using date and by order (asc or desc) does not work in shortcode. No matter what variables I plug in, the order stays the same.
Here is the shortcode as it in input now:
[wp_cpl_sc cat_id=336 css_theme=3 list_num=25 is_thumb="true" sort_using="1" sort_order"asc" show_date="false" show_comments="false" show_author="false" show_excerpt="false"]
(Note: If I don’t include “false” with just about everything, I get this huge box for each post.)
I also cannot figure out how to decrease the size of the text, the box, and make it so that the text continues below rather than running off the page.
Example:
http://www.momsdailyzen.com/?page_id=1219
The example screenshot looks so clean compared to what I get if I try to use any of the extra goodies for category output. I’m using a self-hosted WordPress, the latest version, and Bueno theme.
Shouldn’t it be
sort_order="asc"
. But if this is a typo just in this comment, I will look into the code and see where things are going wrong! I am just having my end semesters now and really short in time!I definitely was at fault for the “asc” issue, but I still can’t get the text to continue to the next line rather than simply running off the page. I’m not sure whether this is a plugin or theme issue. Is there a fix for this or a way to decrease the size of the font displayed in general?
I see the issue. You have shortcode wrapped inside a pre and code block. It is currently like this
Go to HTML view and delete the code and pre tags. It should then work fine.
Pingback: WP Category Post List Widget | Best Plugins - wordpress – widgets – plugin 2012
Can you add an option to include scheduled posts and another for scheduled posts only?
I will see about these options in the future release
Pingback: 25 of the Best WordPress Widget Plugins | WPbase
Hi
I just posted a question regarding posts in multiple categories. I see now why this is happening. I see no way around it. You can delete my post as I am sure this cannot be fixed since obviously there is no way for the software to understand what category the user selected to get the category they are now in.
Thanks
Fred
I am glad that you’ve found it! I will release the next version with multiple category support. And also something more interesting which I have in my mind for a while 😉
I’m trying to stretch the WordPress categories mechanism to make the single post area appear like multiple segregated ones to the user. Your option in the “WP Category Post List” widget named “Current category of a post” is exactly what I want. Unfortunately, for me, it also needs to detect when accessing a category from a menu. This mechanism works correctly when I access a specific post from a post list but not when I do it from the custom menu. The difference is the category list link refers to a specific post permalink (http://www.mywebsite.com/postname/) while the menu reference refers to a category permalink (http://www.mywebsite.com/category/mycategory/). Could you please extend this function to also recognize a category reference? Thanks.
Thanks for this. I will add it in the future release.
Added and working for version 2.0.3. Also there has been several bug fixes.
Hi there, thanks for the great plugin. I can see that it’s highly customisable and it’s wonderful that it has a shortcode function (sick of widgets!)
Like one of the commenters above, I want to get the posts to tile horizontally instead of horizontally in 150px chunks. Can you point me to what changes I should make? I’ve looked around the css a little (I don’t want to experiment with php without instructions as that’s unfamiliar ground to me)
Could you please help?
Thanks so much
I will perhaps give some presets in future release. You have write your own CSS for that. Try adding
as a startup.
Hi. I keep getting the following error:
Warning: _() expects exactly 1 parameter, 2 given in /home/content/30/9317130/html/wp-content/plugins/wp-category-posts-list/includes/wp_cpl_output_gen.php on line 256.
My site is http://www.seaninconcert.net.
Any ideas?
This has been fixed in version 2.0.3. Thank you for reporting 🙂
Great plugin. Having a hard time creating the .PO/.MO files using Poedit.
I just installed 2.0.3 and it doesn’t recognize any strings in need of translation.
I see a (empty) “translations” directory, but I’m not sure how to do the translation… any guidelines?
Thanks!
I see that WP suggests not to use any string for the text domain. I will fix this in upcoming 2.1.0 release and will add a nice list of features as well.
Perfect, thanks!
A couple more things:
1) The file wp_cpl_output_gen.php was changed (maybe others, didn’t check), but the @version didn’t.. please update the @version if the file changes to make it easier to track.
2) I changed one of the CSS themes (wp-cat-list-adrift-in-dreams.css) but the changes were overwritten when the new plugin was installed. Is there a way we can have a separate CSS that doesn’t get modified if the theme is updated?
Again, your plugin is great and I’m using it instead of Worpress’s category pages.. a lot better! Keep up the good work!
Thanks for the info. And for changing the CSS, you can use the filter. It is documented inside the CSS & Filter section
Hi,
Wonderful plugin. I attempted to add my own css, but I did not succeed. Is the code you provided to be added into wp_cpl_css_filters.php? Where in the that file does it go? I tried adding it at the end got the following error: Parse error: syntax error, unexpected ‘=’, expecting ‘)’
I tried adding it at the end of my functions.php file and also got the same error message.
Any assistance you can provide would be greatly appreciated.
Hi
Thanks for this great plugin!
I have a question:
How can I add class=”current” to the current link of the page being displayed in the widget?
I would like it to be bold / a different color from the other links in the list.
Thanks in advance,
Dan
Sorry Dan,
Currently there is no way rather than editing the core files. But this is a nice idea. I have added it to my todo list and will implement it as soon as my end sem is over!
Thanks for your answer, could you give me a tip – where to look if I would like to modify the core files myself?
It’s an important feature and I would really like to continue using your plugin.
Good luck in your exams, I have also started them…
Thanks
Dan
Check the /includes/wp_cpl_output_gen.php file. You somehow need to implement the following logic:
public function widget_output_gen($op, $cat_id, &$i)
would be function you want to look into.Thank you very much.
Would this be the correct way to add the code:
/** Add up the actual permalink and post title */
$post_output .= 'ID))) : class="current" href="' . get_permalink($post->ID) . '" title="' . __('Permalink to: ', $wp_cat_list_itg_tans) . $post->post_title . '" target="' . ((false == $op['open_in'])? '_blank' : '_self') . '">' . $post->post_title . '';
sorry, couldn’t paste the code correctly, trying again:
/** Add up the actual permalink and post title */
$post_output .= 'ID))) : class="current" href="' . get_permalink($post->ID) . '" title="' . __('Permalink to: ', $wp_cat_list_itg_tans) . $post->post_title . '" target="' . ((false == $op['open_in'])? '_blank' : '_self') . '">' . $post->post_title . '';
pastebin:
http://pastebin.com/1XF5RwUC
Sorry den,
that won’t work. I will see how early I can do your stuff. Perhaps I will release a intermediate update before switching to 2.1.0… Stay tuned…
Thank you very much, I appreciate it!
Dan
Hi
Any news regarding this issue?
Thanks in advance,
Dan
Hi
Any updates on this issue? Are you planning a 2.1.0 release?
Thanks,
Dan
Hi Den,
Sorry for the delay. Currently I am busy with one of my clients. It will be done in 2 more weeks. Then I will work on this plugin again. Have loads of plans. Also I need time to move my site to a VPS 🙁
Hi,
I have been using your plugin – love it. However now I’m trying to do something and it’s not working.
I have a portfolio section on my site and each section has a category similar to posts. When I set the category to the correct ID nothing is showing up. I assume it’s having problems because the category ID is a portfolio, not a post.
Is there a way I can define “post type” in your shortcode? This is the post type: portfolio-item
Here is the code that I’m currently using:
[wp_cpl_sc cat_id=34 list_num=20 sort_order=desc show_date=false show_author=false show_excerpt=false show_comments=false]
Right now no. In future I will make the plugin compatible with custom post type
Hi. Nice plugin! I would like to put a list of posts of the “current category” under each post. No way to put some code in single.php to make it work instead of shortcode or widget? It would be perfect, I can’t use it actually. Thank you so much
Right now no, instead of making your shortcode and putting some code like
echo do_shortcode('[wp_cpl_sc cat_id=-1]');
(have not tested that code though). I will give some more APIs in future using which you can do this.Hi Swashata,
Great plugin! I have applied the shortcode to a page. Instead of showing 50 excerpts with thumbnails in a list on one page/post, is there a way to modify the shortcode to include pagination?
[ wp_cpl_sc cat_id=40 list_num=4 css_theme=2 sticky_post=”79″]
This would be perfect if there is a pagination workaround! Thanks.
Hi Nicole,
Right now, there is no way of doing that. But in the future release, there will be. In fact it will have compatibility with WP PageNavi plugin as well.
I agree. Pagination would be very useful.
How do I add this on my category.php? Is there like a php code or something? Thanks!
Hello Invi,
What exactly do you want to do by adding it to category.php? Why not you using the widget instead.
For example I have “Games” category, if someone clicked on it, instead of my default category page, I want to show thumbnails of each post like box buttons style. So I may need to add the code inside category.php. Yours seems to only work when placed as a widget or in a post. Are there any ways I could use a php code to call your plugin to do the job? Thanks
Hi,
Thanks for your plugin, I have an issue with the post listings:
The sidebar displays all the post under the current category even posts of the child category.
I would like it to display only direct child posts of the current category. How can this be done?
Thanks,
Dan
Right now it is not possible. I will see in the future release.
Hello,
I can’t display more than 10 posts, regardless what I write into the box.
Is there a solution ?
Thanks
Dan
Is it a problem for the shortcode or the widget?
FOR BOTH
Hello,
I recently updated the plugin, which is a perfect one, my compliments for the work done.
The only thing that happened is that in the widget it says “Comments”. In the previous version the localization seemed to work and Comments was “Reacties” as it should be in dutch.
I have been digging through the files but i can’t seem to find the solution. Any clues from other users?
Thanks in advance for the help.
Regards,
Ed
Do you have the pot files with you? Can you send it to me so that I can integrate with the plugin?
I found the problem!
It was because my theme had an setting for just 10 posts, so it showed just 10 post.
Ok, another question:
would like to have the same look like on http://domainjongleur.de also for the page or post.
I mean: how to have the same look using the short code function ???
Thanks Dan
The following code should solve your issue
Also, what do you mean by “My theme had only 10 posts to show”? The plugin shouldn’t interfere with theme options. More information on this would help me troubleshoot the problem.
The plug-in is doing exactly what I want, unlike the other I had installed. However, chose the option to use the title of the widget to go to an archives page that lists all the post in the category and the format is not the same format as the actual post. there are no paragraph breaks and block quotes. Is this an issue with WordPress, or do I need to change a setting in the widget?
I think this is due to your theme using excerpt on the category archive page. This has nothing to do with WordPress or this plugin, but just your theme.
Hello,
This is a wonderful plugin, thanks for making it free and the amazing support you are providing here. I would like to know if there is a way to truncate the post title to a certain number of characters, this way the widget stays fixed.
Regards,
Daniel Jeewan
Not now, but that will be a feature of next version