Comments (6)
Content of the list or content of the post dragged over to the list?
from arlima.
From the search dragged over to a list.
from arlima.
Yes, but I need to know what content that's getting truncated. Do you mean that the content of the list (the articles) dissapears when you drop a post onto the list? Or, do you mean that the body text of the post dissapears once being dropped on a list?
from arlima.
Yes, the preamble of the text from the post being dragged is truncated over 100-150 chars.
So when my editors creates a new entry from a searched article in Arlima to a list the text truncates.
- Search an article in Arlima in your main list page.
- Drag the post from the search list to an Arlima list to the left.
- The content of the post in Arlima is truncated if its longer than 150 chars or so.
from arlima.
Ah, yes. That is the excerpt of the post I believe. Theres probably some wp-filter that you can use. I will look into it
from arlima.
There's no obvious way to modify this behaviour. Here's a quick and dirty solution.
$is_arlima_ajax = defined('DOING_AJAX') && DOING_AJAX && check_ajax_referer('arlima-nonce');
if( $is_arlima_ajax && $_REQUEST['action'] == 'arlima_query_posts' ) {
add_filter('the_post', function($post) {
$post->post_excerpt = $post->post_content;
return $post;
});
}
Maybe it would be god to let you decide whether or not to use the post excerpt or the post content via a constant in wp-config.php. I will look into it.
from arlima.
Related Issues (20)
- Scheduling time mismatch HOT 6
- https
- Remove backwards compatibility
- New Streamer - Pre HOT 4
- UI-issues with the version dropdown menu HOT 2
- Broken JavaScript flow in admin panel when there's no format registered HOT 2
- 3.1 Release - Test list HOT 3
- Scheduled list versions that are added and then deleted will still get published HOT 4
- Total social share HOT 4
- Add support for having the title size slider active without the html_title field HOT 4
- Preview of an article HOT 10
- Current version of Arlima (3.1.beta.27) is not installable HOT 16
- Filter arlima_article_content changed? HOT 9
- Template with two posts side by side HOT 2
- Custom arlima-postbox
- Pufftagg HOT 8
- Error install HOT 5
- Error on activation HOT 1
- Create custom streamers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arlima.