Friday, 6 January 2023

What is Lorem Ipsum?

Print Friendly and PDF

 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.




Tuesday, 27 December 2022

Custom Wordpress Create Wishlist Without Plugin

To create a wishlist feature in WordPress without using a plugin, you can follow these steps:

  1. Create a custom post type for the wishlist items. This will allow you to store each item as a separate post, with its own title, content, and metadata. You can do this by using the register_post_type() function in your theme's functions.php file or by creating a custom plugin to hold the code.
  2. Create a form for users to add items to the wishlist. This form should include fields for the item name, a description, and any other relevant information. You can use the wp_insert_post() function to add the submitted form data as a new wishlist item post.
  3. Display the wishlist items to the user. You can use the WP_Query class to retrieve the wishlist items and display them on a page or template. You can also include options for the user to edit or delete items from their wishlist.
  4. Implement user-specific wishlists. To create individual wishlists for each user, you can store the wishlist items as post metadata associated with the user's account. You can use the update_user_meta() function to add this data and the get_user_meta() function to retrieve it when displaying the wishlist.

Keep in mind that creating a custom wishlist feature in WordPress without using a plugin will require some coding knowledge and may be more time-consuming than using a pre-existing plugin. However, building the feature yourself will allow you to customize it to your specific needs and requirements.

Create a custom post type for wishlist items. You can do this by adding the following code to your functions.php file:

Custom Wordpress Infinite Loading Scroll With Ajax

To create an infinite scrolling effect in WordPress using Ajax, you will need to follow these steps:

  1. Create a new page template in your WordPress theme. This template will be used to display the posts in the infinite scroll.
  2. In the template, create a div element with a unique ID that will be used to hold the posts as they are loaded.
  3. Enqueue the WordPress Ajax library in your functions.php file.
  4. Write a function to handle the Ajax request and return the posts to be displayed.
  5. Bind the function to the 'wp_ajax_nopriv_' and 'wp_ajax_' actions, depending on whether the user is logged in or not.
  6. In the template, use jQuery to bind a scroll event to the window object. When the user scrolls to the bottom of the page, make an Ajax request to load more posts.
  7. In the Ajax success callback function, append the new posts to the div element created in step 2.

Here is some sample code to get you started: 

Tuesday, 20 December 2022

Online Logo Maker

Xoom Free Logo Maker Online

A simple tool for create stylish logo & favicon online

Icon:
(e.g. yourwebsite.com) Powered by: WebToolHub.com

Monday, 19 December 2022

Cryptocurrency Price Online

CurrencyRate.Today

Crypto Converter Online

CurrencyRate.Today