BLOGRON BLOGRON COMMUNITY

Recent Posts

Pages: [1] 2 3 ... 10
1
WordPress / How to show last updated date of post instead published date in WordPress?
« Last post by delwar on January 11, 2021, 12:42:22 PM »
In your theme/child theme's functions.php file add the following code.

Code: [Select]
/*showing last updated of post instead published date*/
function wpb_last_updated_date( $content ) {
$u_time = get_the_time('U');
$u_modified_time = get_the_modified_time('U');
if ($u_modified_time >= $u_time + 86400) {
$updated_date = get_the_modified_time('F jS, Y');
$updated_time = get_the_modified_time('h:i a');
$custom_content .= '<p class="last-updated">Last updated on '. $updated_date . ' at '. $updated_time .'</p>'; 
}
 
    $custom_content .= $content;
    return $custom_content;
}
add_filter( 'the_content', 'wpb_last_updated_date' );

2
Now, come to a better solution.

Let's assume we are going to export backup from domain1.com and restore it on domain2.com

First, Go to domain1.com -> tools -> export -> media



Now to go domain2.com -> tools -> import (upload xml file of media export)



Make sure you check download and import file attachments.

This will take sometime. While it's running, go and export pages or posts from domain1.com.

Open the XML backup file of that export and do a find and replace of domain1.com to domain2.com



Now if the media import finished, start the upload of the modified XML export.

Walla! it will now reference the uploaded images you did in the previous import.

let me know if you succeed this way.
3
Also, check if your host is allowing if you have the right to import larger number of files from an specific IP.
4
To avoid this problem first check if your old domain's "hotlink Protection" is inactive in cPanel (if this is hosted in cPanel)
5
This is a general problems happens if you are trying to export a backup file via the WP>>Tools dashboard.

When you export all content via the export option in admin panel then you get an XML file as backup. you can then upload it in another wordpress to restore the backup.

Remember that, the OLD site must be up and running to import the backups in NEW site.

Still sometime you will see everything is restored but the images or attachments are not there, then what to do?
6
So, I have another plugin name for you if you are looking for other than AAWP.

The NicheTable plugin in WordPress Plugin directory is a good choice: https://wordpress.org/plugins/nichetable/

You can create list, compare product and show product image manually with this plugin. It has a free and paid version.
7
Adsense / Re: Google Adsense Hit By a Login Error!
« Last post by delwar on October 20, 2020, 02:35:41 AM »
Google has not informed the users about any outage currently, however, some users have seen posting on Twitter saying that they have been facing problems logging in
8
Adsense / Google Adsense Hit By a Login Error!
« Last post by delwar on October 20, 2020, 02:23:41 AM »
Right now people can't get into their Google Adsense account. Don't worry. It's just a bug from the Google end. You will see something like 404 after you login in: -
9
WordPress / Re: Contact Form (CF7) can't send message, what to do?
« Last post by WISH MASTER on June 10, 2020, 04:32:54 PM »
There are several reasons why CF7 can't submit your data. The error is always shown in red letter.

01. Check if you have filled all the required field of the form.
02. Your CF7 settings in the backend is OK.
03. Your host is not blocking any outgoing mail delivery port. This happens mostly in shared hosting.

If everything is OK, but you are still getting an error message  like the following:



Then check if your MX record are pointing to the current server. Hosting like namecheap shared will not allow msg to be sent from this server if the MX record are pointed to some other services like Google.

On this case you need to configure an SMTP plugin like: https://wordpress.org/plugins/wp-mail-smtp/ or https://wordpress.org/plugins/wp-smtp/ so you can send mail from your won mail server.

A free gmail account can be configured to do this mail routing. THese plugins have good documentation.

Let me know if you are facing problem like this.
10
আপনি নেইমচিপ থেকে কিনতে পারেন। কম খরচ পড়বে।

ডোমেইন ১২ ডলারের মত আর ইমেইল হোস্টিং বছরে ১২ ডলারের মত। মানে সর্বমোট ২৪ ইউএসডি এর মত যাবে।

https://www.namecheap.com/hosting/email/

আর যদি গুগলের সার্ভিস নেন তবে এর থেকে বেশি পড়বে।

নিজের কোন হোস্টিং থাকলে সেখানে নতুন ডোমেইন এড করে ইমেইল খুলে নিতে পারেন। অথবা মেইল ফরওয়ার্ডিং অপশন যা সব সি-প্যানেলেই থাকে, সেখান থেকে নিজের ফ্রি জিমেইলে ইমেইল ফরওয়ার্ড করতে পারবেন।

আমি সি-প্যানেল থেকে আমার জি-মেইলে ফরওয়ার্ড করে রাখি। এরপর জি-মেইলের সেটিংস থেকে "Add as an Allies" অপশন ব্যবহার করে জিমেইলে থেকেই রিপলাই করে থাকি।

এই সিস্টেমে আপনি ফ্রি-তে ১৫ জিবি স্টোরেজ পাবেন।
Pages: [1] 2 3 ... 10