Our Thoughts

Invezza focuses on your business growth by delivering your message to the world and make your idea speak with our creativity.

Category: PHP

How to exclude or ignore some files from git commit

Feb 06th, 2018 GIT, PHP

How to exclude or ignore some files from git commit Some time we required to remove some files from git modified files because those files are not required to push on every time. Below command for very useful to ignore files from a track or modified files. or You want to automatically exclude some files...

Read more

How to remove password protected posts from pagination or adjacent posts

Jan 09th, 2018 PHP, Wordpress

You can approach this in different ways. The easiest solution would probably use the WordPress default filters There are multiple filters to remove password protected posts from adjacent posts for pagination. Sometimes we need to hide all password protected links from pagination because some website creates the secure content data using private posts. If anyone...

Read more

How to check post has password protection or not

Jan 07th, 2018 PHP, Wordpress

Yes, Some time we need to check post has password protected or not. While loop displays all posts from depending on post_type. If you assigned "posts" to post_type  it will display all posts from posts type But sometimes we need to show a different message to password protected posts in a loop, for this we...

Read more

How to exclude password protected posts from WordPress loop

Jan 06th, 2018 PHP, Wordpress

Exclude password protected posts from WordPress posts list or loop is using the filter function that is "post_where" post_where filter for use exclude password protected posts from loop This filter applies to the posts where clause and allows you to restrict which posts will show up in various areas of the site. Combined with restrict_manage_posts...

Read more

Set field values using entity metadata wrapper in Drupal7

Jan 06th, 2018 Drupal, PHP

entity metadata wrapper This entity metadata wrapper class is provided by the Entity API module. By using entity metadata wrapper class we can set new fields data dynamically to node and also we can get node fields data by using entity metadata wrapper class Retrieve values from a node using entity metadata programmatically. To retrieve...

Read more

drupal7 Get field values using Entity metadata wrapper

Jan 06th, 2018 Drupal, PHP

entity metadata wrapper This entity metadata wrapper class is provided by the Entity API module. By using entity metadata wrapper class we can set new fields data dynamically to node and also we can get node fields data by using entity metadata wrapper class Retrieve values from a node using entity metadata programmatically. To retrieve...

Read more

What are Cookies

Oct 02nd, 2017 PHP

A cookie is used to store a small piece of information on a client machine. A cookie contains page-specific information that a Web server sends to a client along with page output. Cookies are used for sending page-specific information because HTTP is a stateless protocol and cannot indicate whether page requests are coming from the...

Read more