toologic
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] sitemap.xml redirect to main pageThanks for reply. Really, i found bad settings W3TC in nginx config file. Now it’s ok
Forum: Plugins
In reply to: [Yoast SEO] sitemap.xml redirect to main pageAdditional info.
The server reports that WordPress is the one “to blame” for the redirectx-redirect-by: WordPress
It’s not clear to me either. The changelog announced version 2.5.0, but no update was released.
Forum: Plugins
In reply to: [OpenGraphiq Lite] Not saved templateSorry, I couldn’t wait so long for an answer or solution and solved the problem on my own.
To do this, you need to add a small code to the click event for #publish buttone("#opengraphiqtemplates_data").val(t.toDataURL("image/jpeg", .7)), e("#layers_temp").empty(), /// Add this row e("#publish").click()
Forum: Plugins
In reply to: [OpenGraphiq Lite] Not saved templateThis is a console log (after #submit click)
…..
html2canvas.min.js?ver=1.0.0:20 #1 923ms Starting renderer for element at 183.97726440429688,222.28692626953125 with size 1200×630
html2canvas.min.js?ver=1.0.0:20 #1 924ms Canvas renderer initialized (1200×630) with scale 1.100000023841858
html2canvas.min.js?ver=1.0.0:20 #1 1009ms Finished rendering
jquery.min.js?ver=3.6.1:2 An invalid form control with name=” is not focusable. ?
trigger @ jquery.min.js?ver=3.6.1:2
(anonimous) @ jquery.min.js?ver=3.6.1:2
each @ jquery.min.js?ver=3.6.1:2
each @ jquery.min.js?ver=3.6.1:2
trigger @ jquery.min.js?ver=3.6.1:2
s.fn. @ jquery-migrate.min.js?ver=3.3.2:2
(anonimous) @ opengraphiq-admin.js:36
Объект Promise.then (async)
(anonimous) @ opengraphiq-admin.js:34
i @ jquery.min.js?ver=3.6.1:2
dispatch @ jquery.min.js?ver=3.6.1:2
y.handle @ jquery.min.js?ver=3.6.1:2I have a similar problem.
It seems that the author is not going to solve our problem! Or does not know how to do itMateusz,
Let’s calculate the resource costs. We need to create an array and fill it with strings with file names. For example 12,000 pieces. Then, in a loop, go through this array and check for the entry of the directory mask in the full file name. If there is a match, clear the array element. (this is what thewebpc_files_paths
filter is doing now)
It is clear that this is a one-time task – to convert all files in the /uploads catalog, but the resources are also not endless.Therefore, I suggest you, in the development of your wonderful plugin, provide a mechanism for excluding a directory (list of directories) from scanning and converting at the plugin configuration stage.
Thanks.
@mateuszgbiorczyk Thanks for the quick response.
But that’s not really what I’m trying to do.
I tested the ‘webpc_files_paths’ filter, but it is used in post-processing the list of files. It is used, when the list of files has already been formed.
I want to exclude a directory from scanning. For example, so that files in the /wp-content/uploads/images/plans/ directory are not scanned to check for the presence of graphic files and are not processed (not converted)This is important because my directory contains thousands of files over several years, they are not used on the front-end of the site.
The ‘tab_key’ will be generated from the Tab name for the shortcode after you save the tab. … We just remove the special characters and replace spaces to show the field name in the tab builder
I understand your sequence of actions. But pay attention to non-English speaking users. For example, I named the field “Покупки” and saved the tab. This field was cleared before saving and turned out to be empty.
Perhaps this field also needs to be opened for editing with a default (generated) value. So that the user can assign it a unique own url-friendly value. Because I ended up having to edit it directly in the database – there was no other way!
Thanks for the quick answers and attention to the problems and wishes of your users!
I had to look for it myself.
In the UserWP_Template class, lines 82 and 88 are what I was asking about.if (is_user_logged_in()) { $redirect_page_id = uwp_get_page_id('account_page', false);
and later
$redirect_to = apply_filters('uwp_logged_in_redirect', $redirect_to);
Thanks and this is good idea to include redirect page as settings in next versions.
Now I do not use any endpoints, I just have a link to the login page, from which the user goes to different URLs depending on the state of his authorization. I want to know how it works and is it possible to change the target?
Perhaps having multiple endpoints in the menu is the correct and simple solution. But I want to get by with one link – “personal room”. It will open either the login page or the profile page (not the account) if the user is already logged in.
No, I’m not talking about that.
I have a link to a login page in a menu (for example href=/login/ ). If the user is not logged in, then he goes to this page. But if he is already authorized, then when clicking on this link, he is redirected to the account page. And I want to be redirected to the profile page.
SOLVED! user_nicename must be stored as utf8_uri_encode in database. In this case all links work fine. Thanks for help.
I know about it and use code for enable this. And WP perfectly finds and shows pages of authors like a __site__/author/иван-иванов