basvd
Forum Replies Created
-
I am assuming you are using the latest versions of WordPress and the plugin, as well as PHP 5.
I can not reproduce this bug based on the code of the plugin. So my guess is that the theme is the culprit here. The code in the file
page-schedule.php
is probably something like:$advancedexcerpt->filter()
which is how the plugin used to work internally.However, the method
filter
should never be called directly. For theming purposes, there isthe_advanced_excerpt
function. You can check the plugin FAQ for instructions on how to use it.If you can’t figure it out, post a snippet of code around the line of the error and I’ll see if I can provide a working alternative.
It is currently not possible to specify custom settings per post or tell the plugin to ignore specific posts. Unless they have a manual excerpt, which can be used instead if you change the relevant settings.
However, there are some ways to use the plugin differently in themes. If you are a theme developer you should use
the_advanced_excerpt()
(see FAQ) for that. You can call it with different parameters (or do something else) based on certain conditions (eg.the_ID
equals a certain number, a certainpost_meta
is set, any of the theme conditionals, etc.) which you will have to code yourself.This is slightly advanced stuff that a developer will know how to do, so I am not going to explain it in detail. The short answer to your question is still basically ‘no’.
Yeah, me neither. Like I said, unintentional.
This feature has actually been requested by some people, but it’s implementation was not intentional. If I can think of a way to make everyone happy I will do that, but right now there is no proper workaround.
Plugin version 3.1 still has the old way of adding the link, so that could be a solution. I will let you know about any progress.
Forum: Plugins
In reply to: [Advanced Excerpt] [Plugin: Advanced Excerpt] Full Broken@jamblo: I will have to check that wrapping issue, but you might be able avoid it using the following code.
echo the_advanced_excerpt($your_options, true);
I will look into it in a few days when I have more time.
Fixed in 4.1.1
Forum: Plugins
In reply to: [Advanced Excerpt] [Plugin: Advanced Excerpt] Full BrokenFixed in 4.1.1.
Seems like I chose the wrong default parameter in the template function. It has been fixed in the development version (zip) and will be in the next update.
In the mean time, you can pass
false
as the second parameter when usingthe_advanced_excerpt()
.Forum: Plugins
In reply to: [Advanced Excerpt] Using Advanced Excerpt with MediaElement.js PlayerYour solution seems fine.
The reason why you couldn’t do it before: The list of tags shown on the options page is not complete and it’s already extensive as it is. HTML5 tags are not listed because I did not expect people to use them.
Advanced users can always use the template function for more flexibility (you can use any tag with
allowed_tags
) or modify the plugin, like you did.I have some ideas for more advanced excerpt manipulation (element-specific rules, for example), but don’t expect that anytime soon. I am sure this works for now.
Forum: Plugins
In reply to: [Advanced Excerpt] Advanced Excerpt load_plugin_textdomain on activationBoth issues are resolved in 4.1
4.1 is out. It should solve the problem.
I agree the hidden update wasn’t the best way, but the change is minimal and I did it very shortly after the initial release.
4.1 should be out very soon, though and this time it will be tested properly. Sorry for the inconvenience.
Forum: Plugins
In reply to: [Advanced Excerpt] Advanced Excerpt load_plugin_textdomain on activationThis is a common problem with version 4.0 unfortunately. Have you tried redownloading the plugin and manually replacing the files in the plugin directory?
If you don’t want the read-more link inline with the text you have to modify your theme. The following code outputs a permalink:
<?php printf('<a href="%s" class="read_more">%s</a>', get_permalink(), 'Read more'); ?>
Add it somewhere in your theme’s post loop. You should also disable the ‘add link to excerpt’ option so you don’t get two links.
Forum: Plugins
In reply to: [Advanced Excerpt] [Plugin: Advanced Excerpt] Broken customThis problem is a duplicate of: the_advanced_excerpt() no longer overrides options
Thanks for finding a solution! This will be fixed in the next update.