Skip Navigation

User banner
WordPress

Members
0
Posts
37
Created
3 yr. ago

A place to talk about WordPress the open source content management system. Also a place to ask for help with WordPress. Don't be rude, don't spam.

I check this once a week, so if you don't hear from me hit me up on Mastodon (phillycodehound@indieweb.social)

🌉 bridged from !wordpress@lemmy.world by Tidepool

Menu item, Page, Post, Media Library and File restrictions

- So I'm fairly new to #WordPress still and I've been looking at options for a very budget sailing club website that I help out. Broadly we are looking to properly secure menus, content and files based on roles and provide a reasonable straightforward user experience for logged in and non-logged in users to get access to such content. I fleshed out a few requirements: Media Library restrictions 1. Media library file restrictions – Be able to configure for media library items or groups of media library items whether they are publicaly accessible or limited to logged in users in one or more WordPress user roles 2. For any Media library items where restrictions have been applied there related file items are not directly accessible for users without the required role permission or for un-logged in users. Page and Post restrictions Be able to restrict posts and pages appearing based on whether a user is logged in and if they are logged in whether they have the a role with permission to access the content item To be able to present a message (that can be customised by WordPress user with appropriate permissions ) to a website visitor without the required role that they don’t have access to the required Post or Page when attempting to access it saying that (Unauthorised) When viewed by a visitor that is not logged in - Being able to present a message that the visitor must be logged in, and present a login form ( or a link to a login page) that returns the user to the permissioned content after they have successfully logged in to view the content item Menu restrictions To be able to create menu items that are only displayed to users with specific roles I'm looking at a range of options. There are plenty of fremium options - all I have found would require us to upgrade to the paid versions to get the experience we are looking for. The ones I have found are: WP Page and Post Restrictions Plugin with WP Media Restriction Plugin WPFolio Team package - Prevent File Direct Access & Protect WordPress Pages & Posts Ithinkx - Groups and Groups file access Cost is about $300 per year for a pair of plugins - which isn't a killer - but I just wanted to check what people thought - are their better options? Is are their free options for non-profits?

friendica.ginestes.es

Blogger Importer Error in WordPress

Hi everyone. I'm using the Local app to run a WordPress multisite setup and migrate content from my Blogger blog using the Blogger Importer plugin. However, when I try to import the XML file, an error appears on line 159 of the blogger-importer.php file. Here are screenshots of the specific error messages: image image I am getting confused because the import process starts but then fails halfway through. It seems the error is related to how the plugin parses the XML data, but I'm not sure what's causing the null value issue. Has anyone else had this problem using the Blogger importer? If you have dealt with this issue before, please send me your replies. I need to understand how to resolve this error so that I can finish migrating my blog. I've tried re-exporting the XML file from Blogger several times, but the same error keeps showing up. Any suggestions for fixing this issue or alternative import methods would be much appreciated. Sorry for the inconvenience, and thanks in advance for your help.

How can I get my buttons aligned horizontally? (same x axis)

The home page for my site is looking like this so far. The only problem is that I can't get the buttons aligned horizontally.

The setup is a grid container containing 3 group items. Within each group is a H3 heading, paragraph, list items and a button. The buttons at the bottom should all line up.

There aren't many options in the actual editor for things like this. I've set the buttons to be centre justified and I've set the vertical alignment to "bottom".

I don't mind adding custom CSS in the sidebar for the blocks, but it would need to be responsive.

Mass Export/Backup of my VPS

Hi folks

I messed up my VPS by upgrading to newer Ubuntu version and something went wrong along the way and I basically lost access to CPanel. I tried a few things but i think its far gone.

I thought the best idea now would be to back up all the WordPress websites I have on the server (including database), export them, rebuild the VPS and import back the website.

Could you point me towards how to do it best and safest way?

Many thanks

Boss is "vibe coding"

My boss thinks it's very cute to talk about AI as much as possible, and today asked if I'd heard of "vibe coding". I said yeah, and explained to my coworker that it's where you get a chatbot to write all your code.

My boss has just announced that he's vibe coding. I know the project he's working on. It took us months to put that codebase together, and there are a lot of very complex functions and plugins in that site that we've written to integrate with all the systems our client needs the site to use.

What am I supposed to do here? He's just letting a chatbot go rogue on the codebase. Do I just leave him to it with the full knowledge that it'll fall on me and my colleague to repair all this damage, presumably while being accused of breaking the site in the first place? I need the money from this job so unfortunately leaving isn't an option at this stage.

How do I make the Wordpress media library be somewhere else?

cross-posted from: https://lemmy.world/post/41972137

I've been a bit short sighted. I set up my WordPress instance on a server with... Not a huge amount of space. A year or so later, and now I'm running out. I have another server which I could serve files from, and it's got loads of space. Is there a way that I could get the Wordpress media library to just... Serve and upload from that one instead? Preferably migrate it there as well. Too many people I find online get some sort of yuppie answer like an expensive plug-in with an Amazon CDN subscription. I just want to homebrew this. I don't intend to host the major site assets for the site structure on it, and I'm fine with images taking a little longer to load.

I made a WordPress Devcontainer Template

I was sick of always fighting with WordPress to get a local set up to develop a plug-in or update the theme for a client, so I made a dev container.

As per the README, this supports:

• Automatic database dump import and site URL rename • Automatic WordPress theme and plug-in loading from .zip, wpackagist or directory • Mounting of a user-provided uploads directory

It also means your IDE automatically gets access to a WordPress installation for easy auto complete of WordPress functions and features when writing PHP code.

Theoretically, it can also easily be converted into a normal container if you don't use VSCode by setting up /workspace as a mount. Dev containers are unfortunately a bit broken with JetBrains products, and this container will not launch.

Contributions welcome!

gitlab.com

The WordPress Community Collective <-- Aiming to make WP survive this latest craziness with Matt and WPE

The WP Community Collective is focused on supporting and strengthening the open source ecosystem.

The WP Community Collective provides financial, operational, and promotional support to open source projects and communities. We fund independent contribution to selected projects and develop initiatives that support the both the micro and macro open source community. I'm a member and I see the need for a community like this outside of WordPress.org to make sure the project survives Matt Mullenweg's idiocy.

www.thewpcommunitycollective.com