Friday, August 18, 2017

How to fixed WordPress errors

Hey,
I'm Ranit on hereabouts to determine your WordPress all issues, errors, customizations, and custom theme building problem.

 I will provide these issues and problems: 

  • Setup WordPress issues
  • Wp responsive issues
  • Media query
  • HTML and CSS issues
  • Php, MySql and Database errors
  • Plugin errors
  • Spam email issues and contact from errors
  • CSS Font-family issues
  • Cache issues for CloudFlare and CDN issues
  • Security problems
  • Speed up issues
  • Clean malware Virus or Malicious code
  • HTTP Error 403 – Forbidden
  • Connection Timed Out Error
  • Internal Server Error


Why Hire Me?

  • Fast answer
  • 24/7 Online Support
  • 100% compensation
  • 100% refundable  
  • Full obligation

We require discussing before originating your concerns.



Thank You.











Sunday, May 28, 2017

Add open with sublime text 3

1st go to google search "add open with sublime text 3

2nd you can see openwithsublimetext3.bat code. code is here:

@echo off
SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe
 
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3"         /t REG_SZ /v "" /d "Open with Sublime Text 3"   /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3"         /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
 
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3"         /t REG_SZ /v "" /d "Open with Sublime Text 3"   /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3"         /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
pause

3rd create a text file and pest this code. and you must change the format .txt to .bat

4th which computer is 64 bit you can see a folder name Program Files(x84). open this folder  see sublime folder if not then find Program Files also and copy this path

5th go to text file and change the path see

6th change this file format from .text to .bat and save it. see 

7th click on the file you can see this cmd popup. see

just press any key. But problem is access denied because in my case i have saved this file on c drive desktop,  so right click on .bat file and click on run to administrator you can see it's successfully see

now it will be work see
Thank you. 

Wednesday, April 5, 2017

WordPress Theme Development Basic

how to  add a theme on your WordPress?
Required  files are index.php and style.css

For upload theme you need to add some code on your css file
/*
Theme Name: you theme name
Theme URL: ranitsarker.blogspot.com
Author: Ranit
Author URL: ranitsarker.blogspot.com
Description: your theme descriptions
Version: 1.0
Tags: Music, Art, eCommerce, Membership, Video, Audio
Textdomain : firsttheme
*/

For image you need to create or collect a image size: 600*450 px and image name screenshot.png or .jpg

setting> general :


site title: bloginfo('title')
tag line: bloginfo('description')
wordpress address utl:  bloginfo('home')
site address: echo site_url()

some function:
থিম এর  লিংক টা show করায়।

1) echo get_template_directory_uri();

2) bloginfo('template_directory');

3) bloginfo('template_url');


hook: after_setup theme

add_theme_support for title-tag

How to add menu and show menu:

add menu:
register_nav_menus('menu-id', 'menu name');
show menu:
wp_nav_menu('theme_location ', 'menu-id');








Monday, April 3, 2017

Important link

1) search on google open with sublime text 3 windows github
for 64 bit: https://gist.github.com/roundand/9367852

2) Copy this code and save on .bat format and go to c drive and copy the path of your sublime text and past this url on this code url.

3) run this .bat file with run administrator and press any key.

Friday, January 13, 2017

Php Basic

php: 

echo এন্ড print এর মধ্য ডিফ্রেন্ট :
১) 
echo তে . এন্ড , use করা যায়।
// echo"hello ". "world";
// echo"hello ", "world";


// echo"hello"." "."world";
// echo"hello"," ","world";

?>
but print use করলে   ,  কাজ করবে না। . কাজ করবে।






২)
print অনেক বার use করলে page তা লোড হইতে বেশি সময় নেই। echo use করলে load হইতে কম সময় লাগবে।
Function:
function এর ভিতর যে () use করি এর ভিতর এ যা বসে  তাকে  argument বলে।

function এর  value  যে  খানে show করতে চাই ঐ খানে () এর ভিতর এ যা বসে  তাকে  parameter  বলে।
ex :
function ami(){
echo"valo ass ";
}
?>
ami bollam:

output : ami bollam: se valo asa .

এখন ami তা কে আমি dynamic করবো। এই জন্য argument use করবো।  যাকে dynamic করবো  ওই খানে ও দিবো। show আর kisu parameter set করবো যে আমি কি show করতে চাই।
function ami($name){

echo $name." valo asa";
}
?>

ami bollam:
output  : ami bollam: ranit valo asa




৩) 


return :
returnহলো function কে কিছু দিয়ে দাওয়া।
ex 

function sotovai(){
return "vai ke mobile kine dilam";
}
echo sotovai();

?>
এই খানে sotovai কে mobile কিনে দিলাম। but show করতে হলে function কে just execute করলে  output show  করবে না এই জন্য echo use করতে হবে।
function one($o){
return $o;
}
function two($t, $time){
return one($time). $t;
}
function three($th, $ami, $tumi){
return two($ami, $tumi).$th;
}

echo "i'm counting ". three('one', 'two ', 'three ');







Wednesday, January 11, 2017

Monday, January 9, 2017

table, insert, update, delete

table, insert, update, delete :
how to create a table with commend prompt:

kono database a kaj korte hole use database name dite hoy:
ex CREATE DATABASE advance;
use advance; aito holo akon ai database a kaj korbe. database changed hole.
create table given(
id INT(11) NOT NULL AUTO_INCREMENT,
name varchar(100)  NOT NULL,
roll int(11) NOT NULL,
subject varchar(11) NOT NULL,
semester int(2) NOT NULL,
cgpa float NULL,
PRIMARY KEY (id)
);


table ar column show kortehole  describe or explain use korte pari

column gulo re valu add korbo:
INSERT INTO given (name) VALUES(
NULL,
'RANIT'
);

dakta chile:
SELECT * FROM given for all 



SELECT name, another FROM given tahole specific gulo show korbe




mysel update:
UPDATE table_name
SET column1=value, column2=value2,...
WHERE some_column=some_value 


Delete:
DELETE FROM given WHERE id=1;