Please I am trying make my search engine in my project and is giving me thi

Featured Imgs 11

deprecated and will be removed in
a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini
and use the php://input stream instead. in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent in <b>Unknown</b> on line <b>0</b><br />. Please the answer is urgent.

how to convert this into a relative path

558fe5180e0e8fc922d31c23ef84d240

how to convert this into relative path code, since if im gonna install my system to other computer this line of code will get an error since the path of the data source doesnt match the current path if im gonna install it to other computer

Screenshot_2021-10-20_195847.png

Tidying the Media Library With WP Ninjas’ Remove Unused Media Plugin

Featured Imgs 14

A few weeks ago, WP Ninjas announced it was stepping into the media optimization plugin market. The team released its Remove Unused Media plugin as a commercial project for tidying storage space. I received a full copy of it and put it through the ropes.

With so many commercial plugins, I am accustomed to the developers creating an entirely new menu item, taking up precious admin real estate. This happens even with those that just have a single screen too. However, I was happy to see the WP Ninjas team tucked everything neatly under “Media” as a sub-menu. We were off to a good start, and things only got better.

When I review plugins, there is one thing that I consistently preach: simplicity. That begins with following the core WordPress UI and sticking as closely to it as the plugin’s features will allow. In essence, don’t make me think about how to use your plugin.

For the most part, Remove Unused Media got the user experience right.

I could nitpick a few design choices with the interface, such as modifying the list table with rounded corners and extra padding. The “filter” sub-navigation also deviates from the standard. And, the “last analysis” message should receive the WordPress admin notice treatment so that it stands out.

These are all core UI elements with unnecessary customizations. However, they did not diminish the experience on the whole. The plugin mostly stuck with the WordPress standard.

The real question is whether the plugin does what it says on the tin. What is the experience of removing unused media like?

It was easy. Users merely need to click the “Start Analysis” button and wait a few seconds. The plugin then has three tabs:

  • Unused Media
  • Used Media
  • Ignored

The Unused Media tab presents an overview of all media that the plugin could not find used on the site. There is a possibility that it missed something. However, I only found one old-school scenario where this happened, which I will dive into later.

Screen that shows media that the plugin detects as unused. Attachments presented in a list table.
Unused media screen.

From this point, end-users can manually delete individual media attachments or use the bulk-delete option. Before doing so, the plugin recommends making a backup of the site — solid advice for any such plugin.

My favorite feature of the plugin was not its primary feature of deleting media. It was actually the “Used Media” screen. Its “Where?” and “How?” columns break down where images, videos, and other files are used and in what context.

Screen from the Remove Unused Media plugin that shows media where and how it is used across the site.
Used media screen.

It reminded me of the “instances” screen for the WordPress admin block directory proposal from 2019. The concept showed where specific blocks were used across the site. Remove Unused Media does the same thing for media files.

The “Ignore” tab for the plugin keeps track of media files that should not be deleted, even if they are unused. Users can click a link from the other screens to add them to the list. This persists after running a new analysis too.

The plugin scans several third-party plugins like Elementor, Beaver Builder, ACF, and Yoast SEO. Some store media instances outside of the post content, such as in custom post meta, and Remove Unused Media searches those specific fields.

Pricing starts at 39€ ($45.38 at today’s exchange rate) for one year of support and updates for a single site. It also has a five-site option at 149€ and a 100-site tier at 299€.

For the first version, the user experience felt solid. However, it does not have much in the way of customizability. That could be a sticking point for users who are looking for a more flexible premium option.

Exploring Alternatives

The plugin is not the first of its kind. The Media Cleaner plugin by Meow Apps is free, routinely updated, and has over 40,000 active installations. It also has a commercial version with more features, such as third-party plugin integration, WP-CLI support, filesystem scan, and live-site analysis.

The issues list from the Media Cleaner plugin in the WordPress admin, showing a list of unused media items.
Media Cleaner plugin results.

The UI for Remove Unused Media feels more like WordPress. Its “Used” tab also shows where (i.e., what posts) and how (e.g., content, featured image) specific media files are used across the site. This feature alone makes it worthwhile for me.

One area where Media Cleaner shines is its option for ignoring (not deleting) attached media. This is a vital feature if users have ever added the old gallery shortcode. At one point, WordPress simply displayed all attached images as a gallery. Eventually, it specified the IDs in the shortcode. However, for those older instances, this was not the case. Without enabling this option, those media items might get queued up for deletion.

The Remove Unused Media plugin does not have such an option. Attached images that are not explicitly used are considered unused. This may not be an issue for most users, but those with old gallery shortcodes should be aware of potential problems.

The baseline features for both are similar. Remove Unused Media gets the edge in its default user interface and experience. However, Media Cleaner has many more options for customizing how the plugin works. Plus, users who cannot afford an upgrade can always run the free version.

This is not to say either is better or worse than the other. Both were solid options in my tests. I just want to merge the best features from each, snagging the interface from Remove Unused Media and the configurability of Media Cleaner.

A Quick Guide to Photo Organization For Macbooks

Featured Imgs 23

There’s nothing worse than spending hours searching for an image on your computer. Between old screenshots and blurry photos, your sentimental pictures can get buried amongst the clutter.

Luckily, it’s extremely simple and accessible to sort, organize, and group your important photos together on Macbook computers.

Not sure where to start when it comes to photo organization on your Macbook? Keep reading for some of the best tips and tricks to get your photos sorted and functional.

Declutter Your Pictures

When it comes to Macbook organization, a digital declutter is one of the best options. Though it can be time-consuming, you’ll feel a sense of relief when your laptop has free space.

One of the easiest ways to declutter your Macbook photos is to delete duplicate images. However, it can be tedious to do this manually. You can read more about the free app that deletes extra copies of photos for you!

You’ll also want to go through and delete any old screenshots you no longer need. This will help you free up space and organize your photos easier.

Create Albums

After you declutter your photos, you’ll want to create albums for your photos. There are several ways to do this, so you’ll want to pick an organizational system that works for you. 

You can create albums based on their chronological order, periods of time in your life (e.g., “College”), or what is in the photo. Properly labeling your photo albums allows you to navigate your pictures and find what you’re looking for.

To create albums, you’ll first open the Photos app on your Mac. Next, you’ll click the “File” option on your laptop’s menu bar and select “New Album.” You can also hit “⌘N.”

Once you have your new album, you’ll want to properly name it before adding your photos!

Smart Albums

When creating your album, you may notice an option called “Smart Album.” This gives you the ability to let your computer compile photos for you. 

If you click on “New Smart Album,” you’ll see a pop-up box that allows you to select the criteria that you want to be included in your album. From people to keywords, this makes organizing your photos a breeze.

This option is also extremely practical for photographers, as there are specifications you can choose based on your camera. You can choose photos based on shutter speed, aperture, or and even the lense you used.

Photo Organization, Made Simple

When it comes to Macbook organization, the photos app is one of the last things people think to sort through.

However, keeping your photos organized can help you whether you’re a professional photographer or an amateur Instagram enthusiast, your photo organization is extremely important. 

If you found this guide on how to organize photos on your Macbook helpful, be sure to visit the rest of our website. There, you can find more great technology tips and tricks.

The post A Quick Guide to Photo Organization For Macbooks appeared first on Photoshop Lady.

Help naming company

Featured Imgs 20

Help please,

I'm trying to decide between names for my company:
Office Surgery
or
Office Surgery Centers

I am starting a company to help doctors open a surgery suite in their office. I own the domain: www.officesurgery.com and have email addresses with @officesurgery.com including info@officesurgery.com

Any suggestions? I am hoping to get people to vote on which they prefer given my domain ownership, etc.

THANK YOU!!!

User-Friendly Newsletters with AcyMailing for WordPress

Featured Imgs 14

User-Friendly Newsletters with AcyMailing for WordPressIf you don’t have a newsletter set up already, now is the time to get started. A newsletter has limitless uses; you could inform users about your latest articles, thank them for signing up, remind them about abandoned carts, or invite them to upcoming events. And all of this can be totally automated, sending emails […]

The post User-Friendly Newsletters with AcyMailing for WordPress appeared first on WPExplorer.

arrays and strings in c

558fe5180e0e8fc922d31c23ef84d240

can someone explain to me this code and what the output should look like?, is there going to be two strings? and what does dest[I]=to src[] mean, is string bar going to have the string abcd or efghijk.

#include <stdio.h>

void copy_str(char *dest, const char *src);



int main(void)
{
  char foo[7];
  char bar[7] = {'E', 'F', 'G', 'H', 'I', 'J', 'K'};
  copy_str(bar, "ABCD");
  copy_str(foo, bar);
  return 0;
}


void copy_str(char *dest, const char *src)
{
  int i;
  for (i = 0; src[i] != '\0'; i++)
    dest[i] = src[i];

  // point one 
  dest[i] = '\0';
  return;
}

Shopify vs WooCommerce: Which Platform Is Right For Your Business?

Featured Imgs 23

Introduction:

Shopify vs WooCommerce? With the advent of eCommerce, it has become easier than ever for businesses to sell their products and services online. However, there are many different platforms that offer similar services and pricing plans. With both Shopify and WooCommerce being two of the most popular choices out there, this article will break down some key differences between these platforms so you can make a more informed decision about which one is right for your business!

1. Shopify

2. WooCommerce

3. Pricing Plans

4. Security Features

5. Integrations

6. Key Differences between the two platforms

Shopify

Shopify is a popular online platform that provides everything you need to run an eCommerce business. Shopify includes many different features including the ability to use sales-specific apps, store/product pages, customer accounts, shipping companies, taxes, VAT, and more. In addition, Shopify provides a checkout system. When you add products to your store’s catalogue, it automatically calculates sales tax and VAT depending on your location so you don’t have to worry about the hassle of doing this yourself!

In comparison with WooCommerce, Shopify is a much simpler platform that has less customizable features. It also doesn’t offer an open-source code which means updates are done centrally by Shopify, not by users themselves. One big benefit of going with Shopify is their 24/7 customer support which makes them a great choice if you’re just starting out and need help getting everything setup!

WooCommerce

WooCommerce is another popular eCommerce platform allows businesses to sell both physical and digital products online. WooCommerce is an open-source platform which means it’s free to use and customizable. You can also add extensions or plugins to your store with ease! Some of the key features of this platform include inventory management, shipping companies, built-in checkout pages, product reviews/ratings, SEO optimization tools and more.

WooCommerce offers many similar benefits to Shopify including 24/7 customer support, automated taxes/VAT calculation, shipping integrations and so on. One huge benefit is that it comes with an open-source code so you’re not limited by what the developers have created for you – you can completely customize your eCommerce website any way you’d like!

Pricing Plans

When it comes to choosing an eCommerce platform, the pricing plans are a huge factor. Shopify offers three different pricing plans while WooCommerce’s pricing is based on which extensions or plugins you choose to use.

Shopify Plan Comparison

One of the major benefits of using Shopify is that it offers payment integration with all major credit cards and payment processors including Braintree and Stripe!

Bottom Line: If you’re looking for a more advanced eCommerce site that has many customizable features but still want access to customer support then WooCommerce might be the best choice for your business! However, if you want a simple website with less customization options and integrated payments, we would recommend going with Shopify.

Security Features

When it comes to security, both Shopify and WooCommerce offer SSL certificates. Shopify encrypts data during checkout while WooCommerce allows you to add your own custom security features such as captcha verification and geotracking.

Integrations

Last but not least, integrations are another key factor when it comes choosing an eCommerce platform. Both platforms offer some built-in integrations including: MailChimp, PayPal, ShipStation and more! However, if there is a particular integration that you need but don’t see on the list then it’s likely you’ll have to choose a third party plugin or app to meet your needs.

Bottom Line: As far as integrations go, both Shopify and WooCommerce do well with what they have to offer. If you have a specific app or software that you need to be integrated with your eCommerce site then Shopify might be the better choice as far as available integrations go!

WooCommerce Extensions/Plugins

The more advanced platform of WooCommerce gives users more control over their eCommerce website and comes with many different extensions and plugins that can be added for customization. One major downside is that these apps are not supported by WooCommerce themselves so if something goes wrong, there’s no one to contact for help.

Shopify vs WooCommerce: Which Platform Is Right For Your Business?

Both Shopify and WooCommerce boast advantages and disadvantages – it really depends on what features you looking for in an ecommerce platform and your budget. If you’re looking for a more simplified website that still has many features then Shopify might be the better choice for you! However, if you want to build a fully customized eCommerce website and don’t need (or want) customer support then WooCommerce is your best option.

And of course, if there’s a specific app or integration that you absolutely can’t do without then it’s important to consider which platform offers those integrations as well!

Conclusion:

Both Shopify and WooCommerce are great options for ecommerce websites. If you’re still not sure which one to choose, let’s review some of the key differences between these two platforms so that you can make an informed decision about what is best for your business. While both services offer a wide variety of capabilities out-of-the-box, it’s important to note that each platform has different benefits depending on your specific needs. For example, if you need more control over design or want access to additional features like discount codes or coupons, then WooCommerce may be the better option for you. On the other hand, if security is at the top of your list when choosing an eCommerce solution (e.g., PCI compliance), then Shopify may be the wiser choice.

Key differences:

* Designed for web designers or marketing agencies, WooCommerce is a self-hosted open source platform that you can install on your own website and manage yourself. This option has more flexibility than hosting with Shopify because you have the ability to customize every aspect of how your ecommerce site looks and functions, but it requires a bit more technical know-how.

* The design of both platforms is similar in that they each come with pre-made templates that are easy to customize via simple drag-and-drop tools within the admin panel. This means you’ll spend less time designing and developing your site compared to other solutions like Drupal .

* With WooCommerce, you have the option to integrate with WordPress. This lets you take advantage of existing plugins for ecommerce, marketing, analytics and more. Shopify does not offer this capability because it is a standalone platform where all functionality is included out-of-the-box.

* When it comes to payment options, both platforms accept major credit cards as well as PayPal/other online wallets.

Key Advantages & Disadvantages:

* Shopify has many advantages in terms of ease of use and time savings compared to WooCommerce . It’s faster to develop new features and launch your site because everything is self-contained within its environment – no need for additional installations or updates via FTP (though there are dedicated apps available).

WordPress 5.9 Go/No-Go Update: All Proposed Features Are Moving Forward

Category Image 091

The go/no-go deadline for deciding on features for WordPress 5.9 was set for October 12 but the conversation was pushed back two days. Today, the core leadership for this release announced that everything in the previously-proposed scope for 5.9 will be moving forward.

Users can expect block themes, template and template part editing flows, the new default Twenty-Twenty Two block theme, the Styles interface, design tools, the Navigation Block, all manner of UI improvements, and pattern insertion directly from the Pattern Directory. Héctor Prieto, who is assisting with technical project management on the release, emphasized that many of these features are still in progress:

To note, not all of the above are currently ready, but there is some level of confidence that they can be by the time of 5.9.

A new WordPress 5.9 Must-Haves project board on GitHub shows a broad overview of the issues contributors are focusing on to get the release ready.

Prieto also published an exhaustive transcript of the meeting. There were no strong objections on specific features moving forward but there seemed to be a general acknowledgment that some features are still in a beta state. Those present at the meeting agreed that some kind of beta label might be advantageous where users could be directed to the Gutenberg plugin for faster updates to features that are still not fully polished.

One particularly challenging feature has been navigation. “I think from my perspective, the thing I was a bit worried about was the navigation menu flows, which I think we did a lot of progress over the last few weeks,” Gutenberg lead engineer Matías Ventura said. “And I think we need to set some good boundaries there.

“There has been a lot of work in also supporting sort of mega menus where you have in your sub-menus, you have images and paragraph any sort of block, which is cool. But there’s also like the 80% of cases where you just have a few links, and we need to ensure that that experience is as best as we can make it. I think we’re in a better place. And I think we’ll get there.”

Beta 1 is expected November 16, and the official release is scheduled for December 14. If you want to see an early demo of WordPress 5.9, check out the recording of the meeting below: