bcworkz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Header space showing Footer contentWhen you use the customizer, the adjacent page preview shows the correct header menu? But on the actual front end the wrong menu appears in the header? You’re likely seeing cached content. Try clearing any caches involved, both server and client (browser) side.
How did a footer menu end up in the header? There’s a fallback mechanism that could use another known menu when the specified menu cannot be found. When you deleted the original header menu, the fallback mechanism came into play, then that scheme got cached, making it unusually “sticky”.
Forum: Fixing WordPress
In reply to: PHP Time limit (cURL Error)Increasing the PHP time limit will not help. It’s currently set to 180 seconds (not milliseconds). The cURL error timed out after 10.5 seconds. Most likely you don’t need more time because the root problem is the Outlook server is not responding to the request. Waiting longer will not make it respond. 10.5 seconds is more than enough time for a properly working request to get a response.
You need to figure out why the server isn’t responding. I suggest seeking assistance through the paid plugin’s dedicated support channel. These forums are inappropriate for providing support of paid plugins.
Forum: Fixing WordPress
In reply to: Import/Export Tool QuestionsThe answers largely depend upon what migration tool you plan to use. I recommend asking in the chosen tool’s dedicated support channel.
In choosing a migration tool, look for one that specifically supports merging two sites. As you know, ensuring there are no overwrites is an issue unique to merging sites that is irrelevant when simply migrating a single site. Not only must overwrites be avoided, but the various ID changes need to be coordinated to maintain the record relationships between tables.
Forum: Fixing WordPress
In reply to: Custom code upload as own themeFor your own WooCommerce site or to sell at woocommerce.com?
For your own site, you can upload your theme and activate it, but it’s independent of WooCommerce. It’d be a WordPress theme. There is a way to indicate a WP theme specifically supports WooCommerce, but AFAIK it’s not a requirement to do so.
To market your theme, I don’t know. I suggest asking over at woocommerce.com.
Forum: Fixing WordPress
In reply to: How to totally re-organise your site (built with Elementor)?Ideally, post type switcher would not require any technical skill, it just works. However, I’ve never used it so I cannot accurately comment on required skill level. I believe there are also plugins that allow you to assign taxonomies to pages. More broadly speaking, there are many plugins that do specialized things that require no technical skill. There are others that are more like tools for experienced users. One must know how to wield the tool to be successful. IMO the main advantage of a .org installation is that it’s endlessly customizable. But some customization does require technical skill. Other customization requires very little skill.
Additionally, one can accomplish a lot of unique customization with minimal coding skill when no suitable plugin could be found. Minimal coding skill can be learned as you go if you’re so inclined. Utilizing newer AI tools lowers the bar for the amount of skill needed, but if you don’t have at least the basic skills, verifying AI code output would be difficult.
OTOH, .com based sites are more like a walled garden. There are limits to the customization you can accomplish, but there’s very little that can go wrong. It’s a safer alternative for those disinterested in acquiring some technical skills.
Both platforms are reasonably secure out of the box. There are security plugins available for those that desire even stronger security. How much added security a host for a .org installation provides varies by hosting plan. There are also third party services available like CloudFlare that add a very robust security layer.
Since you apparently lack tech skills, I’d say .com would be the safer alternative. But if you’re at all willing to learn some new skills, a .org installation gives you much more latitude in what can be accomplished. A basic .org installation is reasonably safe. There’s no need to suddenly become tech savvy. You can pick up skills here and there as your site develops. As long as good backups are maintained, there’s little you can do that’s damaging that cannot be recovered from backup. And there are plugins that will automatically make periodic backups for you.
Forum: Fixing WordPress
In reply to: How to totally re-organise your site (built with Elementor)?FWIW, it’s possible to add custom taxonomies to pages, or extend categories and tags to apply to pages as well. Pages can be commented on by default (somewhat theme dependent though). Additionally, unlike posts, pages can be organized hierarchically. There’s an argument that pages could be better for your intended use, although not in their default state. For that matter, custom post types might be better than the default options.
Posts, pages, and other post types should be thought of as generic data containers. What they could be used for varies infinitely. In their default state, there are clearly limitations, but with some customization you can achieve virtually any kind of schema you want.
I’ll make sure to never make that mistake again.
Thank you. You’re not in any kind of trouble here. It’s clear you were unaware. Now you know.
Forum: Fixing WordPress
In reply to: Visitors to site/blog being able to register with a specific roleyou really have to unmark “anyone can register” first in the General Settings?
Correct. For most users, that’s really all that’s necessary. IIRC, this option being unchecked is the default state upon initial installation?
Deactivating custom code is way above my limited technical skills.
I understand your meaning, but FYI; the custom code would be in the form of a plugin, so deactivating would be a matter of deactivating the plugin. I think you can manage that 🙂 But of course developing the custom plugin code is understandably above your skill level. If you wanted to hire a coder, it shouldn’t take them much time to come up with something. But honestly I think doing so would be unnecessary.
Forum: Fixing WordPress
In reply to: Blocks & Category-Specific Design Questionimikehere’s suggestion of creating different templates for each category is the most straight forward way of achieving varying HTML output for each category. But FWIW, it is feasible to create a custom pattern that conditionally alters HTML based on assigned category. This is because custom PHP code can be executed in patterns. You would need a child theme to add patterns with custom PHP, you cannot do so via the site editor.
You can then place the pattern(s) in the default single post template. This way there’s no need to manually change the assigned template any time a new post is created. Nor would one need to remember to change templates if the assigned category is changed. This would only alter the HTML that’s output. You still need custom CSS to manage the final appearance.
How successful this approach would be depends on exactly what it is you wish to alter based upon category. It could be a poor solution in certain scenarios. Another drawback would be in new posts, the preferred HTML may not initially appear in the editor since PHP doesn’t yet know what category is assigned. Once published, it will appear correctly in the front end.
Forum: Fixing WordPress
In reply to: Blocks & Category-Specific Design QuestionCategory specific appearance can be managed with CSS and element class attributes. On an archive listing such as the front page, each post appears as an LI element whose classes include category information. You just need some CSS rules whose selectors target these classes.
On single post pages, it’s less straight forward. There are no category specific element classes by default. However you can add additional classes via the “body_class” filter. Then have your CSS target these added category classes similar to what’s done on the front page.
Forum: Fixing WordPress
In reply to: How do I add a frontend form for logged-in users similar to this oneI’m guessing your main sticking point is how to enforce a front end feature that’s only for logged in users. You could conditionally display a form or not by checking with
is_user_logged_in(). The precise approach depends on whether you use a classic or block theme.Managing the form’s appearance may not be adequate security. For better security, you should verify server side if the user is not only logged in, but also has proper role capability to submit the form. There are a number of actions or filters that could be used to do this. For example, by using the
"pre_post_insert"action.Forum: Fixing WordPress
In reply to: Visitors to site/blog being able to register with a specific roleFurther measures like writing custom code to make it virtually impossible to add users, even for admins. To add a user in this scenario, you’d need to deactivate the custom code first.
I don’t have specific wp.com experience, but I believe it’s the same process. You’d need to click the add user link, enter a specific user name and email at the very least, then click the add user button way down at the bottom of the screen. I cannot imagine anyone doing this by accident.
Forum: Fixing WordPress
In reply to: There has been a critical error on this websiteYou should have received an email indicating the specific error and a “recovery link” that would let you regain access to your site. The link will only work for a limited time, but if the error remains, you’ll eventually be sent another email with a new link.
It’s not uncommon for no email to arrive or the link to not work. Check your email client’s spam folder for mis-routed emails from your web server.
If you received no related email, you can check your server’s error log for error messages. The error is most likely due to an errant plugin or theme. If you can identify which from the message, via FTP or your hosting file manager, temporarily rename the errant module’s folder. When WP cannot find the module in the proper folder name, it will deactivate that module, thus taking the error out of play. Your site should then be functional again, albeit without the errant module.
Contact the errant module’s developer for assistance in resolving the error. Alternately, correct the error yourself if you’re able, or find a replacement module that provides similar functionality.
Forum: Fixing WordPress
In reply to: Newbie with Menu issuesIt looks like the initial 4 boxed links appear as they do due to a unique feature of your theme. I recommend contacting your theme’s dedicated support channel for advice on using the theme.
As a wild guess while not being familiar with your theme, you could probably select one of the existing boxed links, then copy/paste it into the page. Then edit the copy’s attributes to link to the 5th page.
Forum: Developing with WordPress
In reply to: Sanitize binary bits. Binary for Post-Quantum decryption@axewww — Your self promoting link has been redacted because it runs afoul of our forum guidelines. I’m glad you’re excited about your plugin and I encourage you to promote it, but this is not the place for that. There’s probably enough context in the rest of your post for someone to be able to locate your site if they were so inclined.
Forum: Fixing WordPress
In reply to: How to totally re-organise your site (built with Elementor)?There’s no support within WP for changing pages to posts, but it’s possible to do so by manipulating the DB via phpMyAdmin or custom mySQL queries. In essence, simply change the page’s post_type field value from “page” to “post”. There are some possible caveats though. Any page specific attributes might not be allowable to be applied to posts. Such as hierarchical pages, dedicated theme templates, or custom taxonomy terms. If your pages have none of these, then changing them to posts should be feasible.
I cannot speak to compatibility with Elementor. I don’t think it’d matter to Elementor, but you should either do some preliminary testing and/or ask the Elementor devs for advice.
Posts converted from pages will have no category assigned, which shouldn’t normally be possible. There doesn’t seem to be any ill effect in my limited testing, but to be legit, you should assign at least one category to any converted posts. It’s possible there are other complications I’m not thinking of. Do your own preliminary testing to be sure the conversion has no ill effects.
Make a full DB backup before you start manipulating it. You may need to revert to it if some unforeseen tragic flaw should reveal itself.