wombat86
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Site only loads sidebar after updateI have figured out that this is an issue with the theme my login plugin.
Forum: Plugins
In reply to: [Theme My Login] Keeping log in form in sidebarI am having a similar issue. Did you manage to figure this out?
I want to use only the login widget in my sidebar, and get rid of mysite.com/log-in completely.
After a post is submitted and the user is redirected to that post, I am trying to echo a message on the page they are redirected to, but I can’t get it to work.
The redirect part works fine, but I can’t get it to echo anything on the page they are redirected to. How can I achieve this?
This is the code I am using in wpuf-add-post.php:
if ( $post_id ) { $permalink = get_permalink( $post_id ); wp_redirect( $permalink ); echo 'Post published succesfully'; exit; }
Yes, I did get it to work after trying many different things.
I added this around line 504 of wpuf-edit-post.php:
do_action( ‘wpuf_edit_post_after_update’, $post_id );
$permalink = get_permalink( $post_id );
wp_redirect( $permalink );
exit;I hope that works for you!
Forum: Plugins
In reply to: WP User Frontend -> wpuf_add_post_validationI would like to know the answer to this as well. Where can I find this function wpuf_add_post_validation?
I figured out a workaround, but my last question still stands.
I added
if ( $post_id ) { $permalink = get_permalink( $post_id ); wp_redirect( $permalink ); exit; }
to the end of wpuf-add-post.php and wpuf-edit-post.php
I am still not able to get this to work when adding a new post.
It looks like when I click Submit, the new post isn’t yet saved as a $post object, and I think this is why the redirect isn’t working.
I tried adding var_dump($post); in my custom redirect function and it shows “post_name”]=> string(8) “new-post”
and it also shows my post id is 109, which is the id of my new-post page, NOT the id of the new post I just submitted.Shouldn’t this object show the information in the post I just submitted, and not the information about the Add new post page?
My permalinks are set up to be the post name not the id if that makes any difference.
Thank you for the help! I hope that made sense!
Forum: Plugins
In reply to: [Slideshow Gallery LITE] Center pictures inside SlideshowThanks for the suggestion. That didn’t work for me, but it’s very possible I put the css elements for the wrong tags.
Forum: Plugins
In reply to: [Slideshow Gallery LITE] Center pictures inside SlideshowThank you! That works perfectly for me!
Do you know how I could also center the images vertically in the slideshow? I have tried adding vertical-align:middle; to that line of code but it doesn’t do anything.
Thanks!
I have tried this with Showtime in the development version, and I am still able to enter html into the description.
I am running the development version, and added a new post with https://mysite.com/new-post?showtime_taxonomy=Showtime-120
and was able to enter html into the description.Am I doing something wrong or missing something?
Thanks!
Please excuse this silly question, but I’m new to this.
Is there a way to implement this development version of the plugin on my site ***without overwriting*** the current WPUF plugin I’m using, as it has custom functionality that I need to keep? Can I merge the development version with my current version without overwriting or breaking what I already have?
Thanks for your help!
I have this question as well
Is there a way to redirect users after they edit a post? Currently it shows the edit post form, and I would like them to be redirected to their post.
Forum: Fixing WordPress
In reply to: Archive page grouped by dateI just figured this out,
if ( $date != get_the_date() ) { $date = get_the_date(); echo $date;
I had to set the date variable before outputting it to make it show up before the post titles
I would like to know the answer to this as well.