isla's Profile

311
Points

Questions
12

Answers
19

  • Asked on December 23, 2021 in Download.

    Kaspersky Internet Security is a powerful antivirus software suitable for individuals, as well as businesses. Designed for Windows, the application offers various security features in an easy-to-use interface. It protects you from viruses, malware, and other security threats like trackers, ads, webcam hackers, and more. The app’s trial version gives users the chance to explore its many scanning options and features.

    Kaspersky Internet Security free download. Always available from the Softonic servers

    • Free & fast download

    • Always available

    • Tested virus-free

     

    • 235 views
    • 1 answers
    • 0 votes
  • Asked on December 15, 2021 in Wordpress.

    It is a vastly extra complicated query than it appears!

    • How huge and complicated is it, partially as a result of it influences how long it is going to take you, and the extent of experience required? Are we speaking about one web page, a couple of pages, database entry, e-commerce, storing PII in accounts, medical data?
    • Who are you building it for? A buddy, a small non-profit, a small enterprise, a giant enterprise, or what?
    • What will it do for them? Simply someplace to current some info, or is that this an internet retailer, a part of their world rebranding marketing campaign, or what?
    • What else do they want with it? Do they want you to register and keep the domain, hosting, and so forth? Does it embrace updates in case the theme you used must be up to date, like if safety holes are discovered?

    On the very starting degree of “consulting”, you may say “I’ll cost $X for building a WordPress site”, since you are considering of a comparatively small and easy site and also you’ve noticed that $X appears to be the going charge.

    Perhaps you’ll attempt to negotiate it up after discovering out that the necessity is for one thing greater and extra complicated — and naturally the shopper will object, saying “hey, you supplied to construct me a site for $X, right here’s what I would like on my site, now go construct it for $X such as you mentioned”.

    Suck it up, or give them their a refund and both negotiate )(which can be troublesome after you’ve misplaced some credibility by making these dangerous assumptions) or stroll away.

    (I put “consulting” in quotes right here as a result of that’s probably not consulting, it’s contracting. A contractor is somebody you rent to do what you inform them. A guide is somebody you rent to let you know what must be accomplished. A contractor might give some advice, and a guide might do some implementation, however that’s not where the main focus is.)

    On the subsequent degree, which is where most contractors are, you’ll notice that the wants are extremely variable. You’ll in all probability cost $Y per hour. And naturally the shopper will rightly object, “That doesn’t give me any sort of stable value, and even assure it is going to ever be completed, and offers you incentive to work slowly!”

    So perhaps you’ll estimate it is going to take you Z hours, do the maths, and cost $Y*Z, with a assure it is going to get accomplished even when it takes you longer.

    You then’ll uncover Hofstadter’s legislation: “It all the time takes longer than you anticipate, even whenever you take note of Hofstadter’s Legislation.” Hopefully, you received’t lose your shirt too badly on that deal. You’ll study to pad it out to various ranges, and get better at estimating, and naturally faster at doing the work, so finally you’ll be fairly correct, except for any wildly completely different new necessities that purchasers might throw at you.

    Ultimately you’ll notice, you’re leaving cash on the desk. $Y per hour instances Z hours seems to be a lot lower than the site is definitely value to your shopper! They’re utilizing it to herald 1000’s of instances that a lot internet revenue!

    That system is simply a ground for a way a lot it is best to cost! So what’s the ceiling? Sadly that’s a lot tougher to determine. That requires information of the shopper’s enterprise — each their line of enterprise, and their particular person scenario, plus what they’re making an attempt to perform. (This is among the explanation why consultants ought to serve a selected niche, in order that they continue learning about that niche’s wants, needs, profitability, and so on.) Determine the addition the site is meant to make to their backside line, over its helpful lifespan.

    Now, declare an affordable proportion of that profit, so long as it’s above that ground. I’ve heard individuals go for anyplace from 5% to 50%, principally round 10% to twenty%. Should you can’t provide you with an affordable proportion of the worth, that’s above your ground, then stroll away — this venture isn’t value sufficient to them, to allow them to make it value sufficient to you. Whether or not that’s true or not, after sufficient expertise of their line or work, you may have the ability to provide you with concepts to make it extra worthwhile to them.

    (Should you can agree on a method to measure the results attributable on to your work, corresponding to improved variety of leads, conversions, and so on., then you may even tie it to that — for example, for the subsequent 5 years, they’ll pay you N% of every sale they make by their web site, above and past final 12 months’s gross sales figures.

    Ideally this might be along with some base cost, so that you don’t lose your shirt resulting from elements past your management, corresponding to in the event you construct this huge great site for them they usually don’t use it, or the corporate folds for different causes, or will get purchased out. You may cost, for example, 10% of the estimated profit up entrance, so long because it’s above your ground, and one other 10% based mostly on its precise efficiency.)

    However by no means let the shopper understand how a lot of that’s “your ground”! They WILL attempt to chisel you right down to that a lot. In the event that they ask why you’re pricing it how you’re, simply inform them that in your expertise (which by then it is best to have a whole lot of), that’s a good value for the work you’re doing, given the advantages this work will convey to them.

    IN ADDITION, in the event you can establish some sort of factor you’ve been doing again and again, corresponding to on-line ordering methods for small ethnic eating places, or appointment methods for small dental practices, or class administration methods for martial arts studios, or no matter, and also you assume you’ve got it fairly nicely nailed, you may “productize” that. Provide you with a baseline description and value, and perhaps value out some choices.

    Then there might be no additional analysis or negotiation, it’s simply “you need this, it is going to take this long and price you this a lot”. That can prevent a number of time and problem, and painting you as far more of an knowledgeable in that specific subject.

    • 255 views
    • 1 answers
    • 0 votes
  • Asked on October 8, 2021 in Download.

    SHAREit is a free file-sharing application that is now available for download on Windows devices. With the help of the tool, you can easily send files to another device without needing an internet connection or Bluetooth device. Moreover, the program offers a high-speed connection, far greater than what you would get if you were using Bluetooth to send files.

    What is SHAREit?

    SHAREit is an easy-to-use software that makes sharing files from one device to another, simple and hassle-free. It works to transfer files without bothering users with complicated configurations or protocols. Moreover, it doesn’t rely on any local sharing alternatives already present.

    As a cloud-based sharing provider, SHAREit download makes transferring files simple even if you don’t have an internet connection. You also don’t require any cables or USB devices to make file sharing possible. All you have to do is set up a connection between two devices before getting started. With no limit on the size of the file that you intend to send, SHAREit is perfect for swapping pictures, music, and movies with your friends.

    Clean and simple interface

    If you’ve ever used the SHAREit app on your phone, you may have noticed that it has a cluttered interface. However, that’s not the case with the desktop app. When you open SHAREit on your Windows PC, you’ll only see one window containing a QR code. Once you scan this code using your phone or another device, you can instantly start the transfer.

    Transfer files of any size

    One of the best things about using SHAREit is that it doesn’t add a limit to the file size. You can transfer all your files, including your pictures, playlists, and series without worrying about their size. Moreover, since SHAREit download doesn’t use the internet to make the transfer, you won’t be incurring any network charges, irrespective of the size of the files.

    Enjoy high-speed connectivity

    SHAREit PC creates a direct connection between two devices, and as per the developers of the application, it can transfer files at a speed of 20MB per second. While most transfers aren’t always at that speed, SHAREit moves files from one device to another in a matter of seconds. This is one of the primary reasons why the file-sharing application is one of the most popular ones in the world.

    No change in file-quality

    When you move an image or song using SHAREit, you don’t have to worry about losing the quality of the original. Unlike other similar applications that change the quality of large files, SHAREit keeps them in their original condition. This means that if you send an HD movie to your friend using this application, your friend will receive a movie in HD format.

    In-built music player

    While you wouldn’t expect a file-sharing app to do anything other than transfer files, SHAREit makes an exception. Loaded with content, the program lets you stream music, watch videos, play games, and do much more. The app also comes with an in-built music player that you can use to play songs that you have received or have currently stored on your Windows device.

    Is SHAREit safe to use?

    If you intend to share sensitive or confidential information using SHAREit, you should know that the application doesn’t encrypt files. And, when you’re using the SHAREit network to transfer files, anyone in the vicinity can receive those files. Since the app doesn’t provide any security such as passwords or PINs, it is better to stick to sharing folders or files that don’t require any encryption.

    Share files quickly!

    If you’re looking for an application that lets you transfer files without any hassle, you should download SHAREit. The program doesn’t put a limit on the size of the file you intend to share, making it a great option to send movies or other heavy files without worrying about incurring any data charges. With SHAREit, you can enjoy high-speed transfers without the need for any cables or internet connection.

     

     

    • 220 views
    • 1 answers
    • 0 votes
  • Asked on September 16, 2021 in Website.

    Webhosts give away free domains and hosting from time to time as part of their advertising campaign. These cannot be considered as scam rather is a marketing trick to gain more customers. Most of the free domains are given for an year and you will have to pay for the renewal.

    • 234 views
    • 1 answers
    • 0 votes
  • Asked on September 14, 2021 in Mobile.

    Here is how to save a file as PDF: Android

    • Open the file that you want to save as a PDF
    • Then tap File on your tablet or tap the File icon on your phone.
    • On the File tab, tap Print.
    • If not already selected, tap Save as PDF on the drop-down list and then tap Save.
    • Now tap on Save.
    • Choose a location for your PDF, enter a new name (optional), and then tap Save.
    • 239 views
    • 1 answers
    • 0 votes
  • Asked on September 12, 2021 in Wordpress.

    Step 1: Create a folder to hold your theme files.

    If we are going to be building themes, we need to know where the files that make up a WordPress theme live in a WordPress Installation. This is pretty easy. We know that a WordPress installation typically has a root directory named wordpress. Here is what our root directory looks like in PHP Storm.
    wordpress root directory file system

    This directory contains the following files and folders:

    Files

    • composer.json
    • index.php
    • license.txt
    • readme.html
    • wp-activate.php
    • wp-blog-header.php
    • wp-comments-post.php
    • wp-config.php
    • wp-config-sample.php
    • wp-cron.php
    • wp-links-opml.php
    • wp-load.php
    • wp-login.php
    • wp-mail.php
    • wp-settings.php
    • wp-signup.php
    • wp-trackback.php
    • xmlrpc.php

    Folders

    • wp-admin
    • wp-content
    • wp-includes

    The folder that we are most interested in right now is the wp-content folder. Within the wp-content folder is a folder named themes. Do you know what this folder is for? Yep, that’s right! It is the folder that holds one or more themes that you would like to use with your WordPress website. In this themes folder we find three additional folders of twentyfifteentwentysixteen, and twentyseventeen. These folders contain the three themes that WordPress ships with by default. Notice below that there is also a folder named customtheme. Go ahead and create that folder as well in your installation as this is where we will be creating our WordPress theme from scratch.
    wordpress themes folder


    Step 2: Create style.css and index.php in your custom theme folder

    We now know where WordPress theme files are in the file system. We also have created a new folder named customtheme in our themes folder. We are now going to create two empty files in this directory. One is called index.php and the other is called style.css.
    indexphp and stylecss files

    Let us now populate these files with the bare minimum we need to get a new theme going in WordPress.


    style.css

    WordPress actually reads the comments that you place in the style.css file. This is where you specify specific information about the theme you are building.

    The style.css is a stylesheet (CSS) file required for every WordPress theme. It controls the presentation (visual design and layout) of the website pages.

    In our snippet here we simply assign a Theme Name, the Author, the Author URI, and the Version number of our theme.

    /*
    Theme Name: customtheme
    Author: Vegibit
    Author URI: https://vegibit.com
    Version: 1.0
     */
    CSS

    index.php

    In this file, we just want to output something to the screen to prove that our custom theme is working.

    <h1>Custom Theme!</h1>
    Markup

    Great Job! Believe it or not, you have created your first WordPress Theme.


    Step 3: Activate your theme from the WordPress Dashboard

    At this point we can visit our WordPress Dashboard and navigate to Appearance->Themes and lo and behold, we see the new theme we have created.
    wordpress appearance themes link

    We can click on “Theme Details” to drill down on our custom theme and find that the information that we had entered into the style.css file has worked. We can see the them has a name of customtheme, with Version 1.0, by the author Vegibit, and a link to the URI we had provided. Very cool.
    wordpress theme details

    And now the moment of truth! Go ahead and click “Activate” on the new customtheme and then visit the site. It’s not going to win any Webby awards, but we’ve got our selves a good start on a new custom theme!
    wordpress custom theme


    Step 4: Add Code to Output The Post Title and Post Text

    We’ve take the liberty to populate a couple of example posts in the database so we can work with that data during this tutorial. Right now, our theme just outputs Custom Theme! to the page when we visit our site no matter how many posts are in the database. Let us now move to fetching some data from the database, and outputting it to the page. Specifically, we want to fetch the Post Title and Post Content of all posts and view them on the homepage. Let’s give that a shot now. First let’s see what we have for posts in the WordPress Dashboard.
    example wordpress posts in database


    Leveraging The WordPress Loop

    Now we can talk a little bit about the WordPress Loop. The WordPress Loop is really the engine that makes WordPress run. It is via this loop, that theme developers check for posts and display them on the page as needed. If follows the format as follows. If the database has posts, let’s loop over them while there are still posts, otherwise we will let the user know there are no posts. It looks like this in PHP code.

    <?php
    
    if ( have_posts() ) :
    	while ( have_posts() ) : the_post(); ?>
    
    	<?php endwhile;
    
    else :
    	echo '<p>There are no posts!</p>';
    
    endif;
    
    ?>
    
    PHP

    Notice that The Loop makes use of two functions in it’s most basic form. Those are have_posts() and the_post(). The have_posts() function does only one thing. It tells you if there are any posts in the database to loop over. This function will return either true or false and that is it. If it returns true, then there are posts available to loop over. If it returns false, then there are no posts to loop over. The other function, the_post() does not return anything. It’s job is to get WordPress ready to output posts. Specifically, it retrieves the next post, sets up the post, sets the in_the_loop property to true. So far, our page will still not output any information about our blog posts, but we can update that now in our index.php file.

    <?php
    
    if ( have_posts() ) :
    	while ( have_posts() ) : the_post(); ?>
    
            <h2><?php the_title() ?></h2>
    		<?php the_content() ?>
    	
    	<?php endwhile;
    
    else :
    	echo '<p>There are no posts!</p>';
    
    endif;
    
    ?>
    PHP

    Ok cool. We have now made use of two additional WordPress functions, the_title() and the_content(). Most often, these functions are used inside the loop and what they do is to fetch the title and the content of each post as the loop iterates over each one in the database. So as the loop runs, it will come across the first post. At that time the_title() function will output the title of the post to the page and the_content() will output the body of that post to the page. On the next loop these functions will again fetch the next title and content and output them to the page. So with these in place, we should now see some information about our posts getting sent to the screen. Let’s try it! We visit http://wordpresstutorial.dev and see it works!
    wordpress the_title and the_content


    Step 5: Add a Link To Each Post

    What about linking to each individual post so that we can view a post on it’s own rather than as part of just the homepage. We can do that quite easily, again with special functions that WordPress provides. For this task, we can make use of the the_permalink() function. We can update our code like so:

    <?php
    
    if ( have_posts() ) :
    	while ( have_posts() ) : the_post(); ?>
    
            <h2><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h2>
    		<?php the_content() ?>
    	
    	<?php endwhile;
    
    else :
    	echo '<p>There are no posts!</p>';
    
    endif;
    
    ?>
    PHP

    Now, we can click on each individual post title, and navigate to a page that has just that one post. Very cool!
    linking to specific posts


    Step 6: Add a Header and Footer To The Custom Theme

    The Title and the Post Content are central to creating a good theme. Almost as important is having a header and footer section of your theme. These sections would contain the content that is always visible on all pages of the website. These sections are above and below the post content. To do this, you guessed it, we will make use of special functions provided by WordPress to get the header and to get the footer. Do you see a pattern starting to develop yet? Almost anything you can do as a theme developer in WordPress has already been done for you by way of these custom functions. So you will find that it pays to memorize these commonly used functions in WordPress theme development. Let’s go ahead and add the get_header() and get_footer() functions to our theme file now.

    <?php
    
    get_header();
    
    if ( have_posts() ) :
    	while ( have_posts() ) : the_post(); ?>
    
            <h2><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h2>
    		<?php the_content() ?>
    	
    	<?php endwhile;
    
    else :
    	echo '<p>There are no posts!</p>';
    
    endif;
    
    get_footer();
    
    ?>
    PHP

    get_header and get_footer wordpress

    Well would you look at that?! We can see that our custom theme now has a header area as well as a footer area. In the header is the name and tagline of the site while in the footer we see the familiar text, WordPress Tutorial is proudly powered by WordPress. These are the default header and footer options when using these functions. What about when we want to have a custom header and footer? Coming right up!


    From 2 Theme Files to 4

    So far in this tutorial, we have two files that live in our customtheme folder (which itself is in the themes folder). Those files are style.css and index.php. At this point, we are going to need to add more files to get further along. Go ahead and create two new files in the customtheme folder. These files will be conveniently called header.php and footer.php.
    header and footer php files

    Now what these files will do is to overwrite the default header and footer layouts provided by default when you call either the get_header() or get_footer() functions. In fact, if we refresh our website, it looks like the header and footer are gone. This is because we have not added any markup to those files yet. Just for grins, setup the files like so to test this out.

    header.php

    <h2>The Header!</h2>
    <hr>
    Markup

    footer.php

    <hr>
    <h2>The Footer!</h2>
    Markup

    custom header and footer file output


    Working with header.php

    Our example above worked great, and it shows us how this file works at it’s most basic level. The header.php file is actually quite important however, so let’s not gloss over the details of it too quickly! This is where you include code that all pages on your site will need access to in one way or another. To start with, all HTML pages will have a doctype. You would specify that in this file. Additionally, all pages will have an opening html tag, a head section, and an opening body tag. All of this can go in the header.php file. Let’s quickly add some of these things that all web pages would make use of. We will make use of a few new WordPress functions here as well. Those will be language_attributes(), bloginfo() and body_class().

    header.php

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    
    <head>
        <meta charset="<?php bloginfo( 'charset' ); ?>">
        <title><?php bloginfo( 'name' ); ?></title>
    </head>
    
    <body <?php body_class(); ?>>
    
    <header class="site-header">
        <h1><?php bloginfo( 'name' ); ?></h1>
        <h4><?php bloginfo( 'description' ); ?></h4>
    </header>
    
    PHP

    If we reload the page and then view the source of the page in our browser, we can get an idea of just what these functions are doing. We highlight the lines that have output which came from those functions below:

    <!DOCTYPE html>
    <html lang="en-US">
    <head>
    <meta charset="UTF-8">
    <title>WordPress Tutorial</title>
    </head>
    
    <body class="home blog logged-in admin-bar no-customize-support">
    <header class="site-header">
      <h1>WordPress Tutorial</h1>
      <h4>WordPress Tutorial Site</h4>
    </header>
    <h2><a href="http://wordpresstutorial.dev/2017/06/12/php-tutorial-blog-post/">PHP Tutorial Blog Post</a></h2>
    <p>PHP is the language that most of WordPress is built with.  It is a scripting language that has humble roots, but has evolved to become a very powerful and modern language with full support for namespaces, object oriented programming, class reflection, closures, and much more.  This in fact, is just an example post so we can test our custom wordpress theme.  So glad you could read this example WordPress Post.</p>
    <h2><a href="http://wordpresstutorial.dev/2017/06/12/wordpress-tutorial-blog-post/">WordPress Tutorial Blog Post</a></h2>
    <p>Hello World!  We will write a short tutorial here about WordPress.  Of course this is just dummy text for this post so that we can have something to read.  Maybe you like swimming during the summer.  Eating hamburgers at the cook out is fun for all.  On Monday, you can go back to WordPress Website Development.  There are many things to do.</p>
    <ul>
      <li>Commute to office</li>
      <li>Update WordPress Theme</li>
      <li>Finish Statistics Reports</li>
    </ul>
    <p>This is the end of this dummy post.</p>
    </body>
    </html>
    Markup

    Again, we can see the very liberal use of WordPress functions when developing your own themes in WordPress. In fact, we have not written any custom code at all yet. We are simply learning what the various WordPress functions can offer us, and then putting them to work in our custom theme.


    Including wp_head()

    wp_head() is kind of a special function when you’re working with WordPress Themes. It’s not quite as simple as all the others we have looked at so far. The purpose of this function is to finalize the output in the <head> section of your header.php file. In fact it is meant to go just prior to the closing </head> tag. This becomes important when you start adding various plugins to your site. It prints scripts or data in the head tag on the front end. It is a good practice to always include wp_head() in your themes as many other plugins may rely on this hook to add styles, scripts, or meta elements into the <head> area of the site. We will add it as such here:

    header.php

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    
    <head>
        <meta charset="<?php bloginfo( 'charset' ); ?>">
        <title><?php bloginfo( 'name' ); ?></title>
    	<?php wp_head() ?>
    </head>
    
    <body <?php body_class(); ?>>
    
    <header class="site-header">
        <h1><?php bloginfo( 'name' ); ?></h1>
        <h4><?php bloginfo( 'description' ); ?></h4>
    </header>
    PHP

    Completing footer.php

    We have finished adding the basics of what we will need in the header.php file. Let’s now go ahead and round out the footer.php file. The are a few things we need to do. Recall that in our header.php file we have opening html and body tags. Those need to be closed at some point. The footer.php file is a perfect place to do that. So we will add closing </html> and </body> tags in addition to making a call to the wp_footer() function.
    footer.php

    <footer class="site-footer">
        <p><?php bloginfo( 'name' ) ?></p>
    </footer>
    
    <?php wp_footer() ?>
    </body>
    </html>
    PHP

    Changing Site Information In The WordPress Dashboard

    You might be wondering why we had to make use of all these fancy functions to build up our theme. For example, when we wanted to list out the name and tagline of our site, we made use of the bloginfo() function passing parameters of name and description. The reason for this is because generally, you never want to hard code these values into your site. This is information that might change. Additionally, if you make your theme available to the public, they will have their own name and tagline for their website. They should be able to simply visit the admin dashboard in WordPress and update their General Settings to see this data populate automatically.


    Making The Site Title Link To The Homepage

    Most themes will offer the ability to click on the title text of the website, and direct the user to the homepage of the site. This way, no matter where the user may be on the site, they can always click that title text and go right back to the main page of the website. Let’s add that link now in header.php.

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    
    <head>
        <meta charset="<?php bloginfo( 'charset' ); ?>">
        <title><?php bloginfo( 'name' ); ?></title>
    	<?php wp_head() ?>
    </head>
    
    <body <?php body_class(); ?>>
    <header class="site-header">
        <h1><a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a></h1>
        <h4><?php bloginfo( 'description' ); ?></h4>
    </header>
    PHP

    Step 7: Add a functions.php file to your theme

    At this point, we have four files in our custom theme. Those are index.phpstyle.cssheader.php, and footer.php. Probably the next most important file we need to have is the functions.php file.

    The functions.php file in WordPress does many things for your theme. It is the file where you place code to modify the default behavior of WordPress. You can almost think of the functions.php as a form of a plugin for WordPress with a few key points to remember:

    • Does not require unique Header text
    • Stored in the folder that holds your theme files
    • Executes only when in the currently activated theme’s directory
    • Applies only to the current theme
    • Can call PHP functions, WordPress functions, or custom functions

    One thing we need badly in our theme is some better styling! Let’s create a function in our functions.php file to include the style.css file into our theme. Here is how we can achieve that goal.

    <?php
    
    function custom_theme_assets() {
    	wp_enqueue_style( 'style', get_stylesheet_uri() );
    }
    
    add_action( 'wp_enqueue_scripts', 'custom_theme_assets' );
    PHP

    This piece of code will include, or make active, the stylesheet of our custom theme. Now you might be wondering why we are using a custom function, when it seems like we could just as easily manually link to the stylesheet ourselves in the header.php file. Well, this comes down to doing a little more work up front for a bigger return on your effort later. As themes get more complex and more assets are added, you will be happy to have this one function that can handle all the heavy lifting for you.

    Now it’s time to makes things look a little more pretty. First, let’s add a wrapping <div> with a class of container. The opening <div> will be in header.php, while the closing <div> will be in footer.php. We’ll also wrap the post output in index.php with an <article> tag that has a class of post. This will give us classes to target in our style.css file so that we can set page width among other things. We’ll also add some better styling to style.css in this step.


    Step 8: Add Some Style To Your Theme

    header.php
    Adding an opening <div> to the header.php file.

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    
    <head>
        <meta charset="<?php bloginfo( 'charset' ); ?>">
        <title><?php bloginfo( 'name' ); ?></title>
    	<?php wp_head() ?>
    </head>
    
    <body <?php body_class(); ?>>
    <div class="container">
        <header class="site-header">
            <h1><a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a></h1>
            <h4><?php bloginfo( 'description' ); ?></h4>
        </header>
    PHP

    footer.php
    Adding a closing </div> to the footer.php file.

    <footer class="site-footer">
        <p><?php bloginfo( 'name' ) ?></p>
    </footer>
    </div> <!-- closes <div class=container"> -->
    
    <?php wp_footer() ?>
    </body>
    </html>
    PHP

    index.php
    Wrapping the post output with an <article> tag

    <?php
    
    get_header();
    
    if ( have_posts() ) :
    	while ( have_posts() ) : the_post(); ?>
    
            <article class="post">
                <h2><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h2>
    			<?php the_content() ?>
            </article>
    	
    	<?php endwhile;
    
    else :
    	echo '<p>There are no posts!</p>';
    
    endif;
    
    get_footer();
    
    ?>
    PHP

    style.css
    Finally, we add some various CSS style improvements to make the theme look a bit nicer.

    /*
    Theme Name: customtheme
    Author: Vegibit
    Author URI: https://vegibit.com
    Version: 1.0
     */
    
    body {
        font-family: Arial, sans-serif;
        font-size: 16px;
        color: #545454;
    }
    
    a:link, a:visited {
        color: #4285f4;
    }
    
    p {
        line-height: 1.7em;
    }
    
    div.container {
        max-width: 960px;
        margin: 0 auto;
    }
    
    article.post {
        border-bottom: 4px dashed #ecf0f1;
    }
    
    article.post:last-of-type {
        border-bottom: none;
    }
    
    .site-header {
        border-bottom: 3px solid #ecf0f1;
    }
    
    .site-footer {
        border-top: 3px solid #ecf0f1;
    }
    CSS

    When we visit our test website now in the browser, we can see that the WordPress Theme that we have developed step by step in this tutorial is looking pretty good!
    wordpress theme development from scratch


    WordPress Theme Development Tutorial Step By Step Summary

    Let’s review everything that we’ve learned in this basic step by step WordPress Theme tutorial for beginners. We’ve learned how to create our first custom theme in WordPress by making our own folder in side of the themes folder of our WordPress installation. In this folder, we added different files that correspond to different sections of your website. In our tutorial, we have started with the bare minimums you should have in a WordPress theme. In the future, you would add many more files to this folder than what we have covered. Let’s review each file we created in this tutorial, and what they did for us.

      • style.css This file is where you add some css comments so that WordPress knows some information about your custom theme. It also holds the custom css styling that you will apply to your theme.
      • index.php This file controls the html and general output of your theme. It is the main file used for outputting data on your home page.
      • header.php Allows you to specify an area to hold important information about your website in the <head> area as well as including opening <html>, <body>, and ,<div class=”container”> tags.
      • footer.php The footer will close out any opening tags you specified in the header area, in addition to giving you a place to call the wp_footer() function.
      • functions.php Allows you to to call functions, both PHP and built-in WordPress, and to define your own functions in order to change the default behaviors of WordPress

    So there you have it! We were able to create a fully functioning custom WordPress Theme with only 5 files. This gives us the foundation level knowledge to build more advanced WordPress themes and functions. Great Job!

    • 232 views
    • 1 answers
    • 0 votes
  • Asked on March 23, 2021 in Mobile.
    Latest Top 10 of Bangladesh
    • Xiaomi Poco M3 ✭ 11,568.
    • Xiaomi Poco X3 NFC ✭ 11,503.
    • Xiaomi Redmi Note 9 ✭ 11,116.
    • Realme 7i ✭ 10,706.
    • Vivo Y20 ✭ 10,301.
    • Xiaomi Redmi Note 9 Pro ✭ 9,992.
    • Realme C15 Qualcomm Edition ✭ 9,002.
    • Samsung Galaxy A12 ✭
    • 322 views
    • 1 answers
    • 0 votes
  • Asked on March 18, 2021 in Computer.

    Watch this video. Hope it will work.

    • 336 views
    • 1 answers
    • 0 votes
  • Asked on March 17, 2021 in Education.

    ইংরেজি বইয়ের পৃষ্ঠা বাংলায় রূপান্তরিত করার জন্য অনেক রকম আপস আছে।তার মধ্যে যে আপসটি সবচেয়ে ভালো তাহলো-google Translate।এই google Translate এর সাহায্যে আপনি খুব সহজেই ইংরাজি বইরের পৃষ্ঠা বাংলায় রূপান্তরিত করতে পারবেন।

    • 842 views
    • 1 answers
    • 0 votes
  • Asked on May 29, 2020 in Graphic Design.

    Click on artboard tool like i showed here

    This activates the artboard and thenyou can drag or move the artboard along with its content.

    if you want to duplicate then hold ALT key and drag.

    • 408 views
    • 1 answers
    • 0 votes