Connect with us
Cloak And Track Your Affiliate Links With Our User-Friendly Link Cloaking Tool, Try It Free

WORDPRESS

WordPress.com Partners With Perplexity

Published

on

WordPress.com Partners With Perplexity

The short answer is: You’ll be eligible for a piece of the pie, plus increased traffic to your website.

One of our key values at Automattic is that access to knowledge, software, and media is for everyone, not just the gatekeepers. That’s why we’ve built our company on the foundation of open source principles. And it’s why we’ve decided to partner with Perplexity, an AI-powered answer engine that lets you research on the web like never before. Think of it like a mashup of a search engine, online encyclopedia, and AI-powered conversation—an entirely new way of surfacing knowledge. When you type in a question, Perplexity searches the internet for answers in real time and provides results that include footnotes, live updates, and links to the original source. 

Being part of Perplexity’s Publishing Partners Program means that knowledge from WordPress.com can now be included in the variety of answers that are served on Perplexity’s “Keep Exploring” section on their Discover pages. That means your articles will be included in their search index and your articles can be surfaced as an answer on their answer engine and Discover feed. If your website is referenced in a Perplexity search result where the company earns advertising revenue, you’ll be eligible for revenue share.   

Here’s an example of how it might look:

1722356762 1 WordPresscom Partners With

Perplexity is partnering with select media outlets like TIME, Der Spiegel, Fortune, The Texas Tribune, and Entrepreneur. WordPress.com’s network of incredible content creators makes us a desirable partner for a cutting-edge answer engine. In addition to the revenue share, the partnership offers a great opportunity to drive traffic to your website. 

We’ll share more details of how it works as this partnership evolves, including how we’ll be distributing revenue-share payments to those whose content qualifies. If you want to opt out, we already offer the ability to opt out of content sharing. And remember: We’re always experimenting. Building relationships with AI companies allows us to advocate on behalf of our customers; if we determine that the partnership isn’t a perfect match or doesn’t serve you, we’ll reevaluate what we’re doing, so that we stay true to our mission. 

The first line of our company’s creed is “I will never stop learning.” That’s the spirit in which we’re exploring our partnership with Perplexity. If this works out the way we hope it will, both sides win—an exciting new answer engine will have a wide pool of quality content to serve people, and you’ll get to share in the success of their platform.


Join 112.2M other subscribers

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address

WORDPRESS

What Is the Fediverse? – WordPress.com News

Published

on

By

What Is the Fediverse? – WordPress.com News

Have you heard the term “fediverse” and wondered what the heck it is? Doc Pop is here to explain. And no, it’s not a cheese pun.

You’ve probably seen it on social media and in headlines around the web in the last few years: the fediverse. But what is it, really? A Boba Fett theme park? A Kevin Federline production? Some sort of cheese pun? In this first episode of our new YouTube series, the Fediverse Files, designer, illustrator, and fediverse expert ‪Doc Pop‬ explains exactly what the fediverse is so that you can jump in today to start building community and sharing content.

To kickstart your efforts, we’re giving you 25% off your first year on a Creator or Entrepreneur plan.


Join 112.3M other subscribers

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

WORDPRESS

Using WordPress Components and Tailwind CSS in our Local Development App  – WordPress.com News

Published

on

By

Using WordPress Components and Tailwind CSS in our Local Development App  – WordPress.com News

At WordPress.com, our goal is to provide the best tools for WordPress developers and agencies

We built Studio for that reason. Our free local WordPress development environment launched a few months ago; it’s based on Electron and is currently available for Mac and Windows. Plus, we have big exciting updates coming for Studio users soon.

One of the unique things about Studio is that it’s an open source tool, and it has been since day one. This directly aligns with the Automattic Creed, the driving force behind what we do at WordPress.com (and all of our other Automattic brands):

I know that Open Source is one of the most powerful ideas of our generation.

For this reason, we love building in public. In our new Building Studio in Public series, we want to share some of the learnings and insights we gained from building Studio, and our hope is that some of the lessons can help you build better products.

If you want more in-depth articles about why we chose Electron, why this is an open source project, or any other question you have about Studio, leave a comment below, and we’ll make it happen.

First up in this series, we’ll explore how we decided to use Tailwind CSS and the WordPress components that make up Studio and why that decision gave us extra flexibility for the future of Studio.

WordPress components everywhere

Components allow developers to create reusable pieces of code that can be composed together to build complex user interfaces. They encourage a modular and declarative approach of building UIs, where each component is responsible for a single piece of functionality or user interface element.

WordPress components are a great example of that. These components allow core and extender developers to create organized, separate, and interconnected parts of the WordPress admin interface. Not only do components make development easier and more streamlined, but they are also predictable and familiar across all WordPress users. To maintain a uniform look and feel across the entire wp-admin area, it’s recommended not to override the default styles of these components.

Do not confuse WordPress components with Gutenberg Blocks. While the latter are used to build WordPress frontend websites, the former are designed for building the admin interface of the WordPress site editor. They are React-based, making them versatile and applicable in any WordPress plugin or theme admin interface. They also come in handy for building different apps beyond WordPress; the only requirement is that the project uses React.

WordPress components offer a consistent style and behavior that match the WordPress admin interface out of the box, so using them in other projects outside of the WordPress ecosystem gives a familiar look and feel to the interface and user experience. 

Not only that, the components are accessible and receive constant updates and improvements. They are implemented in JavaScript as React components, which means they can be integrated into any project. Plus, by using WordPress components in Studio, developers can more easily contribute back to this open source project because Studio is using a technology they’re already used to. 

To quickly find the right component and experiment with them, you can use the WordPress Storybook, an open source tool for developing system designs and creating components in isolation. Storybook even gives you sneak peeks and allows you to interact with components from other npm WordPress packages like @wordpress/dataviews. The DataViews component is intended for future use in managing lists of posts, pages, and media uploads.

a screenshot of the DataViews component in WordPress Storybook

Components in Studio

By integrating WordPress components into Studio, we ensure a familiar user experience for WordPress users––you’re building WordPress with a tool that looks and feels like WordPress

Most buttons, dropdowns, and menus will be familiar to WordPress users, and because Studio is an open source tool, anyone with Gutenberg experience will find it much easier to understand Studio’s code and contribute if they are interested.

Even though Studio is a desktop application using Electron and not a WordPress site, we recommend not overriding the styles of WordPress components. We wanted to keep them as close to Core as possible from the design phase. This approach also reduces misalignments when updating WordPress dependencies. For styling our custom React components, we used Tailwind CSS.

Tailwind CSS is a popular, utility-first CSS framework that we use to customize the styles of our custom components and modify outer styles, such as the spacing of WordPress components, using only CSS classes.

Utilizing the power of WordPress components and Tailwind CSS future-proofs the Studio app; it’s easy to reuse these components for new features and app updates because they’re already imported into the project in a style that suits the app.

If a screen needs a new button, we already have loads of Studio-styled buttons to choose from; we don’t need to design from scratch each time a new button is needed.

Here’s how we used WordPress components and Tailwind CSS to build Studio (and how you can use them for your own projects, too):

Step 1: Set up Tailwind CSS and install WordPress components

After setting up Tailwind in your project, you’ll need to install WordPress components. Simply run the following command:

npm install @wordpress/components –save

Step 2: Import WordPress component styles

You’ll need to import WordPress component styles to inject the CSS that is built into the components by default. This speeds up the process of building your project’s interface.

In your main CSS file, import the Gutenberg component styles:

@import '@wordpress/components/build-style/style.css';

Step 3: Customize React components with Tailwind CSS

Use the className property to apply Tailwind CSS styles. Sometimes, the ! modifier is needed to mark the style as important and override existing WordPress styles.

Take Studio’s Header component, for example:

a screenshot of Studio by WordPress.com with an orange box around the header component in the site view

We’re using:

  • @wordpress/react-i18n for translations.
  • @wordpress/icons to display the icons.

To use Tailwind CSS in any component, you need to pass in the utility classes to style the elements into the className React prop. Occasionally, we needed to override the outer spacing of certain components, for which we used the exclamation mark (!).

1722468362 525 Using WordPress Components and Tailwind CSS in our Local Development

Step 4: Accessing nested elements for use across your project

With Tailwind CSS, you can use sophisticated selectors to target user interactions and nested elements within a component. This will allow you to dynamically change stylings across your project based on user and app behavior.

For example, in Studio’s Demo Sites area, we change the style of the nested element’s site name and badge to a grey color when the demo site expires.

a screenshot of Studio by WordPress.com with an orange box around the SnapshotRow component area

To dynamically style this component, we use [&_.badge]:text-red, where & means current element and _ means any child element. You can apply specific styles to a direct child element by using the greater-than operator, like this: [&>div]:text-red.

code showing dynamically styling WordPress components with orange arrows pointing to style child elements and disabled states

Ready to build?

By leveraging WordPress components and a few custom components with Tailwind CSS, you can significantly enhance your development process, providing a seamless and professional user experience. 

This decision allowed us to create an app that looks and feels like the WordPress interface in a way that benefits users and speeds up our development time. That’s a win-win, in my book. 

If you’re building WordPress sites, start developing your WordPress sites locally with the power of Studio today. It’s free, it’s open source, and it will effortlessly fit into your development workflow. 

Once you download Studio: Be sure to connect Studio to your WordPress.com account (free or paid) to access features like Demo Sites.

And if you want to help us build Studio, here are some GitHub issues that you can contribute to right away:


Join 112.2M other subscribers

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

WORDPRESS

PIC’s WooSOS Plugin Streamlines Ecommerce Through WooCommerce and SOS Inventory Integration

Published

on

By

PIC’s WooSOS Plugin Streamlines Ecommerce Through WooCommerce and SOS Inventory Integration

– WooCommerce WooSOS Plugin from PIC Streamlines Ecommerce with SOS Inventory Integration –

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

Trending