Ђорђе Марчетин
Forum Replies Created
-
I found the solution!
Change this:
if ($name == "LINK" && isset($attribs['HREF']) &&to this:
if ($this->insideitem && $name == "LINK" && isset($attribs['HREF']) &&Also if enabled Link to source first post from feed have link to
http://SOME-SITE/That is true for other posts than first.
But for first it pick first <link> in feed.
For example please try to import
http://themeforest.net/feeds/new-wordpress-slash-retail-items.atomand you will see that cyberseo_post_link custom field is not good for first imported post, it is <link>http://SOME-SITE/</link> not <link>http://SOME-SITE/postX</link> , it seem like it takes first <link> from feed and attach it to first post although it should pick <link> from <entry> not any first <link>.
I hope you understand what is my problem.Forum: Plugins
In reply to: [WP Web Scraper] Extract URL from hrefDoes any one have idea how to scrap URL from
<a href="URL" class="SOME-CLASS">link text</a>
any way?Forum: Plugins
In reply to: [mqTranslate] Category/WooCommerce category descriptionSo…
After few days of agony I have solved this by myself.
Maybe not perfect solution but it works for my woocommerce categories.
Just put this code in themes functions.phpif ( ! function_exists( 'woocommerce_taxonomy_archive_description' ) ) { function woocommerce_taxonomy_archive_description() { if ( is_tax( array( 'product_cat', 'product_tag' ) ) && get_query_var( 'paged' ) == 0 ) { $description = wpautop( do_shortcode( _e(term_description()) ) ); if ( $description ) { echo '<div class="term-description">' . $description . '</div>'; } } } }this part was crucial
_e(term_description())Forum: Plugins
In reply to: [mqTranslate] Category/WooCommerce category descriptionI am sure
__(instead_e(is the problem just for front-end but can not figure out how to solve that 🙁Forum: Plugins
In reply to: [mqTranslate] Category/WooCommerce category descriptionI still did not find any solution, can any one write me if know or have any idea how to solve this?!
Dev please help!!!!!
Forum: Plugins
In reply to: [mqTranslate] Category/WooCommerce category descriptionDoes this happened only to me or someone else have this problem to?
Nobody have solution?Forum: Plugins
In reply to: [mqTranslate] Category/WooCommerce category descriptionBut all that I have done on backup with older version of wp, but when update wp old mqTranslate cause an error.
Forum: Plugins
In reply to: [mqTranslate] Category/WooCommerce category descriptionAfter examineing I have remove mqTranslate Version 2.7.1.1 and install Version 2.7.1 and it is working now, so it is some bug in new version of mqTranslate.
Hi,
Great plugin!
Is the feature discussed here possible now?
Forum: Plugins
In reply to: [Attachments] Show all checked attachments on home pageI have manage to list attachments on home page as I wanted with little modified copy of attachments_get_attachments function , but now I get all attachments with checked new value HOME in some order.
My goal is to list only 25 attachments with value HOME in random order, so every time visitor refresh page gets different attachments.