e-smartsolution Ā» Google

Google

Creating an Error 404 Page and example of 404 WP template

2019-05-22 08:19:33 websitedeveloper

Creating an Error 404 Page and example of 404 WP template

If your WordPress Theme does not include a template file named 404.php, you can create your own.

Here is an example of 404.php template page.

Download here an example, 404 page

2- Copy or upload this file to your server(Active theme)
a) Copy the file 404.php to /wp-content/themes/youractivetheme/404.php
Then, as described in the previous section, edit the error message to present your desired error message.
Need more information;

Posted in: Web developersWebsite developerWordpressTagged in: 404Nothing found Read more... 0 comments

Remove , This is where you can add new products to your store, from WP woocommerce

2019-05-17 15:18:20 websitedeveloper

Remove , This is where you can add new products to your store, from WP woocommerce

Option 1 Using CSS


.search_resultsĀ  .prodcut-description {

display:none !important;

}

 

Option 2

woocommerce .section-title-wrapper, .woocommerce .site-header-text {
    display:none !important;
}

You just need to find out where is the element, and the display: none !important, just in case!

Option 3 Edit the class-wc-post-types.php
Find out the file class-wc-post-types.php and remove “This is where you can add new products to your store.”
If you using a pluggin, wp-content/plugin/woocommerce/inlcudes/class-wc-post-types.php on the line 328(My version of the plugin)

replace this :


register_post_type( 'product',
			apply_filters( 'woocommerce_register_post_type_product',
				array(
					'labels'              => array(
							'name'                  => __( 'Products', 'woocommerce' ),
							'singular_name'         => __( 'Product', 'woocommerce' ),
							'all_items'             => __( 'All Products', 'woocommerce' ),
							'menu_name'             => _x( 'Products', 'Admin menu name', 'woocommerce' ),
							'add_new'               => __( 'Add New', 'woocommerce' ),
							'add_new_item'          => __( 'Add new product', 'woocommerce' ),
							'edit'                  => __( 'Edit', 'woocommerce' ),
							'edit_item'             => __( 'Edit product', 'woocommerce' ),
							'new_item'              => __( 'New product', 'woocommerce' ),
							'view_item'             => __( 'View product', 'woocommerce' ),
							'view_items'            => __( 'View products', 'woocommerce' ),
							'search_items'          => __( 'Search products', 'woocommerce' ),
							'not_found'             => __( 'No products found', 'woocommerce' ),
							'not_found_in_trash'    => __( 'No products found in trash', 'woocommerce' ),
							'parent'                => __( 'Parent product', 'woocommerce' ),
							'featured_image'        => __( 'Product image', 'woocommerce' ),
							'set_featured_image'    => __( 'Set product image', 'woocommerce' ),
							'remove_featured_image' => __( 'Remove product image', 'woocommerce' ),
							'use_featured_image'    => __( 'Use as product image', 'woocommerce' ),
							'insert_into_item'      => __( 'Insert into product', 'woocommerce' ),
							'uploaded_to_this_item' => __( 'Uploaded to this product', 'woocommerce' ),
							'filter_items_list'     => __( 'Filter products', 'woocommerce' ),
							'items_list_navigation' => __( 'Products navigation', 'woocommerce' ),
							'items_list'            => __( 'Products list', 'woocommerce' ),
						),
					'description'         => __( 'This is where you can add new products to your store.', 'woocommerce' ),
					'public'              => true,
					'show_ui'             => true,
					'capability_type'     => 'product',
					'map_meta_cap'        => true,
					'publicly_queryable'  => true,
					'exclude_from_search' => false,
					'hierarchical'        => false, // Hierarchical causes memory issues - WP loads all records!
					'rewrite'             => $permalinks['product_rewrite_slug'] ? array( 'slug' => $permalinks['product_rewrite_slug'], 'with_front' => false, 'feeds' => true ) : false,
					'query_var'           => true,
					'supports'            => $supports,
					'has_archive'         => $has_archive,
					'show_in_nav_menus'   => true,
					'show_in_rest'        => true,
				)
			)
		);

by this: remplace this 'This is where you can add new products to your store.' by ' '


register_post_type( 'product',
			apply_filters( 'woocommerce_register_post_type_product',
				array(
					'labels'              => array(
							'name'                  => __( 'Products', 'woocommerce' ),
							'singular_name'         => __( 'Product', 'woocommerce' ),
							'all_items'             => __( 'All Products', 'woocommerce' ),
							'menu_name'             => _x( 'Products', 'Admin menu name', 'woocommerce' ),
							'add_new'               => __( 'Add New', 'woocommerce' ),
							'add_new_item'          => __( 'Add new product', 'woocommerce' ),
							'edit'                  => __( 'Edit', 'woocommerce' ),
							'edit_item'             => __( 'Edit product', 'woocommerce' ),
							'new_item'              => __( 'New product', 'woocommerce' ),
							'view_item'             => __( 'View product', 'woocommerce' ),
							'view_items'            => __( 'View products', 'woocommerce' ),
							'search_items'          => __( 'Search products', 'woocommerce' ),
							'not_found'             => __( 'No products found', 'woocommerce' ),
							'not_found_in_trash'    => __( 'No products found in trash', 'woocommerce' ),
							'parent'                => __( 'Parent product', 'woocommerce' ),
							'featured_image'        => __( 'Product image', 'woocommerce' ),
							'set_featured_image'    => __( 'Set product image', 'woocommerce' ),
							'remove_featured_image' => __( 'Remove product image', 'woocommerce' ),
							'use_featured_image'    => __( 'Use as product image', 'woocommerce' ),
							'insert_into_item'      => __( 'Insert into product', 'woocommerce' ),
							'uploaded_to_this_item' => __( 'Uploaded to this product', 'woocommerce' ),
							'filter_items_list'     => __( 'Filter products', 'woocommerce' ),
							'items_list_navigation' => __( 'Products navigation', 'woocommerce' ),
							'items_list'            => __( 'Products list', 'woocommerce' ),
						),
					'description'         => __( '', 'woocommerce' ),
					'public'              => true,
					'show_ui'             => true,
					'capability_type'     => 'product',
					'map_meta_cap'        => true,
					'publicly_queryable'  => true,
					'exclude_from_search' => false,
					'hierarchical'        => false, // Hierarchical causes memory issues - WP loads all records!
					'rewrite'             => $permalinks['product_rewrite_slug'] ? array( 'slug' => $permalinks['product_rewrite_slug'], 'with_front' => false, 'feeds' => true ) : false,
					'query_var'           => true,
					'supports'            => $supports,
					'has_archive'         => $has_archive,
					'show_in_nav_menus'   => true,
					'show_in_rest'        => true,
				)
			)
		);

Posted in: Web developersWebsite developerWordpressTagged in: WooCommerce Read more... 0 comments

Dns Propagation Check

2019-04-30 08:15:39 websitedeveloper

Dns Propagation Check

Dns Propagation Check will check the propagation of DNS records across your servers for the selected DNS record type. You can use this tool to see if your records have propagated across all your servers, as well as identify possible DNS issues.
DNS tools

Command Explanation
a: DNS A record IP address for host name
mx: DNS MX records for domain
cname: DNS canonical host name to IP address
ptr: DNS PTR record for host name
spf: Check SPF records on a domain
txt: Check TXT records on a domain
soa: Get Start of Authority record for a domain

Posted in: DevelopersDNS tools onlineWeb developerswebmasters toolsWebsite developerTagged in: DNS Propagation check Read more... 0 comments

SEO tools used by ukgoodbye.co.uk

2019-04-30 08:06:34 websitedeveloper

SEO Tools

1- SEMrush. SEMrush offers solutions for SEO, PPC, content, social media and competitive research.It is a SaaS product used by over 3,000,000 marketers worldwide.

2- Ahref: Audit your website, explore competitors, research keywords & backlinks – all in one place. Powered by seriously big data & trusted by top SEOs. It’ ss the newest entry into the link research tool space. They use their own bot and their own index (which they state is based on information from a trillion website connections).

 

Posted in: DevelopersRemora Social Media MarketingSEOSEO ToolsTagged in: ahrefSEMRush Read more... 0 comments

WP All Import - Slow Imports - due images

2019-04-26 15:49:46 websitedeveloper

WP All Import – Slow Imports – due images

All Import can make your XML or CSV import task easy. To import large amount of data to woocommerce that include importing the images could be very slow.
Solution:
1- Upload the images by file manager from your hosting control panel or by ftp client to All import directory: wp-content/uploads/wpallimport/files/

And the All import, https://your-website/wp-admin/admin.php?page=pmxi-admin-import
You just need at image section,

Select the option to import image:
Use images currently uploaded in wp-content/uploads/wpallimport/
Find out more on the next image:
WooCommerce WP all Import

Posted in: Web developerswebmasterWebsite developerWordpressTagged in: WooCommerceWP All import Read more... 0 comments