The Code You Will Love

Custom Post type plugin wordpress

Posted on: Wednesday May 8, 2019

  Custom post type plugin with category, add code in function.php [crayon-6637344a33cd5854647159/] Display in template (where you want to display or use) [crayon-6637344a33cdf217090019/] [...]

Read More

Create Custom Menu in WordPress

Posted on: Tuesday May 7, 2019

Register and  Create Custom Menu in WordPress, WordPress Menu Walker Register New Menu in ‘Menu Setting’ Appearance -> Menu Add in function.php [crayon-6637344a35011539035564/]   [...]

Read More

Convert HTML to Plain Text without tags in PHP

Posted on: Thursday March 28, 2019

Use for text editor like TinyMce content. Remove html tags from string, best use for META tags. [crayon-6637344a353d6385063756/] Useful for Meta Tag description [...]

Read More

Instagram Image in website with link

Posted on: Tuesday March 5, 2019

Get Instagram Images with link in div element or wherever you want, you have to specify use name of Instagram user only   [crayon-6637344a3569a334797486/] [...]

Read More

Move Element / Div on Scroll – Data Scroll Speed

Posted on: Sunday January 20, 2019

jQuery different scroll speeds on scroll, set different scroll speed to element. data-scroll-speed https://codepen.io/vipulrai/pen/vvoREM HTML: [crayon-6637344a35a2b352157774/] CSS: [...]

Read More

Auto Permalink value in text field

Posted on: Friday September 7, 2018

Auto Permalink value from one text field to another in Jquery. This code will convert Text to url friendly and auto put to another text field. [crayon-6637344a35cf6958574156/] [...]

Read More

Media queries for common device Breakpoints

Posted on: Tuesday July 17, 2018

The @media query is 1/3 of the recipe for responsive design. It is the key ingredient that, in it’s simplest form, allows specified CSS to be applied depending on the device and whether it [...]

Read More

Add a static image on PHTML page and CMS Blocks : Magento2

Posted on: Tuesday February 27, 2018

image url Syntax is ok for both static block and phtml, But make sure that when you write this code in static block [crayon-6637344a364cc393216682/] on front end it looks like [...]

Read More

Magento2 : How can override vendor/module-catalog to magento default theme?

Posted on: Thursday February 15, 2018

You can override all files from vendor to our theme using below method. Goto vendor\magento\module-catalog\view\frontend Copy all folders and files to [...]

Read More

Error “Cannot read contents from file..” when changing themes from admin panel

Posted on: Thursday January 25, 2018

Please copy the folder [crayon-6637344a36789207553900/] to [...]

Read More
Translate »