Wocommerce wpse45436_posts_filter with multiple meta_key

Default Wocommerce provide basic function for search result when we want more thins to search we can customise wocommerce function by hook or add_action, Now I want to add filter order by product name and order_type field by customising the “restrict_manage_posts” like:

  By this customisation we can successfully visible and now need to […]

Django translation in URLs and locale switching

Adding locale switcher to templates Django comes with a view, django.views.i18n.set_language(), that sets a user’s language preference and redirects back to the previous page. This view ca be activated by adding URL like (r’^i18n/’, include(‘django.conf.urls.i18n’)), to urlconf (see Below example). In order to add locale switcher to your templates you will have to add a […]

Screen Shot 2015-03-30 at 10.43.51

Django imageField show image

Problem: Django imageField now shows image ( like <img src=”image_path.ext”/>), i want to display path as image Solution:  So that i create one file with

and when we want to display in app then simply we import this file and call this class as :

formfield_for_dbfield : This is default function in Django […]

Titanium – Hiding the Action Bar

There are two ways to hide the Action Bar. You can either hide the activity’s Action Bar in your JavaScript code or modify the default theme to hide the Action Bar. In your JavaScript code, get the activity’s action bar instance and call the hide method. This hides the action bar once it appears on […]

WordPress Page Template Overrid

Simply we create page template by writing some code in file as codex

without writing template name inside the file we can also override the page template simply we can create…

Happy coding……….. 😀

1 2 3 4 5 6 10