Quantcast
Channel: StuntCoders » get
Browsing all 7 articles
Browse latest View live

PHP get current URL

Very often you need to know exact URL of your current page. To get URL of current page, you should just implement following function and apply it, as shown in example below. 1 2 3 4 5 6 function...

View Article



Get WordPress post outside of WP

Sometimes there is a need to get posts outside of WordPress. In order to get latest couple of posts and present them as news outside of WP, I have written a function that might be useful. This function...

View Article

Get current page URL and title with jQuery

It could be useful to get current page URL and current page title. Especially if we want to make sharing plugin for our website. Often, we need that information in order to pass them as a parameter to...

View Article

Magento get current category

If you are using a Magento and you want to know what is the current category in order to show it to your user, you can do it by using following snippet. 1 2 3 4 5 6 //if there is no current category...

View Article

Magento categories in WordPress

Before reading this article it is advised to read “How to run Magento in WordPress“, as it could help you overcome some basic problems that might emerge. This snippet shows you how to get Magento...

View Article


Get customer name in Magento

When creating a Magento theme, one has to worry about all aspects. Some of the most important things when creating a theme is personalization. In order to personalize your website for a current user,...

View Article

Zend Framework get domain name

There is an easy way to get current domain name in Zend Framework. To get domain name in Zend Framework – use following snippet in your view file. echo $this->serverUrl();

View Article
Browsing all 7 articles
Browse latest View live




Latest Images