lordmatt
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Single Sign On] Single Sign On FailedI changed:
if ( is_user_logged_in() ) { wp_safe_redirect( $user_redirect ); exit; }
to
if ( is_user_logged_in() ) { wp_safe_redirect( $user_redirect ); exit; }else{ exit( exit( $user_info->error.' : '.$user_info->error_description ); ); }
and got
invalid_request : Invalid token
Inspecting
wp_set_current_user()
I found it returned aWP_Error
with ” Cannot create a user with an empty login name.” Which is to be expected. It should probably check for an OAuth error before trying to make a user.Forum: Plugins
In reply to: [Editorial Calendar] Minor UI bug reportsUpdating as I write this. That was a very quick response. Nice one.
More annoyingly, this only affects some users and seems to prevent the WP bar from rendering.
Forum: Themes and Templates
In reply to: [Baskerville] Bug with contributor templateI have fixed the bug locally by search replacing
$current_user
with$my_current_user
.Forum: Themes and Templates
In reply to: [Baskerville] Bug with contributor templateI can confirm that
wp_get_current_user()
returns a different user before and after the template’s code is run.Forum: Themes and Templates
In reply to: [Ad Mag-Lite] How do I re-enable oEmbeds for links to posts?I think I see the problem. There is a half-way baked-in support for post types which it does not call the_content() but attempts to run a filter later. One assumes, not in the same way. It took me a while to see that, but I did.
Forum: Themes and Templates
In reply to: [Ad Mag-Lite] Jetpack like button brokenYes, it looks like a theme issue with JQuery. Any chance of someone looking into this for me?
Looks like a JQuery problem.
Forum: Themes and Templates
In reply to: [Ad Mag-Lite] Pages with shortcodes brokenI fixed another problem by moving the functions to the top of the file. I really think this is not the right file for these functions.
Forum: Themes and Templates
In reply to: [Ad Mag-Lite] HelpHi.
I’ve been hacking about on the theme. The news ticker seems to ONLY draw from the uncategorised category and nothing else. That seems broken to me.
Static front page is possible. Make the page you want. In the customizer, you should be able to switch to static front page and choose your new page. I’ve not tried it with this theme but that’s generally how these things work.
Forum: Themes and Templates
In reply to: [Ad Mag-Lite] Breaking news not workingI hacked a fix by modding the code and commenting out some of the logic. It’s not a very elegant fix.
Sure.
The site is: http://thanetcreative.authorbuzz.co.uk/
An example post is: http://thanetcreative.authorbuzz.co.uk/2018/01/like-new-look/
I’ve disabled the like buttons for now because I cannot figure out what is going on with this theme. It looks nice but it does not play well with others (which I want to fix).
Forum: Themes and Templates
In reply to: [Ad Mag-Lite] Trying to get comments to showNever mind. I think the problem was a missing negation in the fix to the other bug I applied. It’s working now. I’m happy.
Forum: Plugins
In reply to: [Post Content Shortcodes] Breaks with “ad mag lite” themeTurns out it was the theme. It has functions declared in comments.php which were trying to get declared a second time by the shortcode.
Forum: Themes and Templates
In reply to: [Ad Mag-Lite] Pages with shortcodes brokenI would suggest that there was a better location for those functions.