/**
  * Category page
  *
  * @param Varien_Object $category
  */
 public function processRouteWordpressPostCategoryView($category)
 {
     $this->_applyMeta(array('title' => $this->getTitleTaxCategory(), 'description' => $this->getMetadescTaxCategory(), 'keywords' => $this->getMetakeyTaxCategory(), 'robots' => $this->getNoindexTaxCategory() ? 'noindex,follow' : ''));
     $this->_applyOpenGraph(array('type' => 'object', 'title' => $category->getName(), 'url' => $category->getUrl(), 'description' => $category->getDescription()));
     if ($meta = @unserialize(Mage::helper('wordpress')->getWpOption('wpseo_taxonomy_meta'))) {
         if (isset($meta['category']) && isset($meta['category'][$category->getId()])) {
             $meta = new Varien_Object((array) $meta['category'][$category->getId()]);
             $this->_applyMeta(array('title' => $meta->getWpseoTitle(), 'description' => $meta->getWpseoDesc(), 'keywords' => $meta->getWpseoMetakey()));
             if ($meta->getWpseoCanonical()) {
                 $category->setCanonicalUrl($meta->getWpseoCanonical());
             }
             $this->_applyOpenGraph(array('title' => $meta->getWpseoTitle(), 'description' => $meta->getWpseoDesc(), 'url' => $category->getCanonicalUrl()));
         }
     }
     return $this;
 }
 /**
  * Category page
  *
  * @param Varien_Object $category
  */
 public function processRouteWordpressTermView($term)
 {
     $this->_applyMeta(array('title' => $this->getData('title_tax_' . $term->getTaxonomyType()), 'description' => $this->getData('metadesc_tax_' . $term->getTaxonomyType()), 'keywords' => $this->getData('metakey_tax_' . $term->getTaxonomyType()), 'robots' => $this->getData('noindex_tax_' . $term->getTaxonomyType()) ? 'noindex,follow' : ''));
     $this->_applyOpenGraph(array('type' => 'object', 'title' => $term->getName(), 'url' => $term->getUrl(), 'description' => $term->getDescription()));
     if ($meta = @unserialize(Mage::helper('wordpress')->getWpOption('wpseo_taxonomy_meta'))) {
         if (isset($meta[$term->getTaxonomyType()]) && isset($meta[$term->getTaxonomyType()][$term->getId()])) {
             $meta = new Varien_Object((array) $meta[$term->getTaxonomyType()][$term->getId()]);
             $this->_applyMeta(array('title' => $meta->getWpseoTitle(), 'description' => $meta->getWpseoDesc(), 'keywords' => $meta->getWpseoMetakey()));
             if ($meta->getWpseoCanonical()) {
                 $term->setCanonicalUrl($meta->getWpseoCanonical());
             }
             $this->_applyOpenGraph(array('title' => $meta->getWpseoTitle(), 'description' => $meta->getWpseoDesc(), 'url' => $term->getCanonicalUrl()));
         }
     }
     return $this;
 }