bcripps
Forum Replies Created
-
I figured out “a” way to do it—though I’m sure there’s likely a better way (I’m still listening!)
I used the output filter and made some amendments to it, like this:
/* add link to 'display posts' output items */ function add_link_to_excerpt( $output, $original_atts, $image, $title, $date, $excerpt, $inner_wrapper, $content, $class, $author, $category_display_text ) { $post_link = get_the_permalink(); // Now let's rebuild the output and add the $post_link to it $output = '<' . $inner_wrapper . ' class="' . implode( ' ', $class ) . '">' . $image . $title . '<a href="' . $post_link . '" class="date">' . $date . '</a>' . $author . $category_display_text . '<a href="' . $post_link . '" class="excerpt">' . $excerpt . '</a> </' . $inner_wrapper . '>'; // Finally we'll return the modified output return $output; } add_filter( 'display_posts_shortcode_output', 'add_link_to_excerpt', 10, 11 );- This reply was modified 6 years, 8 months ago by bcripps.
Forum: Plugins
In reply to: [New User Approve] User Approved Filter still not workingI’m having (and have been having) the same issue. I can’t sort by pending, which is an important function for my end users. Please fix this bug!
I am having the same download problem as @pchamp. It doesn’t seem to be a cookie issue, or if it is, giving permission for cookies doesn’t fix the problem. I have commented out lines 11 and 12, and this works, but if it opens up my site to vulnerabilities, I’d like to find a more permanent and safe solution. Any other ideas? (This is a new issue, BTW. The plugin has been working fine until recently).
- This reply was modified 9 years, 2 months ago by bcripps.
Thanks!
Oh, and yes, I’m running the latest plugin version 1.7.9.
Forum: Plugins
In reply to: [New User Approve] WordPress 4.4 – User Approved Filter Broke+1. Agreed. I was just coming here to ask for this functionality to be brought back/fixed!
Great, this plugin worked! Did you mean a “false plugin,” as in malware?
Thanks for your help!
The key is to pass fields on by the confirmation page of one form as search queries to a directory page. The fields you choose to pass on are the field numbers of the search boxes. When you submit the first form, the search fields on the directory page are already filled in and displayed.
Found my answer, nevermind!
On the first forms confirmation page, I choose to send information via query string to the 2nd form. I name the query string something like: uploaded_files={uploaded_files:7} with ‘&’ between each passed form field.
Then, on the second field, I take the ‘uploaded_files’ name that I gave in the first form and place it in the Parameter Name box under the ‘Allow field to be populated dynamically’ checkbox.
When the first form is filled out, then, all the passed on information shows up in the second form for use. It works fine with text, but again, with an uploaded file, using the Advanced Uploader plugin, the uploaded file’s url from the first form is not passed to the second.
Does that answer what you’re wanting to know?