Friday, December 2, 2022

Admin area | WordPress

 The Admin Area is the control panel for your WordPress website. From here, you can manage all aspects of your site, including adding and editing content, managing users, and changing the look and feel of your site. The Admin Area is only accessible to logged-in users with the appropriate permissions. If you’re not logged in or don’t have the correct permissions, you won’t be able to access the Admin Area.

How to Log In to Your WordPress Admin Area

To log in to your WordPress Admin Area, go to your website’s login URL. This will typically be something like http://example.com/wp-admin, but it could be different if you changed it during the installation process.

Once you’re at the login page, enter your username and password. If you don’t remember your username or password, click the “Lost your password?” link to reset it.

Once you’ve entered your credentials, click the “Log In” button to access your Admin Area.

Congratulations! You’re now logged in and can start managing your WordPress website.

What You Will Find in the WordPress Admin Area

The WordPress Admin Area is divided into several sections, each with its purpose. Here’s a brief overview of what you’ll find in each section:

  • Dashboard: The Dashboard is the first screen you’ll see when you log in to your Admin Area. It gives you an overview of your website, including recent activity and essential updates. You can also customize the Dashboard to display the information that’s most relevant to you.
  • Posts: The Posts section is where you can add and manage your website’s content. This includes blog posts, articles, and other types of content.
  • Media: The Media section is where you can upload and manage images, videos, and other media files. You can also insert media into your posts and pages from here.
  • Pages: The Pages section is where you can add and manage your website’s static pages. This includes things like your About page, Contact page, and other pages that don’t change often.
  • Comments: The Comments section is where you can approve, delete, or reply to comments left on your website.
  • Appearance: The Appearance section is where you can customize the look and feel of your site. This includes changing your theme, adding widgets, and customizing the code of your site.
  • Plugins: The Plugins section is where you can install and activate plugins to extend the functionality of your WordPress site.
  • Users: The Users section is where you can add and manage users on your website. This includes things like setting user roles and permissions.
  • Settings: The Settings section is where you can manage the basic settings for your WordPress site. This includes your site’s title and description and your admin username and password.

What is the Admin Toolbar?

The Admin Toolbar is a black bar that appears at the top of your website when logged in to the Admin Area. It gives you quick access to commonly used features, such as adding new posts and pages, accessing your comments, and managing users.

The Admin Toolbar is only visible to logged-in users with the appropriate permissions. If you’re not logged in or don’t have the correct permissions, you won’t see the Admin Toolbar.

How to Use the WordPress Admin Area

Now that you know what the WordPress Admin Area is and what it contains, let’s take a closer look at how it works. This section will give you an overview of some of the essential features of the Admin Area.

Creating & Managing Posts

Posts are the pieces of content that make up your website’s blog. To create a new post, go to the Posts section of your Admin Area and click the “Add New” button.

On the “Add New Post” screen, you’ll be able to enter the title and content for your post, as well as set a featured image and other options. Once you’re finished, click the “Publish” button to publish your post.

You can also manage your existing posts from this screen. To do this, hover over a post and click the “Edit” link. From here, you can edit the post’s title, content, and other settings. You can also delete a post by clicking the “Trash” link.

Creating & Managing Pages

In the WordPress admin area, you can create and manage pages. First, go to the Pages > Add New section to create a new page. Here you can enter the title and content for your page. Once you are satisfied with your page, click the Publish button to make it live.

To manage existing pages, go to the Pages > All Pages section. Here you will see a list of all the pages on your site. From here, you can edit pages, delete pages, or change their order. You can also search for specific pages by entering a keyword in the search box.

Pages are a great way to add static content to your WordPress site. With pages, you can provide information about yourself or your business, showcase products or services, or create a contact form. You can easily create and manage pages on your site using the WordPress admin area.

Creating & Managing Media

The WordPress admin area also allows you to manage your website’s media. Media is used for images, videos, and other files you upload to your website.

To add new media to your site, go to the Media > Add New section of your Admin Area. Here you can upload files from your computer or select files that you have already uploaded. Once you have selected the files, you want to add, click the “Insert into post” button.

To manage your existing media, go to the Media > Library section. Here you will see a list of all the media files on your site. From here, you can edit or delete files and view file details.

Creating & Managing Comments

To begin managing comments on your website, go to the Comments section, which can be found in the left-hand sidebar on the Dashboard. Here you will see a list of all the comments that have been made on your website, including those that are awaiting moderation. To approve or delete a comment, simply click on the appropriate button next to each comment. You can also reply to comments directly from this page.

If you want to change the settings for how comments are displayed on your website, or if you want to enable comment registration, you can do so by going to Settings > Discussion in the left-hand sidebar. Here you will find several options that will allow you to customize the commenting experience on your site. Once you have made any changes, be sure to click on the Save Changes button at the bottom of the page.

WordPress makes it easy to track and manage your website’s comments. By taking advantage of the features in the WordPress admin area, you can ensure that your site’s comments are moderated effectively and that users have a positive experience when interacting with your site.

Creating & Managing Users

First, you will want to click on the Users link in the sidebar. This will take you to the main Users page. On this page, you will see a list of all the users who currently have access to your website.

To add a new user, click the Add New button at the top of the page. This will take you to the Add New User page. You must enter the new user’s username, email address, and password. You can also set their role on your website. Once you have entered all the required information, click the Add New User button.

To edit an existing user, click on their name in the list of users on the main Users page. This will take you to their profile page. On this page, you can edit their username, email address, password, and role on your website. Once you have made the necessary changes, click on the Update User button at the bottom of the page.

Changing Your Site’s Appearance

Go to the “Appearance” section in the WordPress admin area and click on “Themes.” You can browse through the available themes or search for a specific theme by keyword. Once you’ve found a theme you like, hover over it and click on the “Activate” button.

Once your new theme is activated, you can further customize it by going to the “Appearance” section and then clicking on “Customize.” Here you’ll be able to change things like your site’s title, colors, and logo. You can also add or remove widgets from your sidebar and rearrange the order in which they appear. When you’re finished customizing your site, click on the “Save & Publish” button.

Managing Plugins

One area you should visit is the Plugins section, which allows you to add, activate, and deactivate plugins as required. Here’s a quick overview of how to use this section:

First, click the “Add New” button to add a new plugin. This will take you to the WordPress Plugin Directory, where you can browse and search for plugins. Once you’ve found a plugin you want to install, click on the “Install Now” button.

Once a plugin is installed, it will appear on the main Plugins page list. To activate a plugin, click on the “Activate” link. To deactivate a plugin, click on the “Deactivate” link. You can also delete a plugin from this page by clicking on the “Delete” link (this does not delete the plugin file from your server, however).

General Settings

The General Settings page allows you to change your website’s title, tagline, and timezone. You can also set your site’s language here. To access the General Settings page, go to Settings > General in the left-hand sidebar.

Once you’ve made any changes, be sure to click on the “Save Changes” button at the bottom of the page.

Permalink Settings

The Permalinks Settings page allows you to choose how your website’s URLs are structured. For example, you can choose to have your posts displayed with or without the date in the URL. To access the Permalinks Settings page, go to Settings > Permalinks in the left-hand sidebar.

Once you’re done making your changes, save them by clicking on the “Save Changes” button at the bottom of this page.

Hackerx Vancouver event | Dec. 1, 2022

Dec. 1, 2022

I was so happy to attend the event, and also I had chance to meet leaders from Global relay, and I got connected some of them on Linkedin.com. 

  1. Sohail Rajabi
  2. Alex Xie
I also took nice pictures with the famous clock in Gastown of Vancouver - Gastown Steam Clock. 

I also talked to a few engineers:

  1. Vince Yuan
  2. Shane Vander Meer

Northwestern Kellogg School of Management

 Kellogg’s Greg Hanifee: “Our focus on the intersection of business and science uniquely positions future leaders to excel in careers across many sectors and companies.”

Northwestern Kellogg School of Management, one of the top five B-schools in the United States, is offering to waive its test score requirement for those applying to the part- or full-time MBA programs who have been recently laid off from their jobs in the technology field. The waiver of either the Graduate Record Exam or the Graduate Management Admission Test is applicable to Kellogg’s Round 2 applications for full-time and part-time programs. Round 2 applications are due January 4 for Kellogg’s Evening & Weekend program, and January 10 for its full-time programs.

Kellogg is urging the high-performing talent of the tech industry to consider studying on the shores of Lake Michigan, where the school has cultivated a rich reputation from its storied history of innovation, creativity, and empathy. Casualties of recent mass layoffs and others “can apply to Kellogg by providing their transcripts, resume and application which will also include a brief essay on their work experience and most recent role as well as what they hope their transformation will be and how it will advance them,” writes Greg Hanifee, Kellogg’s associate dean of degree programs and operations, in a blog post on November 14.

But the offer to apply to either Kellogg’s part- or full-time MBA without taking a big, expensive, and time-consuming exam is not charity: Though it did not publish application data this year, Kellogg is believed to have joined most of the leading business schools in the 2021-2022 cycle in suffering a major app decline, which would mark the second year in a row for the elite B-school after it bucked positive trends in the 2020-2021 cycle by losing 20% of its app volume from the previous year. Boosting the numbers this cycle is certainly a priority for Kellogg.

MORE GUARDRAILS THAN THE LAST TIME KELLOGG WAIVED TESTS

“Kellogg has always been about leading with compassion and learning to channel analytical skills with personal skills in business,” Hanifee writes. “Our focus on the intersection of business and science uniquely positions future leaders to excel in careers across many sectors and companies. We hope this offer will allow some people to speed up their career transformation process.”

Beth Tidmarsh, former director of MBA admissions at Kellogg and current consultant at Stacy Blackman Consulting, says Kellogg’s move shows the school learned some things from its last experiment with test waivers at the height of the coronavirus pandemic in 2020.

“It reads to me that they have several guardrails in place versus spring 2020 when they let anyone apply with no score,” Tidmarsh says. “This time they are certainly more targeted on competitive employers, and reaching out to former employees who may be scrambling.”

KELLOGG ‘HOPING TO BOOST ITS POOL OF QUALIFIED APPLICANTS’

Linda Abraham, founder of Accepted MBA consultancy, says laid-off tech talent would do well to consider Kellogg’s offer, a rare moment when the gates of a highly selective B-school open a little wider. In 2021, Kellogg’s acceptance rate was 26%, among the lowest of any B-school. Moreover, Kellogg is home to many techies already: Seventeen percent of its newest MBA class are students who came from tech, and one-fifth of its 2022 graduating class went into the sector.

“Kellogg experienced a sharp drop in applications last year, like many of its competitors,” Abraham notes. “For these recently laid-off workers, who until the last few weeks had positions that were demanding and whose skills when combined with an MBA will probably be in demand, Kelllogg is comfortable relying on their transcript as evidence of academic ability (or lack thereof). They don’t need the test score. Getting these kinds of jobs is in and of itself a test.

“At the same time, these recently laid off workers may not have the time to prepare for and take the test and then apply. If Kellogg waives the test, it will both attract applicants who don’t want to take the test and enable those who otherwise wouldn’t have the time to take the test to actually apply.

“In other words, Kellogg with this move is hoping to boost its pool of qualified applicants and stop the decline in application volume.” Might some other B-schools follow suit, given the state of MBA applications these days? Stay tuned!

Layoffs - Where to go?

 

Where Will the Thousands of Laid-Off Tech Workers Go?

Here is the article.

This year is shaping up to be the worst time for white-collar tech workers since the dot-com bubble burst.

Even before Amazon began laying off about 10,000 corporate employees on Wednesday, the job-loss numbers within the tech sector were grim. Just recently: Meta laid off 11,000 people, Stripe and Microsoft and Snap all axed about 1,000 employees each, Salesforce and Zillow let go of hundreds of workers, and Twitter cut about half of its 7,500-strong workforce. (And that was before Twitter cut thousands of content-moderation contractors, and before new owner Elon Musk fired 20 staffers for expressing their dissatisfaction with him.) According to data gathered by the website Layoffs.fyi, at least 86,700 tech jobs within the U.S. have been lost this year alone. There will be more to come.

In a time of scuttled prospects, high costs of living, economic slowdown, and general labor-market weirdness, where will the tens of thousands of newly displaced tech workers go? Tech may be contracting, but as of now, the rest of the economy is still hiring. And that’s where the former employees of Meta, Twitter, and Amazon may need to go.

The United States’ move-fast-and-break-things tech scene is finally slowing down and picking up some pieces, thanks to high interest rates, shrinking market potential, and dried-up investment. Some industry executives have also cited overenthusiasm for hiring—especially during the pandemic—and misplaced optimism for further sector growth as factors. “It has become fashionable for VCs to talk about how all these tech companies are overstaffed,” wrote Emily Mazo, an organizer with the labor advocacy group Collective Action in Tech, in an email. “Any of the workers who just got laid off will likely tell you that they were in fact understaffed, that they were working much more than 40 hours a week even before half their teams were fired, and that they have long lists of things they wanted to build but didn’t have the hands for. But workers are the first ones to be hurt in a downturn moment.”

Many of these coders, engineers, information analysts, designers, and recruiters who flocked to Silicon Valley in the 2010s are now facing a very different job market. Several firms that haven’t announced plans for layoffs are either slowing their hiring or freezing new positions altogether. At the same time, some workers are increasingly concerned about employer ethics and thinking twice about which companies they consider. Plus, any available jobs within the industry aren’t likely to include the same perks they once offered—in-office luxuries, generous financial benefits and leave policy, discounted travel costs—because of lot of those are being slashed, too.


This year is shaping up to be the worst time for white-collar tech workers since the dot-com bubble burst.

Even before Amazon began laying off about 10,000 corporate employees on Wednesday, the job-loss numbers within the tech sector were grim. Just recently: Meta laid off 11,000 people, Stripe and Microsoft and Snap all axed about 1,000 employees each, Salesforce and Zillow let go of hundreds of workers, and Twitter cut about half of its 7,500-strong workforce. (And that was before Twitter cut thousands of content-moderation contractors, and before new owner Elon Musk fired 20 staffers for expressing their dissatisfaction with him.) According to data gathered by the website Layoffs.fyi, at least 86,700 tech jobs within the U.S. have been lost this year alone. There will be more to come.

ADVERTISEMENT

In a time of scuttled prospects, high costs of living, economic slowdown, and general labor-market weirdness, where will the tens of thousands of newly displaced tech workers go? Tech may be contracting, but as of now, the rest of the economy is still hiring. And that’s where the former employees of Meta, Twitter, and Amazon may need to go.

The United States’ move-fast-and-break-things tech scene is finally slowing down and picking up some pieces, thanks to high interest rates, shrinking market potential, and dried-up investment. Some industry executives have also cited overenthusiasm for hiring—especially during the pandemic—and misplaced optimism for further sector growth as factors. “It has become fashionable for VCs to talk about how all these tech companies are overstaffed,” wrote Emily Mazo, an organizer with the labor advocacy group Collective Action in Tech, in an email. “Any of the workers who just got laid off will likely tell you that they were in fact understaffed, that they were working much more than 40 hours a week even before half their teams were fired, and that they have long lists of things they wanted to build but didn’t have the hands for. But workers are the first ones to be hurt in a downturn moment.”

Many of these coders, engineers, information analysts, designers, and recruiters who flocked to Silicon Valley in the 2010s are now facing a very different job market. Several firms that haven’t announced plans for layoffs are either slowing their hiring or freezing new positions altogether. At the same time, some workers are increasingly concerned about employer ethics and thinking twice about which companies they consider. Plus, any available jobs within the industry aren’t likely to include the same perks they once offered—in-office luxuries, generous financial benefits and leave policy, discounted travel costs—because of lot of those are being slashed, too.

ADVERTISEMENT

And the positions for which companies are still hiring may not be ideal. One laid-off Twitter engineer told the San Francisco Chronicle that “while lots of recruiters have approached him, only about 20% are focused on full-time positions. The rest are seeking contract workers—who can more easily be let go.” This was in stark contrast, the engineer said, to the state of the industry during his last job hunt, when he found “a preponderance of full-time positions.” This matches what Jessica B. Davis, a professional career consultant, has been seeing. “Current job capacity isn’t allowing people room to shuffle around and transition,” she said. “In the past, you left one company and then went to the next, but now we’re seeing all kinds of constraints.”

On top of this, the safety-net protections put in place for workers laid off in the early pandemic have long expired, making this environment a harsher one for unemployed Americans supporting families. Some of these workers—those on certain work visas or with comparatively limited skill sets—will be far more desperate for new opportunities than others. “The ‘tech worker’ designation obfuscates a lot of ways that some of our coworkers are already in more precarious situations than others,” Emily Mazo said. “Some are contractors who are already getting paid much less than direct employees, some work in content moderation or customer service and are more likely to be making a quarter the salary of a software engineer.”

It’s also worth mentioning, as Davis told me, that people from marginalized backgrounds make for a significant portion of the laid-off workforce; at Twitter alone, trimmed costs decimated members of and resources for employee resource groups focused on Black and female Twitterers. Such ex-employees already face a hard-enough time in the job market thanks to systemic disadvantages. The tech slowdown won’t make any of that easier.

There could be options outside of Big Tech. One San Francisco–based venture capital firm is offering potential six-figure loans to startups conceived by recently laid-off techies (though it’s unclear whether such startups will be able to sustain themselves beyond that, thanks to a cooling investment environment). Northwestern University’s Kellogg School of Management is allowing displaced workers to apply for its MBA program without requiring a standardized test. Executives within or adjacent to the tech sector are publicly posting about opportunities at their workplaces.

The green-tech sector, which is riding a high of increased demand and government funding, is particularly eager to recruit some of these laid-off and highly skilled workers, as the tech publication Protocol—RIP—recently reported. One of the firms pushing this recruiting attempt, Climate Draft, refers to itself as “a member-supported coalition of climate tech startups and VCs on a mission to collectively bring more top talent, investment, and commercial opportunities into the space.” It’s a relatively new venture, having launched only two months ago, but co-founder and CEO Jonathan Strauss told me its membership already represents “close to $10 billion of climate assets,” including venture capital funds and renewable-energy software. “There are three categories of talent the climate sector needs: engineers for hardware, coders for software, and people who know how to run a startup or business,” he said. “We’re here to provide them an on-ramp to climate tech, which can otherwise be a fragmented marketplace.”

Other fast-growing employment prospects that could use tech skills: startups for marijuana services in states where the drug is legal (like California), logistics and supply chain operations, health care, cybersecurity infrastructure, data analysis, hospitality and travel, and plain old information technology. Jobs in such fields tend not to be included within tech-employment stats, and they may not have the same benefits and wages as a FAANG heavyweight. But these other sectors very much include tech duties—for maintaining software and hardware, for charting financial flows and statistics, for building custom apps, and for constructing programs that customers can make use of in a still-very-interconnected world.

Through it all, the people who’ve supported jobless tech workers most are, well, jobless tech workers themselves. Twitter employees miffed by Elon Musk have found much solidarity over the past few months of chaos, helping one another deal with their new circumstances, speaking openly about their experiences, and forming encrypted group chats and virtual communities. Displaced techies across the sector have formed private LinkedIn groups to round up opportunities and provide emotional support. Other job seekers have compiled detailed “Alumni Lists” of fellow ex-workers from companies like Dropbox and Stripe, providing easy databases for potential recruiters.

So, the opportunities exist, though they may require a bit of outside-the-box hunting and, in general, a reset in thinking regarding what’s included within the tech profession. “We’re not going to again see the significant growth that we once saw with these tech companies,” said Davis. “But eventually we’ll see some sort of comeback for these careers.”

Thursday, December 1, 2022

How to Create a Shortcode in WordPress (In 7 Steps)

Here is the link. 

Learning how to create a shortcode in WordPress can be an efficient way to customize your posts and pages. However, if you’re new to the process, you may struggle to understand how to use such a feature on your site.

That’s why we’ve put together a guide to help you get started. By looking at how shortcodes work and how to apply them effectively, you can begin customizing your content to your liking without the need for additional plugins.

In this post, we’ll discuss what WordPress shortcodes are and why you might consider using them. We’ll then show you how to create your own. Let’s get started!

How to Customize the WordPress Admin Menu

Here is the article. 

By/ WordPress Menus

How often do you look at the admin screen and wish elements were laid out a different way? Perhaps you would like to customize the WordPress admin menu to add, edit or even hide certain features. Whatever the reason, you can alter and rearrange how the WordPress admin menu appears.

All it takes is a flexible plugin that gives you those features at the click of a mouse.

In this tutorial, I’ll show you a quick and easy way to customize the WordPress admin menu to your liking. It’ll streamline the appearance and help you control what elements are available for other users.

WordPress plugin

 

Creating A WordPress Plugin Is Easier Than You Think

Here is the article.

Create your first plugin in five simple steps

I’m not kidding. You can create a WordPress plugin in five simple steps. Let me show you how…

1. FTP into your site

The first thing you’ll need to do is access your site via FTP using the FTP program of your choice (mine is Coda). If you’re not familiar with FTP, I recommend you read up on that before moving forward.

2. Navigate to the WordPress plugins folder

Once you’ve accessed your site via FTP, you’ll need to navigate to the WordPress plugins folder. That folder is almost always located at /wp-content/plugins.

3. Create a new folder for your plugin

Now that you’re in the plugins folder it’s time to create a folder for yours! Go ahead and create a new folder, giving it a unique name using lowercase letters and dashes such as my-first-plugin. Once you’ve done that, enter your new folder and move on to the next step.

4. Create the main PHP file for your plugin

Next, you’ll need to create the main file for your plugin. To do so, create a PHP file within your new plugin folder and give it the same name such as my-first-plugin.php. After you’ve done that, open your plugin’s main file and get ready to do some editing.

5. Setup your plugin’s information

Finally, copy and paste the plugin information below into your main plugin file. Make sure to edit the details such Plugin Name and Plugin URI as they pertain to your plugin.

<?php
/**
 * Plugin Name: My First Plugin
 * Plugin URI: http://www.mywebsite.com/my-first-plugin
 * Description: The very first plugin that I have ever created.
 * Version: 1.0
 * Author: Your Name
 * Author URI: http://www.mywebsite.com
 */

That’s it! You’ve just completed the minimum number of steps that are required to create a WordPress plugin. You can now activate it within the WordPress admin and revel in all of your glory.

What now?

At this point you’re probably wondering what this plugin is supposed to do. Well, it doesn’t do anything! I said I would show you how to create a plugin, I didn’t say I’d show you how to create a plugin that does anything. 🙂

All kidding aside, the goal of this post is to illustrate just how simple it is to get started creating WordPress plugins. Whip one up with the steps outline above and you’re ready to start making things happen.

Making your plugin do something simple

Now that you have a plugin, lets make it do something.

The easiest way to make things happen in WordPress is with actions and filters. Let’s explore that by creating a simple action that adds a line of text below all of the posts on your site. Copy and paste this code into your main plugin file (below the plugin information) and save it.

add_action( 'the_content', 'my_thank_you_text' );

function my_thank_you_text ( $content ) {
    return $content .= '<p>Thank you for reading!</p>';
}

This code hooks into “the_content” action that fires when WordPress renders the post content for your site. When that action fires, WordPress will call our “my_thank_you_text” function that is defined below the “add_action” call.

#1 WordPress Code Snippets Manager

Here is the link.

Fewer Plugins

Single feature plugins often require nothing more than the right code snippet to replace them. We have an increasing library to choose from.

No more child themes

Child themes are cumbersome to keep up to date and worse to trouble shoot. Code Snippets lets you turn functions on and off like a light switch!

Customize safe and easy

PHP, CSS, Javascript or HTML Snippets. We make sure they end up where they belong, safe and easy to edit, without slowing down your WordPress website.


Remove HTML Comments with PHP

Remove HTML Comments with PHP

By  on     

When it comes to sending content to users, I'm of the belief that less is more.  There's no reason for HTML comments to be sent down to the user -- they simply bloat the payload.  I remove unwanted HTML comments within my WordPress theme, so I thought I'd share the regex that does it:

// Remove unwanted HTML comments
function remove_html_comments($content = '') {
	return preg_replace('/<!--(.|\s)*?-->/', '', $content);
}

That handy function, paired with output buffering, allows me to remove HTML comments from anywhere within the page.  Less load, less cruft for mobile users!