Detail: plugin Twitter feed by Smash Balloon
Thứ Năm, 2 tháng 2, 2023
Thứ Tư, 28 tháng 12, 2022
Wordpress Directory plugin select 2 issue Iphone
Detail: Wordress use plugin Directorist - Business Directory Plugin
Safari iphone select2 can not select
Step: input click -> select popup view above, this issue popup view in range click too : this mean selected and hide popup
Solution: popup above move top out range click by CSS
/*mobileSelectIssue*/
body .select2-container--open .select2-dropdown--above{
top:-2px;
}
Thứ Tư, 7 tháng 12, 2022
Wordpress add widget position
1. Load position: position may be header, footer, main view
<?php
if (is_active_sidebar('logobox')){
dynamic_sidebar('logobox');
}
?>
2. Init functions.php
/*TopBox*/
function CustomLogoBox()
{
register_sidebar(array(
'id' => 'logobox',
'name' => 'Logo Box',
'description' => 'Logo box text',
'before_widget' => '<div class="logobox">',
'after_widget' => '</div>',
'before_title' => '<h3 class="logo-widget-title">',
'after_title' => '</h3>'
));
}
add_action( 'widgets_init', 'CustomLogoBox' );
3. Wordpress admin add widget
Thứ Hai, 21 tháng 11, 2022
mplugin wordpress malware
Detail: November 2022 client report 5 sites issue malware.
This effect mobile only, when site wordpress at FRONT END click will open other site
Solution: backup files before edit
Setup: 'wordfence plugin'>Scan >list issue
Step by step: as detail report
1. theme /functions.php : require clean code
2. mplugin.php : this is malware -> remove
3. theme/ template-config.php clean code
![]() |
Thứ Năm, 23 tháng 6, 2022
Joomla K2 article link 404
Vấn đề: load k2 category article, khi click link 404 không hiển thị
Kiểm tra: publish chưa, date create, date start, date end
Nếu vẫn ko hiển thị được thì kiểm tra: alias
Nguyên nhân: còn 1 khả năng là bị trùng lắp alias, để kiểm tra việc này có thể thêm ngày tháng phía sau alias
Thứ Tư, 22 tháng 6, 2022
Wordpress plugin WP Mail SMTP: SUCCESS
Hướng dẫn: trong wordpress send email admin là gmail, gmail không nhận được.
Nguyên nhân do gmail chặn lại
Cách xử lý: sử dụng wordpress SMTP plugin. Có nhiều plugin hỗ trợ, trong trường hợp này là WP Mail SMTP
Yêu cầu: tất cả các bước đều phải đúng nhé
Step 1: Create Gmail API
Step 2: Create Credential
Step 3: Create OAuthor Consent
Step 4: Config plugin WP Mail SMTP
Sau khi enable plugin WP Mail SMTP, thì wordpress tự động sử dụng SMTP đã cấu hình việc gửi mail. Việc này do plugin thực hiện.
Step 5 : kiểm tra gửi mail admin
set email ví dụ baonguyen12b32000@gmail.com, sau đó gửi mail bằng form contact hoặc bất cứ mail nào trong site, trong 1 số plugin có hỗ trợ 'Test mail'.
Kiểm tra gmail nhận được là việc cấu hình SMTP hoàn thành
Thứ Tư, 15 tháng 9, 2021
joomla 3.x cache pages turn off
Detail: configuration admin cache off, but folder cache still have 'pages'
Solution: plugin turn off 'page cache'












