Codepress
Forum Replies Created
-
Forum: Plugins
In reply to: [Column Shortcodes] [Plugin: Column Shortcodes] Using plugin removes ExcerptsThis is the default way on how WordPress handles the excerpt. It will always strip out the shortcodes.
I modified the excerpt function for you so you it will leave the shortcodes in place when using the excerpt. Just place this code in your functions.php:
/** * Trim the excerpt with shortcodes * */ function wp_trim_excerpt_with_shortcodes($text = '') { $raw_excerpt = $text; if ( '' == $text ) { $text = get_the_content(''); $text = apply_filters('the_content', $text); $text = str_replace(']]>', ']]>', $text); $excerpt_length = apply_filters('excerpt_length', 55); $excerpt_more = apply_filters('excerpt_more', ' ' . '[...]'); $text = wp_trim_words( $text, $excerpt_length, $excerpt_more ); } return apply_filters('wp_trim_excerpt', $text, $raw_excerpt); } remove_filter( 'get_the_excerpt', 'wp_trim_excerpt' ); add_filter( 'get_the_excerpt', 'wp_trim_excerpt_with_shortcodes' );
Let me know if this works for you.
Try deactivating all other plugins, so we can exclude any conflicts.
New release v1.4.6.3 is available. See the FAQ section for an example.
You can now do this by using the filter ‘cpac_get_column_value_custom_field’.
Check out the FAQ section for an example.
Ok, let me check if I understand this correctly. So you would like to select the custom field type which describes the input, so let’s say Post ID. And then control which output will be displayed, so in your case it would be the edit-link to your post(type), instead of the Post Title which is the default. But this could also be the post’s author, number of comments, post date, edit-link etc etc. Correct?
I can see why this would be a nice addition as long is it won’t get to complicated to configure. I am trying to keep it as simple as possible without comprimising it’s versatility too much.
Perhaps I should make a votebox or something, so I can see which feature I should focus one next, because the list of requested features is getting quite long ??
I am not sure but it could be a conflict with some other plugin. Try disabling all plugins except ‘codepress admin columns’ so we can exclude any plugin conflicts.
Also try resetting the columns to their default on the admin columns settings page.
If that didn’t help could you send me a screenshot of the error and URL?
I’ve just uploaded a new version 0.3 which would solve this issue.
Please let me know if it is working on your site.
Hi Cyril, just wanted to let you know I am working on this at the moment. It will be in the next release v1.4.6.1.
The solution to this is already in the latest version. The double values should no longer occure in the case described above.
Tobias
I wanted the thumbnails to have the same dimensions so it would look consistent on different websites. I choose a 80×80 pixels size for that.
However I think it would be nice to be able to set your own dimensions in perhaps a setting page. I have put it on the list of feature request, I will have a look on how to implement this.
Tobias.
Hi,
I can see how this is not desirable for your clients sites. I think the taxonomy filtering needs a little more work before I release it. That’s why I decided to remove it for now. There is a new release available version 1.4.5.1 without the taxonomy filter dropdown.
I will probably re-introduce the filtering of taxonomies, but only with an option to turn them on or off individually.
I am sorry for the inconvenience.
Tobias Schutter
Forum: Plugins
In reply to: [Admin Columns] [Plugin: Codepress Admin Columns] Thanks a lotYour welcome!
I will have a look at the WooCommerce plugin and see what I can do.
Tobias.
Forum: Plugins
In reply to: [Admin Columns] [Plugin: Codepress Admin Columns] make columns sortable ?@trevorgehman Thank you. I have a small box in the topright corner which links to the add-on. I have now given it a green background, so it is a bit more clear ??
The latest version (1.4.5 and up) now supports default sorting for Posts and Media with the addon. It will remember the last sorting you did when you return.
I will also implement default sorting for Users, Comments and Links in another release.
Tobias
Thank you for your suggested feature.
In the next release ( probably v1.4.5 ) I will be adding some extra filters which would you accomplish the same thing. Only the code needs to go in your themes functions.php.
I will give an example when it is released.
– Tobias
It seems that the columns are generated by another plugin. Try and deactivate your other plugins and see if the two columns disappear.
If it is another plugin causing it, please let me know which one.
– Tobias.