234pm
Forum Replies Created
-
(i forgot to mark as resolved)
Excellent.
The try/catch didn’t work, but the filter did ??
add_filter( 'pods_error_die', '__return_false' ); $donate_pod_id = $donate_pod->add($data); if ( $donate_pod_id === false ) { echo "--------pod add failed"; } else { echo "--------pod add succeeded"; }
Thanks for you help!
Josh
Forum: Fixing WordPress
In reply to: blank lines inserted in bulleted listsSorry for my delayed reply.
Hmm – that was an interesting change. Disabling the visual editor showed me only the source (as expected), but the source did NOT have that empty p tag. But when I enabled again and then viewed the sourc, that empty p tag was there again.
So – I think this is telling me that that empty p tag is being inserted by the javascript of the visual editor.
I’m using ckeditor. Do you think it’s there, or could the wordpress visual editor still be causing the problem?
Thanks
Forum: Fixing WordPress
In reply to: blank lines inserted in bulleted listsYes, I see it has really messed up this page – sorry about that.
Re URL – the problem happens when I click save – ie while in admin editing the post – so i can’t give access to that.
Here’s the url for the frontend – https://www.scbwi.org/test-blank-lines/. Note that there’s no bullets. That’s a separate issue i’m dealing with, but you do still see the blank line before “level two”.
Here’s some screen prints of my post editing:
Before clicking update – https://screencast.com/t/qitPsz5c
After clicking update – https://screencast.com/t/vc0ZAvVN7fAnd here’s the ‘source’ view after clicking update – https://screencast.com/t/pQHNseWFxI
Note the paragraph tag that’s inserted before ‘level two’.
If I click update again, it will add another blank line, and so on with every update.
A reminder that I’m using ckeditor, ver 4.0. Just in case that’s the problem.
Thanks
Forum: Fixing WordPress
In reply to: blank lines inserted in bulleted listsok – now this is pretty ironic …
Well, suffice to say then … when I create a “sub-ul” – ie indented, a blank line gets put before the ‘sub-ul’.
Plus, every time I save the post, a new blank line gets added.
Any help on how to fix this would be GREATLY appreciated!
Thanks,
JoshForum: Fixing WordPress
In reply to: blank lines inserted in bulleted listsHmm – it didn’t display what I typed.
I indented “- level two” by two spaces when I typed it, but those two spaces were stripped.
Ok – let me try using the ul/li tags of this post editor.
So, in my post, I put this – note, level two is indented, so a “sub-ul” under the first level one …
- level one
- level two
- level one
But when I save, I get a blank line before the level two…
- level one
- level two
- level one
Forum: Plugins
In reply to: [BlackBox Debug Bar] [Plugin: BlackBox Debug Bar] WP admin bar conflictThanks Greg and @archonic for this plugin – it will be very helpful!
The site I’m supporting has a membership database and so I wanted to restrict the plugin to specific users and to also have it show in wp-admin, so I changed Hook.php as follows:
i changed this…
if (is_super_admin()) { apply_filters('debug', 'Profiler Stopped'); include_once BLACKBOX_DIR."/application/debug-bar.php"; }
… to this ….
global $current_user; $debug_users = array("[email protected]", "[email protected]"); if (in_array($current_user->user_email, $debug_users)) { apply_filters('debug', 'Profiler Stopped'); include_once BLACKBOX_DIR."/application/debug-bar.php"; }
Josh
Forum: Fixing WordPress
In reply to: delete row from wp_posts in databaseThanks David – that’s the ticket.
hmm – why can’t things just be complicated?? ??