<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wordpress - Hi You, I am Tade</title>
	<atom:link href="https://hoangthuc.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://hoangthuc.com/category/wordpress/</link>
	<description></description>
	<lastBuildDate>Sat, 17 Feb 2024 04:06:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://hoangthuc.com/wp-content/uploads/2024/02/logoTH-2-150x150.png</url>
	<title>Wordpress - Hi You, I am Tade</title>
	<link>https://hoangthuc.com/category/wordpress/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Các cấu hình hữu ích trong wordpress</title>
		<link>https://hoangthuc.com/cac-cau-hinh-huu-ich-trong-wordpress/</link>
					<comments>https://hoangthuc.com/cac-cau-hinh-huu-ich-trong-wordpress/#comments</comments>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Fri, 04 Sep 2020 03:47:37 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=674</guid>

					<description><![CDATA[<p>Hello mọi người hôm nay tôi sẽ giới thiệu về các cấu hình được sử dụng trong wordpress, có thể bạn biết hoặc chưa nhưng xem tiếp nhe. Mình sẽ cập nhật liên tục trong bài viết này nếu mình có những phát hiện mới. 1.Cấu hình cơ bản 2.Phân quyền tệp WordPress cho phép [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/cac-cau-hinh-huu-ich-trong-wordpress/">Các cấu hình hữu ích trong wordpress</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello mọi người hôm nay tôi sẽ giới thiệu về các cấu hình được sử dụng trong wordpress, có thể bạn biết hoặc chưa nhưng xem tiếp nhe. Mình sẽ cập nhật liên tục trong bài viết này nếu mình có những phát hiện mới.</p>
<p>1.Cấu hình cơ bản</p>
<pre class="brush: php; title: ; notranslate">
//Kết nối cơ sở dữ liệu;
define('DB_NAME', 'database-name');
define('DB_USER', 'database-username');
define('DB_PASSWORD', 'database-password');
define('DB_HOST', 'localhost');

// khóa bảo mật
define( 'AUTH_KEY',         'put your unique phrase here' );
define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
define( 'NONCE_KEY',        'put your unique phrase here' );
define( 'AUTH_SALT',        'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
define( 'NONCE_SALT',       'put your unique phrase here' );
// Thông báo lỗi, Debug
define( 'WP_DEBUG', true );

// Khai báo mắc định url website. Nếu không khai báo sẽ lấy url trong cơ sở dữ liệu option
define('WP_HOME', 'http://www.example.com');
define('WP_SITEURL', 'http://www.example.com');

</pre>
<p>2.Phân quyền tệp<br />
WordPress cho phép bạn ghi đè quyền truy cập tệp nếu máy chủ của bạn giới hạn quyền đối với tất cả các tệp. Hầu hết người dùng không cần điều này, nhưng bạn có thể cần nó.</p>
<pre class="brush: php; title: ; notranslate">
// Phân quyền Tệp
define('FS_CHMOD_FILE', 0644);
define('FS_CHMOD_DIR', 0755);
</pre>
<p>3.Lưu bài đăng nháp<br />
Tính năng sửa đổi bài đăng rất hữu ích cho phép bạn hoàn tác các thay đổi đối với các bài đăng và trang của mình bằng cách quay lại phiên bản trước hoặc tự động lưu.</p>
<pre class="brush: php; title: ; notranslate">
// Lưu bài đang nháp theo tần suất
define('AUTOSAVE_INTERVAL', 120); // in seconds
// cấu hình số lượng phiên bản lưu trữ
define('WP_POST_REVISIONS', 10);

// Vô hiệu hóa lưu bài đăng nháp
define( 'WP_POST_REVISIONS', false );
</pre>
<p>4.Cài đặt thùng rác<br />
WordPress đi kèm với một tính năng thùng rác được gọi là Trash. Khi người dùng gửi một bài đăng vào thùng rác, nó vẫn được lưu trữ trên trang web của bạn trong 30 ngày tiếp theo. Sau đó, wordPress sẽ tự động xóa chúng vĩnh viễn.</p>
<pre class="brush: php; title: ; notranslate">
// Cái đặt thời gian xóa trong thùng rác
define( 'EMPTY_TRASH_DAYS', 15 ); // 15 days

// Tắt 
define('EMPTY_TRASH_DAYS', 0 );
// Sử dụng số 0 có nghĩa là bài viết của bạn sẽ bị xóa vĩnh viễn.
</pre>
<p>5.Thêm cấu hình FPT/SSH</p>
<pre class="brush: php; title: ; notranslate">
// forces the filesystem method: &quot;direct&quot;, &quot;ssh&quot;, &quot;ftpext&quot;, or &quot;ftpsockets&quot;
define('FS_METHOD', 'ftpext');
// absolute path to root installation directory
define('FTP_BASE', '/path/to/wordpress/');
// absolute path to &quot;wp-content&quot; directory
define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/');
// absolute path to &quot;wp-plugins&quot; directory
define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/');
// absolute path to your SSH public key
define('FTP_PUBKEY', '/home/username/.ssh/id_rsa.pub');
// absolute path to your SSH private key
define('FTP_PRIVKEY', '/home/username/.ssh/id_rsa');
// either your FTP or SSH username
define('FTP_USER', 'username');
// password for FTP_USER username
define('FTP_PASS', 'password');
// hostname:port combo for your SSH/FTP server
define('FTP_HOST', 'ftp.example.org:21'); 
</pre>
<p>6.Tự động cơ sở dự liệu<br />
Tính năng để tự động tối ưu hóa và sửa chữa cơ sở dữ liệu WordPress. Tính năng này thường được sử dụng khi bạn update version wordpress.<br />
Để kích hoạt tính năng này, bạn cần thêm dòng sau vào tệp cấu hình WordPress của mình.</p>
<pre class="brush: php; title: ; notranslate">
define('WP_ALLOW_REPAIR', true);
</pre>
<p>7.Tăng giới hạn bộ nhớ PHP</p>
<pre class="brush: php; title: ; notranslate">
//128M = 128MB
define('WP_MEMORY_LIMIT', '128M');
</pre>
<p>8.Di chuyển thư mục wp-content</p>
<p>WordPress cho phép bạn di chuyển thư mục wp-content theo ý muốn. Một số chuyên gia tin rằng nó có thể giúp tăng cường bảo mật WordPress.</p>
<pre class="brush: php; title: ; notranslate">
define( 'WP_CONTENT_DIR', $_SERVER&#x5B;'DOCUMENT_ROOT'] . '/blog/wp-content' );
define( 'WP_CONTENT_URL', 'http://example/blog/wp-content');
define( 'WP_PLUGIN_DIR', $_SERVER&#x5B;'DOCUMENT_ROOT'] . '/blog/wp-content/plugins' );
define( 'WP_PLUGIN_URL', 'http://example/blog/wp-content/plugins');
</pre>
<p>9.Kích hoạt Multi-Site</p>
<p>WordPress có một tính năng giúp bạn tạo nhiều trang web trên cùng một bộ core, gọi là Multi-Site.</p>
<pre class="brush: php; title: ; notranslate">
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'domain'); // ten miền chính
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
define('WPML_ENVIRONMENT', 'test');

</pre>
<p>10.Bảo mât cầu hình</p>
<p>Bạn cũng có thể thêm mã sau vào tệp .htaccess của mình để giới hạn quyền truy cập vào tệp này.</p>
<pre class="brush: php; title: ; notranslate">
# Protect wp-config.php
&lt;Files wp-config.php&gt;
    order allow,deny
    deny from all
&lt;/Files&gt;
</pre>
<pre>11.Chặn người dung edit theme và plugin</pre>
<pre class="brush: php; title: ; notranslate">
define( 'DISALLOW_FILE_EDIT', true );
</pre>
<pre>12.Chặn người dùng thêm, xóa theme và plugin</pre>
<pre class="brush: php; title: ; notranslate">
define('DISALLOW_FILE_MODS', true);
</pre>
<pre>13.Tắt update plugin , theme 
Bạn cần đặt đoạn mã này trong file functions.php</pre>
<pre class="brush: php; title: ; notranslate">
//disable plugin update

add_filter('site_transient_update_plugins', 'remove_update_notification_1234');

function remove_update_notification_1234($value) {

 unset($value-&gt;response&#x5B; plugin_basename(__FILE__) ]);

 return $value;

}

</pre>
<p>&nbsp;</p>
<p>Trên đây là các cấu hình tôi nghĩ khá hữu ích cho các bạn khi sử dụng WordPress. Và tôi sẽ update bài viết này nếu  tôi có những phát hiện mới.</p>
<p>Chúc các bạn 1 ngày làm việc vui vẻ hoặc không làm việc thì cung vui vẻ :)))</p>
<pre>





</pre>
<p>The post <a href="https://hoangthuc.com/cac-cau-hinh-huu-ich-trong-wordpress/">Các cấu hình hữu ích trong wordpress</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoangthuc.com/cac-cau-hinh-huu-ich-trong-wordpress/feed/</wfw:commentRss>
			<slash:comments>51</slash:comments>
		
		
			</item>
		<item>
		<title>Hướng dẫn sử dụng plugin lấy tin tức</title>
		<link>https://hoangthuc.com/huong-dan-su-dung-plugin-lay-tin-tuc/</link>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Thu, 12 Sep 2019 11:11:35 +0000</pubDate>
				<category><![CDATA[Plugin wordpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Lấy tin tự động]]></category>
		<category><![CDATA[plugin wordpress]]></category>
		<category><![CDATA[Wordpress căn bản]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=617</guid>

					<description><![CDATA[<p>Xin chào các bạn, hôm nay tui sẽ làm 1 bài viết về plugin lấy tin tức của tui và tui quyết định sẽ chia sẽ plugin này miễn phí với mọi người (lúc trước tui làm có phí ). Các bạn có thể tham khảo bài viết Plugin lấy tin tự động và hướng [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/huong-dan-su-dung-plugin-lay-tin-tuc/">Hướng dẫn sử dụng plugin lấy tin tức</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="617" class="elementor elementor-617">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-28f9c4d elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="28f9c4d" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6ac96f5" data-id="6ac96f5" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-ebc27f5 elementor-widget elementor-widget-text-editor" data-id="ebc27f5" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Xin chào các bạn, hôm nay tui sẽ làm 1 bài viết về plugin lấy tin tức của tui và tui quyết định sẽ chia sẽ plugin này miễn phí với mọi người (lúc trước tui làm có phí ).</p><p>Các bạn có thể tham khảo bài viết <strong><a href="https://hoangthuc.com/plugin-lay-tin-tu-dong-version-2-1/" target="_blank" rel="noopener">Plugin lấy tin tự động</a></strong> và hướng dẫn của tui ở bài viết củ.</p><p>Ở bài này tui giới thiệu sơ về công dụng và 1 chút lịch sử hình thành của plugin lấy tin tức này.</p><p>Nguyên nhân tạo ra: </p><ol><li>Do lười copy.</li><li>Muốn lấy số lượng nhiều và nhanh.</li><li>Muốn làm 1 sản phẩm để tái sử dụng.</li><li>Download và upload hình nhanh.</li><li>Remove đường dẫn và quảng cáo trong bài người ta. </li></ol><p>Nên tôi đã viết cái plugin này và hôm nay trong lúc vui tui viết bài share nó free cho mọi người.</p><p>Nói về tính ứng dụng thì nó có thể Get tất cả các post type của WordPress không phải chỉ có bài viết mà còn cả sản phẩm,&#8230; </p><p> </p><p> </p>								</div>
				</div>
				<div class="elementor-element elementor-element-93e6f6c elementor-widget elementor-widget-image" data-id="93e6f6c" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_175742.jpg" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="2019-09-12_175742" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjMxLCJ1cmwiOiJodHRwczpcL1wvaG9hbmd0aHVjLmNvbVwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAxOVwvMDlcLzIwMTktMDktMTJfMTc1NzQyLmpwZyJ9">
							<img fetchpriority="high" decoding="async" width="640" height="125" src="https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_175742-900x176.jpg" class="attachment-large size-large wp-image-631" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_175742-900x176.jpg 900w, https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_175742-300x59.jpg 300w, https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_175742.jpg 1425w" sizes="(max-width: 640px) 100vw, 640px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-53cc9e5 elementor-widget elementor-widget-text-editor" data-id="53cc9e5" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Tùy chọn post type, trang thái bài viết và hẹn giờ tự động. Vụ hẹn giờ các bạn an tâm tôi có check nội dung trung lặp rồi.</p><p> </p>								</div>
				</div>
				<div class="elementor-element elementor-element-dd81adb elementor-widget elementor-widget-image" data-id="dd81adb" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
											<a href="https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_180027.jpg" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="2019-09-12_180027" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjMyLCJ1cmwiOiJodHRwczpcL1wvaG9hbmd0aHVjLmNvbVwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAxOVwvMDlcLzIwMTktMDktMTJfMTgwMDI3LmpwZyJ9">
							<img decoding="async" width="640" height="346" src="https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_180027-900x487.jpg" class="attachment-large size-large wp-image-632" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_180027-900x487.jpg 900w, https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_180027-300x162.jpg 300w, https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_180027-740x400.jpg 740w, https://hoangthuc.com/wp-content/uploads/2019/09/2019-09-12_180027.jpg 1710w" sizes="(max-width: 640px) 100vw, 640px" />								</a>
											<figcaption class="widget-image-caption wp-caption-text">Thiết lập lấy nhiều danh mục sản phẩm cùng lúc</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-d3db520 elementor-widget elementor-widget-text-editor" data-id="d3db520" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Màn chào hàng của tui đến đây thui, tui sẽ để link download plugin bên dưới. Các bạn thấy thích có thể like cho tui nhe.</p><p>Mọi thắc mắc có thể comment bên dưới tôi sẽ đọc và trả lời cho bạn.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-7eccda8 elementor-widget elementor-widget-button" data-id="7eccda8" data-element_type="widget" data-e-type="widget" data-widget_type="button.default">
				<div class="elementor-widget-container">
									<div class="elementor-button-wrapper">
					<a class="elementor-button elementor-button-link elementor-size-md elementor-animation-pulse-shrink" href="https://hoangthuc.com/plugin/Get_news_wp.zip" target="_blank" rel="nofollow">
						<span class="elementor-button-content-wrapper">
									<span class="elementor-button-text">Bấm vào đây để download nhé  không có quảng cáo đâu</span>
					</span>
					</a>
				</div>
								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://hoangthuc.com/huong-dan-su-dung-plugin-lay-tin-tuc/">Hướng dẫn sử dụng plugin lấy tin tức</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Plugin bất động sản với elementor builder</title>
		<link>https://hoangthuc.com/plugin-bat-dong-san-voi-elementor-builder/</link>
					<comments>https://hoangthuc.com/plugin-bat-dong-san-voi-elementor-builder/#comments</comments>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Sun, 25 Aug 2019 03:15:33 +0000</pubDate>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Plugin wordpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress nâng cao]]></category>
		<category><![CDATA[Plugin bất động sản]]></category>
		<category><![CDATA[plugin wordpress]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=583</guid>

					<description><![CDATA[<p>Xin mến chào các bạn, hôm nay tui xin giới thiệu một sự kết hợp mới nữa của tui giữa plugin bất động sản và plugin Elementor builder. Đây cũng là một sản phẩm mới của tui, tui đã dung hợp và sẽ áp dụng cho các website bất động sản dạng landing page nhưng [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/plugin-bat-dong-san-voi-elementor-builder/">Plugin bất động sản với elementor builder</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="583" class="elementor elementor-583">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-87ba7be elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="87ba7be" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-78d0bf9" data-id="78d0bf9" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-877684f elementor-widget elementor-widget-text-editor" data-id="877684f" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Xin mến chào các bạn, hôm nay tui xin giới thiệu một sự kết hợp mới nữa của tui giữa plugin bất động sản và plugin Elementor builder. Đây cũng là một sản phẩm mới của tui, tui đã dung hợp và sẽ áp dụng cho các website bất động sản dạng landing page nhưng có công cụ lọc tìm kiếm của mình.</p><p>Dưới đây là một số phần trong plugin bất động sản mà tui đã kết hợp.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-e35528f elementor-widget elementor-widget-heading" data-id="e35528f" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Bộ lọc tìm kiếm</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-53fb7c7 elementor-invisible elementor-widget elementor-widget-image" data-id="53fb7c7" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;bounceIn&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_114724.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="2019-08-25_114724" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NTk0LCJ1cmwiOiJodHRwczpcL1wvaG9hbmd0aHVjLmNvbVwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAxOVwvMDhcLzIwMTktMDgtMjVfMTE0NzI0LnBuZyJ9">
							<img decoding="async" width="640" height="267" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_114724-900x376.png" class="attachment-large size-large wp-image-594" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_114724-900x376.png 900w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_114724-300x125.png 300w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_114724.png 1140w" sizes="(max-width: 640px) 100vw, 640px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-d160932 elementor-widget elementor-widget-heading" data-id="d160932" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Danh sách hiển thị khi tìm kiếm</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-a473480 elementor-invisible elementor-widget elementor-widget-image" data-id="a473480" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;bounceIn&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="640" height="292" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_114746-900x411.png" class="attachment-large size-large wp-image-593" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_114746-900x411.png 900w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_114746-300x137.png 300w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_114746.png 1120w" sizes="(max-width: 640px) 100vw, 640px" />															</div>
				</div>
				<div class="elementor-element elementor-element-8d61531 elementor-widget elementor-widget-heading" data-id="8d61531" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Chi tiết bất động sản</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-993f161 elementor-invisible elementor-widget elementor-widget-image" data-id="993f161" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;rotateIn&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="640" height="277" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_115555-900x390.png" class="attachment-large size-large wp-image-595" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_115555-900x390.png 900w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_115555-300x130.png 300w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_115555.png 1891w" sizes="(max-width: 640px) 100vw, 640px" />															</div>
				</div>
				<div class="elementor-element elementor-element-ecf1e98 elementor-widget elementor-widget-text-editor" data-id="ecf1e98" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Ngoài ra tui còn bổ sung thêm 1 số phần vào chi tiết bất động sản cho có không khí lu xu ri và chuyên nghiệp. </p>								</div>
				</div>
				<div class="elementor-element elementor-element-afa46fa elementor-widget elementor-widget-heading" data-id="afa46fa" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Thanh điều hướng khi scroll</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-8d74400 elementor-invisible elementor-widget elementor-widget-image" data-id="8d74400" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;bounceIn&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="640" height="194" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120007.png" class="attachment-large size-large wp-image-598" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120007.png 794w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120007-300x91.png 300w" sizes="(max-width: 640px) 100vw, 640px" />															</div>
				</div>
				<div class="elementor-element elementor-element-8884a5f elementor-widget elementor-widget-heading" data-id="8884a5f" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Các tiện ích của căn hộ.</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-384eb02 elementor-invisible elementor-widget elementor-widget-image" data-id="384eb02" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;bounceInDown&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="640" height="362" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120341.png" class="attachment-large size-large wp-image-599" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120341.png 797w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120341-300x170.png 300w" sizes="(max-width: 640px) 100vw, 640px" />															</div>
				</div>
				<div class="elementor-element elementor-element-32b9f02 elementor-widget elementor-widget-heading" data-id="32b9f02" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Tài liệu kiến trúc tham khảo</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-438f5de elementor-invisible elementor-widget elementor-widget-image" data-id="438f5de" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;bounceIn&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="640" height="174" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120354.png" class="attachment-large size-large wp-image-601" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120354.png 794w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120354-300x82.png 300w" sizes="(max-width: 640px) 100vw, 640px" />															</div>
				</div>
				<div class="elementor-element elementor-element-3cc18df elementor-widget elementor-widget-heading" data-id="3cc18df" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Các tiện ích xung quanh khu vực</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-e457dd1 elementor-invisible elementor-widget elementor-widget-image" data-id="e457dd1" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;bounceIn&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="640" height="433" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120423.png" class="attachment-large size-large wp-image-600" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120423.png 795w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120423-300x203.png 300w" sizes="(max-width: 640px) 100vw, 640px" />															</div>
				</div>
				<div class="elementor-element elementor-element-93ba9fc elementor-widget elementor-widget-heading" data-id="93ba9fc" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Video</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-62ed010 elementor-invisible elementor-widget elementor-widget-image" data-id="62ed010" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;bounceIn&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="640" height="425" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120407.png" class="attachment-large size-large wp-image-602" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120407.png 796w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120407-300x199.png 300w" sizes="(max-width: 640px) 100vw, 640px" />															</div>
				</div>
				<div class="elementor-element elementor-element-975ccbb elementor-widget elementor-widget-heading" data-id="975ccbb" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Bản đồ</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-9be8487 elementor-invisible elementor-widget elementor-widget-image" data-id="9be8487" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;bounceIn&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="640" height="310" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120756.png" class="attachment-large size-large wp-image-604" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120756.png 796w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120756-300x145.png 300w" sizes="(max-width: 640px) 100vw, 640px" />															</div>
				</div>
				<div class="elementor-element elementor-element-80b7346 elementor-widget elementor-widget-heading" data-id="80b7346" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Liên hệ</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-1c7b070 elementor-invisible elementor-widget elementor-widget-image" data-id="1c7b070" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;rollIn&quot;}" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="640" height="511" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120812.png" class="attachment-large size-large wp-image-603" alt="" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120812.png 795w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-25_120812-300x240.png 300w" sizes="(max-width: 640px) 100vw, 640px" />															</div>
				</div>
				<div class="elementor-element elementor-element-28c34e5 elementor-align-left elementor-widget elementor-widget-button" data-id="28c34e5" data-element_type="widget" data-e-type="widget" data-widget_type="button.default">
				<div class="elementor-widget-container">
									<div class="elementor-button-wrapper">
					<a class="elementor-button elementor-button-link elementor-size-sm elementor-animation-pulse-grow" href="http://realestate.demowebart.com/" target="_blank" rel="nofollow">
						<span class="elementor-button-content-wrapper">
						<span class="elementor-button-icon">
				<i aria-hidden="true" class="fas fa-link"></i>			</span>
									<span class="elementor-button-text">Demo tham khảo</span>
					</span>
					</a>
				</div>
								</div>
				</div>
				<div class="elementor-element elementor-element-a83a625 elementor-align-left elementor-widget elementor-widget-button" data-id="a83a625" data-element_type="widget" data-e-type="widget" data-widget_type="button.default">
				<div class="elementor-widget-container">
									<div class="elementor-button-wrapper">
					<a class="elementor-button elementor-button-link elementor-size-sm elementor-animation-pulse-grow" href="https://github.com/hoangthuc/realestate" target="_blank" rel="nofollow">
						<span class="elementor-button-content-wrapper">
						<span class="elementor-button-icon">
				<i aria-hidden="true" class="fas fa-cloud-download-alt"></i>			</span>
									<span class="elementor-button-text">View source</span>
					</span>
					</a>
				</div>
								</div>
				</div>
				<div class="elementor-element elementor-element-ff35bad elementor-invisible elementor-widget elementor-widget-text-editor" data-id="ff35bad" data-element_type="widget" data-e-type="widget" data-settings="{&quot;_animation&quot;:&quot;bounceIn&quot;}" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Màn giới của tui đến đây là kết thúc. Thân ái chúc các bạn một ngày thật vui vẻ.  </p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://hoangthuc.com/plugin-bat-dong-san-voi-elementor-builder/">Plugin bất động sản với elementor builder</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoangthuc.com/plugin-bat-dong-san-voi-elementor-builder/feed/</wfw:commentRss>
			<slash:comments>48</slash:comments>
		
		
			</item>
		<item>
		<title>Elementor công cụ builder website wordpress 2019</title>
		<link>https://hoangthuc.com/elementor-cong-cu-builder-website-wordpress-2019/</link>
					<comments>https://hoangthuc.com/elementor-cong-cu-builder-website-wordpress-2019/#comments</comments>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Tue, 06 Aug 2019 11:11:44 +0000</pubDate>
				<category><![CDATA[Plugin wordpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress nâng cao]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=577</guid>

					<description><![CDATA[<p>Hello các bạn, hôm nay tui sẽ giới thiệu các bạn công cụ builder website mà tui ưng ý nhất trong năm nay. Năm sau thì tui hỏng biết nhe. À đó chính là Elementor , các bạn có thể vào elementor.com để nghe ngóng. Hiện tại elementor đã ra đến phiên bản 2.6.7 và [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/elementor-cong-cu-builder-website-wordpress-2019/">Elementor công cụ builder website wordpress 2019</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello các bạn, hôm nay tui sẽ giới thiệu các bạn công cụ builder website mà tui ưng ý nhất trong năm nay. Năm sau thì tui hỏng biết nhe.</p>
<p>À đó chính là <strong>Elementor</strong> , các bạn có thể vào elementor.com để nghe ngóng. Hiện tại elementor đã ra đến phiên bản 2.6.7 và tui không có quảng cáo cho elementor đâu nhe.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-579" src="https://hoangthuc.com/wp-content/uploads/2019/08/BENEFITS-OF-ELEMENTOR-PRO2.png" alt="" width="1280" height="720" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/BENEFITS-OF-ELEMENTOR-PRO2.png 1280w, https://hoangthuc.com/wp-content/uploads/2019/08/BENEFITS-OF-ELEMENTOR-PRO2-300x169.png 300w, https://hoangthuc.com/wp-content/uploads/2019/08/BENEFITS-OF-ELEMENTOR-PRO2-900x506.png 900w" sizes="(max-width: 1280px) 100vw, 1280px" /></p>
<p>&nbsp;</p>
<p>Bên cạnh những thứ vụn vặt như :</p>
<p>1.Kéo thả tùy biến khi điều chỉnh giao diện.</p>
<p>2.Xem giao diện thay đổi trong khi tùy chỉnh cũng hay nhưng tôi xem nó như vụn vặt thôi.</p>
<p>3.Thay đổi tùy chỉnh theo từng thiết bị trên chính công cụ editor cái này cung hay và  tiện lắm.</p>
<p>4.Lưu trữ các bản tùy chỉnh của mình thành template để backup phòng trường hợp này nọ (các đồng chí hiểu ý chứ).</p>
<p>5.Tùy biến cả điều hướng trang như single, blog, taxonomy,&#8230;</p>
<p>6.Elementor còn cho bạn tùy chỉnh layout của cả header và footer ( các này ở bản pro nhé nhưng àm ngon mà đúng không chỉ có $49 &#8211; không quảng cáo nhé).</p>
<p>7.Hổ trợ các modules cho woocommerce phần này nó cũng khá hay như card, menu cart mini, rating,&#8230; nhưng khi dùng các bạn lưu ý chỉ hổ trợ php 7.1 trở lên thôi nhé. Php phiên bản dưới 7.1 thì cứ chờ loading loading mãi mãi.</p>
<p>Sau tất cả những thứ vụn vặn có lẻ đến phần tôi thích nhất đó chính là elementor có những addon khá đa dạng cho phép developer có thể tác động vào loop và query của wordpress hay không nào. Có thể kể đến như:</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-580" src="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-06_180504.jpg" alt="" width="1728" height="843" srcset="https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-06_180504.jpg 1728w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-06_180504-300x146.jpg 300w, https://hoangthuc.com/wp-content/uploads/2019/08/2019-08-06_180504-900x439.jpg 900w" sizes="(max-width: 1728px) 100vw, 1728px" /></p>
<p>Phần liệt kê tui hơi lười nhưng có chụp hình và icon installing cho sinh động đó. Nhưng phần này phải các bạn developer như tui mới cảm nhận được cái hay của nó.</p>
<p>Kết bài : Hiện tại so với các đối thủ khác như divi, visua composer, flatsome tôi đánh giá Elementor vượt trội hơn về trãi nghiệm người dùng và hiệu năng lập trình của nó đem lại. Tính tiện lợi của nó khá cao. Bài sau tui sẽ giới thiệu cho các bạn một website bất động sản tui đã build bằng Elementor.</p>
<p>Cám ơn quý dị đã xem bài viết của tôi. Good Night !</p>
<p>&nbsp;</p>
<p>The post <a href="https://hoangthuc.com/elementor-cong-cu-builder-website-wordpress-2019/">Elementor công cụ builder website wordpress 2019</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoangthuc.com/elementor-cong-cu-builder-website-wordpress-2019/feed/</wfw:commentRss>
			<slash:comments>49</slash:comments>
		
		
			</item>
		<item>
		<title>Những plugin wordpress mà tui hay sử dụng</title>
		<link>https://hoangthuc.com/nhung-plugin-wordpress-ma-tui-hay-su-dung/</link>
					<comments>https://hoangthuc.com/nhung-plugin-wordpress-ma-tui-hay-su-dung/#comments</comments>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Thu, 18 Jul 2019 15:23:26 +0000</pubDate>
				<category><![CDATA[Plugin wordpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=555</guid>

					<description><![CDATA[<p>Chào mấy bạn, hôm nay tui xin giới thiệu về các plugin cho mã nguồn wordpress mà tôi hay sử dụng nhất. Những plugin này đã được chính tui tuyển chọn bao nhiêu năm qua, về mặt an toàn thì tui đảm bảo 100% nhe. Màn giới thiệu chào hàng của tui đã xong tôi [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/nhung-plugin-wordpress-ma-tui-hay-su-dung/">Những plugin wordpress mà tui hay sử dụng</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Chào mấy bạn, hôm nay tui xin giới thiệu về các plugin cho mã nguồn wordpress mà tôi hay sử dụng nhất. Những plugin này đã được chính tui tuyển chọn bao nhiêu năm qua, về mặt an toàn thì tui đảm bảo 100% nhe.</p>
<p>Màn giới thiệu chào hàng của tui đã xong tôi xin vào chủ đề chính.</p>
<p><strong>1.Advanced custom field (ACF)</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-558 size-full" src="https://hoangthuc.com/wp-content/uploads/2018/10/acf-featured.jpg" alt="" width="2390" height="859" srcset="https://hoangthuc.com/wp-content/uploads/2018/10/acf-featured.jpg 2390w, https://hoangthuc.com/wp-content/uploads/2018/10/acf-featured-300x108.jpg 300w, https://hoangthuc.com/wp-content/uploads/2018/10/acf-featured-900x323.jpg 900w" sizes="(max-width: 2390px) 100vw, 2390px" /></p>
<p>Đây là một plugin khá hữu dụng trong wordpress dùng để tạo các trường tùy biến. Nó hổ trợ khá nhiều định dạng như Text, hình ảnh, file ngoài ra còn có thể build theo kiễu vòng lặp và trong cả các custom post. Khả năng tùy biến khá là cao có thể hiển thị dạng form ở ngoài FrontEnd. Nếu bạn là một developer bạn còn có thể thêm định dạng mới trong các trường tùy biến của plugin bởi vì plugin hổ trợ build phần này cho các bạn.</p>
<p><strong>2.Contact form 7</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-570" src="https://hoangthuc.com/wp-content/uploads/2019/07/contact-form-7-styler-featured-image-1024x538.jpg" alt="" width="1024" height="538" srcset="https://hoangthuc.com/wp-content/uploads/2019/07/contact-form-7-styler-featured-image-1024x538.jpg 1024w, https://hoangthuc.com/wp-content/uploads/2019/07/contact-form-7-styler-featured-image-1024x538-300x158.jpg 300w, https://hoangthuc.com/wp-content/uploads/2019/07/contact-form-7-styler-featured-image-1024x538-900x473.jpg 900w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>Một plugin tuyệt vời cho trang liên hệ của bạn và nó cũng nằm trong top plugin miễn phí mà xài ngon của mình.</p>
<p><strong>4.Loco translate</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-571" src="https://hoangthuc.com/wp-content/uploads/2019/07/loco-translate.png" alt="" width="1396" height="536" srcset="https://hoangthuc.com/wp-content/uploads/2019/07/loco-translate.png 1396w, https://hoangthuc.com/wp-content/uploads/2019/07/loco-translate-300x115.png 300w, https://hoangthuc.com/wp-content/uploads/2019/07/loco-translate-900x346.png 900w" sizes="(max-width: 1396px) 100vw, 1396px" /></p>
<p>Nếu bạn muốn làm một website đa ngôn ngữ thì plugin này là plugin rất đắc lực cho bạn và cũng free nốt. Nó kết hợp khá tốt với plugin bên dưới đấy.</p>
<p><strong>5.Polylang</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-572" src="https://hoangthuc.com/wp-content/uploads/2019/07/polylang-multilingual-custom-header-image.jpg" alt="" width="850" height="400" srcset="https://hoangthuc.com/wp-content/uploads/2019/07/polylang-multilingual-custom-header-image.jpg 850w, https://hoangthuc.com/wp-content/uploads/2019/07/polylang-multilingual-custom-header-image-300x141.jpg 300w" sizes="(max-width: 850px) 100vw, 850px" /></p>
<p>Đây plugin làm đa ngôn ngữ mà tôi nói đến, nếu xét về chi phí thì nó khá ổn sau plugin <strong>WPML</strong> vì nó cũng free =))) thấy tôi tốt không giới thiệu toàn hàng ngon.</p>
<p><strong>6.Yoast Seo </strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-574" src="https://hoangthuc.com/wp-content/uploads/2019/07/banner-1544x500.png" alt="" width="1544" height="500" srcset="https://hoangthuc.com/wp-content/uploads/2019/07/banner-1544x500.png 1544w, https://hoangthuc.com/wp-content/uploads/2019/07/banner-1544x500-300x97.png 300w, https://hoangthuc.com/wp-content/uploads/2019/07/banner-1544x500-900x291.png 900w" sizes="(max-width: 1544px) 100vw, 1544px" /></p>
<p>Đã làm seo mà còn làm website wordpress thì không thể không dung plugin này. Nó sẽ giúp bạn tối ưu SEO cho website về mặt thẻ meta, từ khóa các thứ pla pla pla. Mà các bạn phải dung thử mới biết rõ nó đã như nào. Plugin ngoài bản free thì còn có bản premium hình như $89, chắc cũng đã không kém mà tôi chưa có dịp xài. Vì dùng hàng free cũng đủ rồi.</p>
<p><strong>7.Ultimate member</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-573" src="https://hoangthuc.com/wp-content/uploads/2019/07/plugin-ultimate-member.png" alt="" width="756" height="288" srcset="https://hoangthuc.com/wp-content/uploads/2019/07/plugin-ultimate-member.png 756w, https://hoangthuc.com/wp-content/uploads/2019/07/plugin-ultimate-member-300x114.png 300w" sizes="(max-width: 756px) 100vw, 756px" /></p>
<p>Áp dụng cho các tính năng kiểu đăng nhập, đăng ký, profile. Nếu bạn muốn làm 1 forum thì plugin này cũng khá tiện lợi vì hệ thống addon mở rộng của nó khá đầy đủ cho 1 forum nhỏ.</p>
<p><strong>8.Duplicator</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-569" src="https://hoangthuc.com/wp-content/uploads/2019/07/banner-772x250.png" alt="" width="772" height="250" srcset="https://hoangthuc.com/wp-content/uploads/2019/07/banner-772x250.png 772w, https://hoangthuc.com/wp-content/uploads/2019/07/banner-772x250-300x97.png 300w" sizes="(max-width: 772px) 100vw, 772px" /></p>
<p>Khỏi nói cũng biết đây là 1 plugin khá tiện cho công việc backup source website sau 1 cú click chuột. Mình xài mấy năm này mà còn chưa bỏ vì độ tiện. Nghe nói cũng có bản trả phí cho plugin này nhưng tôi cũng chưa có dịp xài nên bạn nào xài rồi ghé cho tui cái review nhe. =)))</p>
<p>Dưới đây là 8 plugin tôi hay dùng trong sự nghiệp coder của mình. Nếu bạn nào thấy có món gì hay mà rẻ thì vào chia sẽ với tui nhe.</p>
<p>The post <a href="https://hoangthuc.com/nhung-plugin-wordpress-ma-tui-hay-su-dung/">Những plugin wordpress mà tui hay sử dụng</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoangthuc.com/nhung-plugin-wordpress-ma-tui-hay-su-dung/feed/</wfw:commentRss>
			<slash:comments>49</slash:comments>
		
		
			</item>
		<item>
		<title>Sử dụng media của wordpress để tải hình ảnh</title>
		<link>https://hoangthuc.com/su-dung-media-cua-wordpress-de-tai-hinh-anh/</link>
					<comments>https://hoangthuc.com/su-dung-media-cua-wordpress-de-tai-hinh-anh/#comments</comments>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Wed, 20 Jun 2018 10:10:17 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress nâng cao]]></category>
		<category><![CDATA[Thủ thuật wordpress]]></category>
		<category><![CDATA[wordpress nâng cao]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=547</guid>

					<description><![CDATA[<p>Hôm nay mình sẽ hướng dẫn cách sử dụng nút media trong quản trị wordpress để upload hình ảnh. Cốt lỏi của vấn đề là sử dụng đối tượng meta_image_frame trong thư viện wordpress. Mình sẽ tiến hành từng bước để các bạn nắm rõ: Bước 1: Tạo layout dạng HTML vu vơ và có các [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/su-dung-media-cua-wordpress-de-tai-hinh-anh/">Sử dụng media của wordpress để tải hình ảnh</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-548" src="https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-20_164632.jpg" alt="" width="1432" height="144" srcset="https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-20_164632.jpg 1432w, https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-20_164632-300x30.jpg 300w, https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-20_164632-900x91.jpg 900w" sizes="(max-width: 1432px) 100vw, 1432px" /></p>
<p>Hôm nay mình sẽ hướng dẫn cách sử dụng nút media trong quản trị wordpress để upload hình ảnh.</p>
<p>Cốt lỏi của vấn đề là sử dụng đối tượng <strong>meta_image_frame</strong> trong thư viện wordpress. Mình sẽ tiến hành từng bước để các bạn nắm rõ:</p>
<p>Bước 1: Tạo layout dạng HTML vu vơ và có các nút <strong>Media button</strong></p>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;wrap&quot; id=&quot;theme_option&quot;&gt;
   
    &lt;div class=&quot;container-fluid&quot;&gt;
        &lt;div class=&quot;Logo&quot;&gt;
            &lt;div class=&quot;box-title&quot; data-toggle=&quot;collapse&quot; href=&quot;#logo&quot; aria-expanded=&quot;false&quot; aria-controls=&quot;logo&quot;&gt;Logo &lt;span class=&quot;dashicons dashicons-arrow-right-alt2 navbar-right&quot;&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;div id=&quot;logo&quot; aria-expanded=&quot;false&quot; class=&quot;collapse in&quot;&gt;
                &lt;div id=&quot;images-container&quot; class=&quot;form-group&quot;&gt;
                    &lt;div class=&quot;input-group&quot;&gt;
                        &lt;input type=&quot;text&quot; name=&quot;wp_theme_logo_image&quot; id=&quot;logo-image&quot; class=&quot;form-control&quot; value=&quot;&quot;&gt;
                        &lt;div class=&quot;input-group-addon&quot;&gt;
                            &lt;input type=&quot;button&quot; class=&quot;logo-image-button btn btn-primary &quot; value=&quot;Chọn hình&quot;&gt;
                            &lt;input type=&quot;button&quot; class=&quot;remove-logo btn btn-primary&quot; value=&quot;Xóa&quot;&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;clearfix&quot;&gt;&lt;/div&gt;
                &lt;/div&gt;&lt;!-- end images container --&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
</pre>
<p>&nbsp;</p>
<p>Bước 2: Khai báo thư viện <strong>Media </strong>và Script để gọi</p>
<pre class="brush: php; title: ; notranslate">
function wp_artisans_theme_back_end()
{
    wp_enqueue_media();
    wp_enqueue_script('custom', WP_PLUGIN_URL . '/Tester/bootstrap/js/admin_custom.js', array(),'',true );
}
add_action( 'admin_enqueue_scripts2', 'wp_artisans_theme_back_end' );
</pre>
<p>File Script</p>
<pre class="brush: xml; title: ; notranslate">
jQuery(document).ready(function($){
  // add image uploader functionality
        var meta_image_frame;
      $('.logo-image-button').live('click', function(e){
            e.preventDefault();

            if( meta_image_frame ){
             meta_image_frame.open();
                return;
            }

            meta_image_frame = wp.media.frames.file_frame = wp.media({
                title: 'Add Images',
                button: {text: 'Add to Images'},
                library: { type: 'image'}
            });

            meta_image_frame.on('select', function(){
                var media_attachment = meta_image_frame.state().get('selection').first().toJSON();

                   var url = '';

                $('#logo-image').val(media_attachment.url);
            });

            meta_image_frame.open();

      });
$('.remove-logo').click(function(){
$('#logo-image').val('');   
})
    
})
</pre>
<p>Lưu ý:</p>
<p>Bạn cần gọi hook <strong>admin_enqueue_scripts2  </strong></p>
<p>Đến đây là xong !</p>
<p>&nbsp;</p>
<p>Chúc các bạn may mắn.</p>
<p>&nbsp;</p>
<p>The post <a href="https://hoangthuc.com/su-dung-media-cua-wordpress-de-tai-hinh-anh/">Sử dụng media của wordpress để tải hình ảnh</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoangthuc.com/su-dung-media-cua-wordpress-de-tai-hinh-anh/feed/</wfw:commentRss>
			<slash:comments>49</slash:comments>
		
		
			</item>
		<item>
		<title>Filter ajax product woocommerce plugin</title>
		<link>https://hoangthuc.com/filter-ajax-product-woocommerce/</link>
					<comments>https://hoangthuc.com/filter-ajax-product-woocommerce/#comments</comments>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Wed, 06 Jun 2018 09:19:13 +0000</pubDate>
				<category><![CDATA[Plugin wordpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugin wordpress]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=538</guid>

					<description><![CDATA[<p>Sau bao ngày bận rộn và không viết bài mới, hôm nay mình sẽ giới thiệu một sản phẩm plugin phát triển trên nền woocomerce của team Artisans. Tính năng chính của plugin vẩn là lọc theo ajax và được tương thích với attributes của woocommerce. Bộ lọc được hiển thị dưới dạng shortcode để các [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/filter-ajax-product-woocommerce/">Filter ajax product woocommerce plugin</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sau bao ngày bận rộn và không viết bài mới, hôm nay mình sẽ giới thiệu một sản phẩm plugin phát triển trên nền <strong>woocomerce</strong> của <a href="http://web-artisans.vn/" target="_blank" rel="noopener">team Artisans</a>.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-540" src="https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-06_145306.jpg" alt="" width="858" height="615" srcset="https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-06_145306.jpg 858w, https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-06_145306-300x215.jpg 300w" sizes="(max-width: 858px) 100vw, 858px" /></p>
<p>Tính năng chính của plugin vẩn là lọc theo ajax và được tương thích với attributes của <strong>woocommerce</strong>. Bộ lọc được hiển thị dưới dạng shortcode để các bạn tùy biến và sử dụng dễ dàng hơn.</p>
<p>Dưới đây là phần cài đặt của plugin &#8220;<em><strong>Chỉ nhấn và nhấn</strong></em>&#8220;.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-541" src="https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-06_150236.jpg" alt="" width="1726" height="751" srcset="https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-06_150236.jpg 1726w, https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-06_150236-300x131.jpg 300w, https://hoangthuc.com/wp-content/uploads/2018/06/2018-06-06_150236-900x392.jpg 900w" sizes="(max-width: 1726px) 100vw, 1726px" /></p>
<p>Theo đánh giá cá nhân của mình thì là vô cùng dễ tùy biến. Ngoài ra có thể tích hợp cả trong theme luôn.</p>
<p>Demo plugin cho các bạn xem tận tay: <a href="http://faw.demowebart.com/shop" target="_blank" rel="noopener">Faw.demowebart.com/shop</a></p>
<p style="text-align: center;"><em>Chúc các bạn một ngày vui vẻ.</em></p>
<p>The post <a href="https://hoangthuc.com/filter-ajax-product-woocommerce/">Filter ajax product woocommerce plugin</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoangthuc.com/filter-ajax-product-woocommerce/feed/</wfw:commentRss>
			<slash:comments>48</slash:comments>
		
		
			</item>
		<item>
		<title>Plugin lấy tin tự động version 2.1</title>
		<link>https://hoangthuc.com/plugin-lay-tin-tu-dong-version-2-1/</link>
					<comments>https://hoangthuc.com/plugin-lay-tin-tu-dong-version-2-1/#comments</comments>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Sun, 13 Aug 2017 19:31:25 +0000</pubDate>
				<category><![CDATA[Plugin wordpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Lấy tin tự động]]></category>
		<category><![CDATA[plugin wordpress]]></category>
		<category><![CDATA[wordpress nâng cao]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=514</guid>

					<description><![CDATA[<p>Chào các bạn. Hôm nay mình muốn thông báo là mình đã nâng cấp Plugin lấy tin lên 1 tầm cao mới là version 2.1 Đối với bản version 2.1 mình có nâng cấp, thêm mới 1 số chức năng so với bản trước đây và cũng lược bỏ 1 số thành phần. Các bạn có [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/plugin-lay-tin-tu-dong-version-2-1/">Plugin lấy tin tự động version 2.1</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Chào các bạn. Hôm nay mình muốn thông báo là mình đã nâng cấp <strong>Plugin lấy tin</strong> lên 1 tầm cao mới là <strong>version 2.1</strong></p>
<p>Đối với bản version 2.1 mình có nâng cấp, thêm mới 1 số chức năng so với bản trước đây và cũng lược bỏ 1 số thành phần. Các bạn có thể xem bản củ <strong><a href="https://hoangthuc.com/plugin-lay-tin-tu-dong-tu-website-khac/" target="_blank" rel="noopener">Plugin lấy tin ở đây</a>.</strong></p>
<p>Đầu tiên mình sẽ trình bày về những phần được mình nâng cấp và bổ sung nhe.</p>
<p><strong>1.Giao diện plugin</strong></p>
<p>_ Được mình tối ưu đơn giản hết mức có thể. Gồm 2 phần chính là <strong>Test Site</strong> và <strong>Show Post</strong></p>
<p>_ Test Site: Kiểm tra site mới và kiểm tra tin lấy về. Phần Test site này là phần mình bổ sung mới so với bản trước đây, bạn có thể test theo danh sách và theo trang single.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-515" src="https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_020257.jpg" alt="" width="937" height="430" srcset="https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_020257.jpg 937w, https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_020257-300x138.jpg 300w, https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_020257-900x413.jpg 900w" sizes="(max-width: 937px) 100vw, 937px" /></p>
<p>_ Show Post: Phần này thì mình chỉ thay đổi giao diện một chút và gôm lại 2 phần là lưu tin theo danh sách và lưu từng tin lại thành một.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-516" src="https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_020612.jpg" alt="" width="1188" height="646" srcset="https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_020612.jpg 1188w, https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_020612-300x163.jpg 300w, https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_020612-900x489.jpg 900w" sizes="(max-width: 1188px) 100vw, 1188px" /></p>
<p><strong>2.Quản lý và cài đặt</strong></p>
<p>_ Mình đã thay đổi phần quản lý và cài đặt thành quản lý của wordpress. Các bạn có thể cấu hình và cà đặt dễ hơn như trong post.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-517" src="https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_021001.jpg" alt="" width="825" height="379" srcset="https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_021001.jpg 825w, https://hoangthuc.com/wp-content/uploads/2017/08/2017-08-14_021001-300x138.jpg 300w" sizes="(max-width: 825px) 100vw, 825px" /></p>
<p><strong>3.Tính năng mới và tốc độ.</strong></p>
<p>_ So với bản trước đây thì version 2.1 có thể lấy được 1 lúc nhiều link trong 1 site. Và đặc biệt hơn là có thể lấy nhiều site cùng 1 lúc.</p>
<p>_ Tốc độ cũng được mình cải thiện lên khá nhiều nếu không nói là nhanh hơn.</p>
<p>_ Chắc các bạn đang thắc mắc tại sao version này lại không có phần edit link lỗi. Câu trả lời là mình đã auto fix cho các bạn luôn rồi. Khi các  bạn lấy link về thì sẽ được plugin tự động chỉnh sửa link không phải sửa thủ công như version củ nữa.(Cám ơn mình đi)</p>
<p>Bên cạnh những phần bổ sung thì cung có những phần mình lược bỏ.</p>
<p>_ Mình bỏ phần set trạng thái bài viết, danh mục bài viết.(Phần này mình thấy trong quan lý post cũng có và cũng khá tiện nên mình lược bỏ luôn)</p>
<p>_ Phần lưu trữ link lấy về.(Phần này do mình lấy tin về thấy tốc độ nhanh quá nên bỏ luôn =))  )</p>
<p><strong>Đánh giá chung:</strong></p>
<p><strong>*Ưu điểm</strong></p>
<p><em>_ Dĩ nhiên bản nâng cấp nó phải ok hơn cái củ rồi, mình tập trung chủ yếu vào 2 phần là lấy nhiều tin hơn và làm cho tốc độ lấy nhanh hơn.</em></p>
<p><em>_ Giao diện thì nhìn cũng thoáng hơn và dễ sử dựng hơn trước.(Mình tự đánh giá nhé)</em></p>
<p><strong>*Nhược điểm</strong></p>
<p><em>_ Mình chưa nghỉ ra =)) đùa đó. Nó vẫn còn thiếu nhiều thứ như trạng thái, danh mục , Tag, Slug.</em></p>
<p><em>_ Nhưng trên cơ bản thì mình cũng khá hài long rồi vì nó đúng tiêu chí ban đầu trước khi mình nâng cấp.</em></p>
<p><strong>*Video hướng dẫn</strong></p>
<p><a href="https://www.youtube.com/watch?v=CMabgiBQWqM">https://www.youtube.com/watch?v=CMabgiBQWqM</a></p>
<p style="text-align: center;">Chúc các bạn một ngày vui vẻ.</p>
<p>&nbsp;</p>
<p>The post <a href="https://hoangthuc.com/plugin-lay-tin-tu-dong-version-2-1/">Plugin lấy tin tự động version 2.1</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoangthuc.com/plugin-lay-tin-tu-dong-version-2-1/feed/</wfw:commentRss>
			<slash:comments>54</slash:comments>
		
		
			</item>
		<item>
		<title>Tạo template trong plugin wordpress</title>
		<link>https://hoangthuc.com/tao-template-trong-plugin-wordpress/</link>
					<comments>https://hoangthuc.com/tao-template-trong-plugin-wordpress/#comments</comments>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Wed, 26 Jul 2017 10:01:22 +0000</pubDate>
				<category><![CDATA[Plugin wordpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress nâng cao]]></category>
		<category><![CDATA[plugin wordpress]]></category>
		<category><![CDATA[Taxonomy wordpress]]></category>
		<category><![CDATA[Thủ thuật wordpress]]></category>
		<category><![CDATA[wordpress nâng cao]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=508</guid>

					<description><![CDATA[<p>Thông thường để tạo template cho trang bạn phải vào theme để tạo template. Nhưng vấn đề ở đây là khi bạn muốn thay đổi theme thì template vẫn không thay đổi. Giải pháp đưa ra là bạn tạo template trong plugin để tách ra khỏi theme. Như vầy dù bạn có thay đổi theme [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/tao-template-trong-plugin-wordpress/">Tạo template trong plugin wordpress</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Thông thường để tạo template cho trang bạn phải vào theme để tạo template. Nhưng vấn đề ở đây là khi bạn muốn thay đổi theme thì template vẫn không thay đổi. Giải pháp đưa ra là bạn tạo template trong plugin để tách ra khỏi theme. Như vầy dù bạn có thay đổi theme thì template vẫn giữ nguyên. Tiêu biễu như plugin <strong>Woocommerce</strong></p>
<p>Các loại template các bạn dùng <strong>custom post</strong>, <strong>archive</strong> và <strong>page</strong>.</p>
<p>Các hook được sử dụng: <strong>single_template, archive_template</strong> và <strong>page_template</strong></p>
<p>Tiến hành code.</p>
<p>1.Custom post</p>
<p>Đối với custom post ta dung hook <strong>single_template. &#8216; YOUR_CUSTOM_POST &#8216;</strong> là tên custom post của bạn dùng.<strong> </strong></p>
<pre class="brush: php; title: ; notranslate">
function get_custom_post_type_single($single_template) {
    global $post;
    if ($post-&gt;post_type == 'YOUR_CUSTOM_POST') {
        $single_template = dirname( __FILE__ ) . '/single-YOUR_CUSTOM_POST.php';
    }
    return $single_template;
}
add_filter( 'single_template', 'get_custom_post_type_single' );
</pre>
<p>2.Archive</p>
<p>Đối với trang archive ta dung hook archive_template. &#8216; YOUR_TAXONOMY &#8216; là tên taxonomy của bạn dùng.</p>
<pre class="brush: php; title: ; notranslate">
function get_custom_archive($archive_template){
    global $wpdb;
    $archive =$wpdb-&gt;last_result;
    if ( $archive&#x5B;0]-&gt;taxonomy==  'YOUR_TAXONOMY' ) {
        $archive_template = dirname( __FILE__ ) . '/archive-YOUR_TAXONOMY.php';
    }
    return $archive_template;
}
add_filter( &quot;archive_template&quot;, &quot;get_custom_archive&quot; ) ;
</pre>
<p>3.Page Template</p>
<p>Đối với page bạn phải chọn slug chính xác thì template mới được sử dụng.</p>
<pre class="brush: php; title: ; notranslate">
add_filter( 'page_template', 'wpa_page_template' );
function wpa_page_template( $page_template )
{
if ( is_page( YOUR_SLUG ) ) {
$page_template = dirname( __FILE__ ) . '/templates/template-YOUR_SLUG.php';
}
return $page_template;
}
</pre>
<p>Chúc các bạn thành công !</p>
<p>The post <a href="https://hoangthuc.com/tao-template-trong-plugin-wordpress/">Tạo template trong plugin wordpress</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoangthuc.com/tao-template-trong-plugin-wordpress/feed/</wfw:commentRss>
			<slash:comments>122</slash:comments>
		
		
			</item>
		<item>
		<title>Thêm bộ lọc taxonomy trong admin custom post type</title>
		<link>https://hoangthuc.com/bo-loc-taxonomy-trong-admin-custom-post/</link>
					<comments>https://hoangthuc.com/bo-loc-taxonomy-trong-admin-custom-post/#comments</comments>
		
		<dc:creator><![CDATA[Hoàng Thức]]></dc:creator>
		<pubDate>Sun, 28 May 2017 12:47:52 +0000</pubDate>
				<category><![CDATA[Custom post wordpress]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress nâng cao]]></category>
		<category><![CDATA[Taxonomy filter admin custom post]]></category>
		<guid isPermaLink="false">https://hoangthuc.com/?p=493</guid>

					<description><![CDATA[<p>Đây là đoạn code nhỏ dùng để tạo bộ lọc custom taxonomy trong admin custom post type CMS wordpress. Để có thể dễ dàng quản lý bài viết trên site. Giao diện như bên dưới. Vẫn như củ các bạn copy code và đặt vào file functions.php thôi nhưng chú ý 1 số thông số như sau: [&#8230;]</p>
<p>The post <a href="https://hoangthuc.com/bo-loc-taxonomy-trong-admin-custom-post/">Thêm bộ lọc taxonomy trong admin custom post type</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Đây là đoạn code nhỏ dùng để tạo bộ lọc <strong>custom taxonomy</strong> trong <strong>admin custom post type</strong> CMS wordpress. Để có thể dễ dàng quản lý bài viết trên site. Giao diện như bên dưới.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-494 size-full" src="https://hoangthuc.com/wp-content/uploads/2017/05/Untitled.png" alt="" width="1335" height="645" srcset="https://hoangthuc.com/wp-content/uploads/2017/05/Untitled.png 1335w, https://hoangthuc.com/wp-content/uploads/2017/05/Untitled-300x145.png 300w, https://hoangthuc.com/wp-content/uploads/2017/05/Untitled-900x435.png 900w" sizes="(max-width: 1335px) 100vw, 1335px" /></p>
<p>Vẫn như củ các bạn copy code và đặt vào file functions.php thôi nhưng chú ý 1 số thông số như sau:</p>
<p>1.Hook : Mình sử dung 2 hook là <strong>restrict_manage_posts</strong> và <strong>parse_query</strong>.</p>
<p><strong>restrict_manage_posts</strong> để lấy data taxonomy và hiển thị ra dạng dropdown taxonomy</p>
<p><strong>parse_query</strong> cải tạo lại bộ lọc để nó có thể filter thêm cái taxonomy mình mới thêm.</p>
<p>2.Biến: Bạn thay biến post_type và taxonomy thành của mình để sử dụng nhé.</p>
<p>3.Code đây</p>
<pre class="brush: php; title: ; notranslate">

add_action('restrict_manage_posts', 'tsm_filter_post_type_by_taxonomy');
function tsm_filter_post_type_by_taxonomy() {
 global $typenow;
 $post_type = 'project'; // change to your post type
 $taxonomy = 'kind'; // change to your taxonomy
 if ($typenow == $post_type) {
 $selected = isset($_GET&#x5B;$taxonomy]) ? $_GET&#x5B;$taxonomy] : '';
 $info_taxonomy = get_taxonomy($taxonomy);
 wp_dropdown_categories(array(
 'show_option_all' =&gt; __(&quot;Lọc {$info_taxonomy-&gt;label}&quot;),
 'taxonomy' =&gt; $taxonomy,
 'name' =&gt; $taxonomy,
 'orderby' =&gt; 'name',
 'selected' =&gt; $selected,
 'show_count' =&gt; true,
 'hide_empty' =&gt; true,
 ));
 };
}
/**
 * Filter posts by taxonomy in admin
 * @author Hoang Thuc
 * @link https://hoangthuc.com/bo-loc-taxonomy-trong-admin-custom-post
 */
add_filter('parse_query', 'tsm_convert_id_to_term_in_query');
function tsm_convert_id_to_term_in_query($query) {
 global $pagenow;
 $post_type = 'project'; // change to your post type
 $taxonomy = 'kind'; // change to your taxonomy
 $q_vars = &amp;$query-&gt;query_vars;
 if ( $pagenow == 'edit.php' &amp;&amp; isset($q_vars&#x5B;'post_type']) &amp;&amp; $q_vars&#x5B;'post_type'] == $post_type &amp;&amp; isset($q_vars&#x5B;$taxonomy]) &amp;&amp; is_numeric($q_vars&#x5B;$taxonomy]) &amp;&amp; $q_vars&#x5B;$taxonomy] != 0 ) {
 $term = get_term_by('id', $q_vars&#x5B;$taxonomy], $taxonomy);
 $q_vars&#x5B;$taxonomy] = $term-&gt;slug;
 }
} </pre>
<p>Chúc các bạn thành công !</p>
<p>The post <a href="https://hoangthuc.com/bo-loc-taxonomy-trong-admin-custom-post/">Thêm bộ lọc taxonomy trong admin custom post type</a> appeared first on <a href="https://hoangthuc.com">Hi You, I am Tade</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://hoangthuc.com/bo-loc-taxonomy-trong-admin-custom-post/feed/</wfw:commentRss>
			<slash:comments>50</slash:comments>
		
		
			</item>
	</channel>
</rss>
