the_lar
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Headless Install and Yoast@wp_fish pressumably you are leveraging the REST API for this setup? Most of the stuff that Yoast puts in the <head> is done for you by wp_head() but you won’t be benefitting from this in a headless scenario, you’re going to have to recreate that stuff yourself I guess!
Forum: Plugins
In reply to: [Yoast SEO] Meta description in source is different to what I set???Further to this, when I run
print_r(get_post_meta( get_the_ID(), $key = '', $single = false ));
on the homepage, I can see:
[_yoast_wpseo_metadesc] => Array ( [0] => blah blah )
That’s what I set the description to, but when I view the source code, that is not what I see in my meta description!
I’ve disabled all caching, cleared my browser cache, tried incognito mode, disabled ALL other plugins – nothing works!
Oh cool, didn’t realise that was there! It won’t have any nasty side effects will it?
Also, I’ve added an test event and on the front end listing I’m getting an error message from the plugin:
Notice: Undefined offset: 0 in /Users/kevin.price-ward/Sites/r4wclub2/public_html/wp-content/plugins/wp-event-manager/wp-event-manager-template.php on line 651
Thanks
KevinOK, doesn’t seem like this plugin is particularly well supported these days. I just tried https://www.ads-software.com/plugins/wp-event-manager/ and it seems to work fine with Roots/Sage out of the box, it’s got better ratings too.
So due to the lack of support, despite the plugin author claiming that they check these forums regularly, I have no choice but to switch my aleigance.
*UPDATE* I tried disabling the Sage theme and using twentyseventeen and the /events/ page now seems to display the list of events and the search tool. There’s obviously a compatability issue between the plugin and roots/sage – does anyone have a solution??
Thanks
KevinForum: Plugins
In reply to: [LiteSpeed Cache] Do not cache blocks or ESI blocks in template – how?Hi there,
OK, just to explain it a little bit more… users have to be logged in to vote, they can register for this after which they get an activation email with a link, once activated they can log in. There are a couple different voting phases, one for staff and one for the general public. General public can register to vote any time, but can only vote during the voting phase but that doesn’t start till later this week.
The page url in question is something like https://mydomain.com/community-project/ – this is an archive page which lists out all the community-project post types and at the top of this page is a block which informs the user which project they have voted for, and at what time etc, or if no vote has been cast. Each community project listed has a vote button (which only displays if the user has not voted already) so that users can choose to vote for the project they want to win. Users are only allowed one vote, so once the vote has been cast, the page refreshes and the block at the top now displays the vote information and inserts a button to reset their vote. The vote buttons are also removed from each item in the list.
I use a bootstrap modal window for the vote dialogue and some ajax calls which set the relevant meta data on the user and the post. When the vote is cast successfully, the page just refreshes and displays the new voting status according to whether the vote was cast or reset.
The site is built using Sage 9 starter theme and uses Theme My Login plugin for user registration/login etc.
Hope that explains the scenario a bit more, I do have a staging version of the site which I would be more than happy to provide access to if you think it would help?
Much appreciated
KevinGreat, thanks for the info Gioni
Forum: Plugins
In reply to: [Theme My Login] Reset password page is confirming that the user existsOK, I will look into this route then Jeff. Do you know of any plugins off the top of your head that might work?
Kevin
Forum: Plugins
In reply to: [Theme My Login] Possible to override pending_activation action message?OK thanks, what would be the best way of me changing this text myself do you think? I could change the relevant PHP file in the plugin but that’s never a long term solution, what about branching the plugin to my own repo? Or are there any plans to provide control over these messages in a future release maybe?
Kevin
Forum: Plugins
In reply to: [Theme My Login] Custom passwords – password length and strengthFab, thanks Jeff, done that and overwritten the password_length error so I don’t get two which works fine!
Kevin
Forum: Plugins
In reply to: [Theme My Login] Custom passwords – password length and strengthThanks Jeff! How about the ability to check the password strength with regex – possible or not??
Kevin
Forum: Plugins
In reply to: [Theme My Login] tml_minimum_password_length filter and display errorHi,
Could anyone explain how to use this filter? How do I set the minimum password length to 8??
Also, is it possible to use a regular expression to force some stricter rules, like it has to contain at least one non alpha numeric, or you can’t use the same character more than twice? At the moment I can just use ‘000000’ or ‘123456’ as my password which isn’t very secure.
Thanks
KevinForum: Plugins
In reply to: [Theme My Login] Custom login template with Sage 9 theme?I’m just guessing but I think that roots/sage must redefine the result of get_stylesheet_directory() and get_template_directory() – from further playing around I did get it to work by putting the templates in the resources/ folder of Sage 9. I guess this must be get_template_directory() so theoretically if I created a subdirectory resources/theme-my-login – they would also work in there too.
Forum: Plugins
In reply to: [Theme My Login] How do I display the User Controls in the site header?Yes of course, I realised that a couple hours after I posted the original message!!
Forum: Plugins
In reply to: [Regenerate Thumbnails] Plugin causing Media Library to hang as AdministratorHi Alex,
Yes that seems to work! Brilliant, thank you! What was the problem?
Kevin