How to display links in a WordPress excerpt?

Allowing link in a excerpt very common issue for WordPress users. You can display excerpt link by adding this script to your theme “functions.php” file. remove_filter( ‘the_excerpt’, ‘wp_trim_excerpt’ ); function new_trim_excerpt($text) { global $post; if ( ” == $text ) { $text = get_the_content(”); $text = apply_filters(‘the_content’, $text); $text = str_replace(‘\]\]\>’, ‘]]>’, $text); $text = preg_replace(‘@<script[^>]*?>.*?</script>@si’, ”, $text); … Read more

How to remove index.php From Website URL?

Remove index.php from any Website URL to keep away from Google duplicate content penalty. It will increase your website home page visibility in all major search engine. RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC] RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]  

Unveiling the Secrets of AdSense Bad Content Filtering: Tips for Publishers

Transform your contention a visual masterpiec

Introduction Google AdSense, a renowned advertising platform, provides website publishers with an opportunity to monetize their content through targeted ads. However, to maintain the quality and integrity of their ad network, Google employs stringent content filtering mechanisms to ensure that ads appear on web pages that meet specific quality standards. In this article, we’ll delve … Read more

Redirect Non WWW to WWW Using .htaccess

Redirect non www to www using your domain name RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule (.*) http://www.example.com/$1 [R=301,L] Or use this for any domain: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] If you have ssl enabled then add this two line for http to https redirect RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Speed up WordPress CMS Menu Loading

Overview We can customize the WordPress navigation menus with writing few lines of codes. wp_nav_menu is the WordPress menu function to display custom menus created in domain.com/wp-admin>Appearance>Menus panel . It is a must use function but it’s not perfect for all website or projects. Default menu function OK for small websites but if your site is large and have more … Read more

What is MEMS Accelerometer?

MEMS accelerometer are micro electro mechanical systems that measure the static or dynamic force of acceleration.  Static force refers to the earth’s gravitational pull.  On the surface of the Earth, all objects fall with an acceleration defined as one “g”, which is approximately equal to 9.81 m/s² (32.17 ft/s²).  Quite often, “g” is used as … Read more

Redirect HTTP traffic to HTTPS using an .htaccess

Create a .htaccess file then write this code you will redirect all HTTP traffic to HTTPS. ##Global Http to Https Redirect RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] If you want a single page to redirect http to https then use this code. ## single page redirect RewriteEngine On RewriteRule ^redirect-http-to-https-page\.html$ https://www.example.com/redirect-http-to-https-page.html [R=301,L]

Joomla Access Control (ACL) Does Not Save CiviCRM Access Rules

Question in Mind: How to fix Joomla and CiviCRM  Access Control (ACL) Permission for Individual Groups Why do my CiviCRM Access Permission are not save or reset automatically? How can I give access permission for CiviCRM to Manager, Administrator or Any other Group to Use?   Hi If you are having problem with Joomla Access Control … Read more

How to Use Accelerometer in AS3 AIR

Question in Mind: How to control a car with Accelerometer sensor in ActionScript 3 (AS3)? How to read Accelerometer sensor property with ActionScript 3 (AS3)? How to test Accelerometer with AS3 in iOS And Android Devices? Solution: Step 1 – Open Adobe Flash then create a new document using File > New… > from “General” … Read more

Create PDF or JPG File in Adobe Air Using ActionScript 3 and AlivePDF Library

We can use purePDF or AlivePDF ActionScript 3 libraries for creating PDF from Adobe Air. This example code showing how to saved and stored a .JPG file on the device. this way you may save .PDF file also. I will show full PDF example here. f = File.documentsDirectory.resolvePath(fil_name+”.jpg”); stream = new FileStream(); stream.open(f, FileMode.WRITE); i = new … Read more