Articles of magento

Using WP_Query() in Magento shows error

I am using Magento (directory example.com/app) and WordPress (directory example.com/blog/wp-blog-header.php). When I set up a WP_Query in Magento’s template\catalog\product\view.phtml it shows the following error: Fatal error: Cannot redeclare __() (previously declared in \app\code\core\Mage\Core\functions.php:93) in wordpress\wp-includes\l10n.php on line 98 Is there a way to get this to work?

Display wordpress admin bar outside wordpress in Magento?

I have been trying to get the admin bar to show up under a magento install. I have tried eveything to get it. I can get the user, get the footer but nothing happens to get the admin bar up. from with in a 1column.phtml I called a <?php echo $this->getLayout()->createBlock(‘core/template’)->setTemplate(‘custom/userpanel.phtml’)->toHtml(); ?> and in that […]

Generate XML Sitemap for Blog on Magento Platform

Our store is on Magento which is installed at root. Our blog uses WordPress and is installed at /wp of our domain and renders at /blog. I’ve tried just about every plugin but cannot generate an xml sitemap for the blog. Each one creates an HTML sitemap of the Magento store without any reference to […]

Can we import Magento products to the word press?

Can we import Magento products to the word press? For example let just say I’ve an e-commerce site in Magento and blog is developed in WP. Now I want to pull the Magento customer wish list products to the word press. Is there a easy way to implement this? perhaps a extension? so far I […]

WordPress + Magento .htaccess ReWriteRule Issue (www vs. non-www)

I have an issue I’ve been facing for a bit now. Moved away from it, but now I’m back and just have no idea after trying to find a solution online. It seems individuals have faced similar issues, but trying out common fixes has resulted in just 500 Internal Server Errors. I’ll try to be […]

How To Remove The “+ Add New Category” Link From A Category Metabox

Inside of a WordPress category metabox or any custom taxonomy box for that matter there is a link with the text “+ Add New Category” is there a way this link can be removed preferably without resorting to JS or CSS hacks to hide it? A way to hide it using some kind of filter […]