Title: Mat's Replies - page 3 | WordPress.org

---

# Mat

  [  ](https://wordpress.org/support/users/blocknotes/)

 *   [Profile](https://wordpress.org/support/users/blocknotes/)
 *   [Topics Started](https://wordpress.org/support/users/blocknotes/topics/)
 *   [Replies Created](https://wordpress.org/support/users/blocknotes/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/blocknotes/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/blocknotes/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/blocknotes/engagements/)
 *   [Favorites](https://wordpress.org/support/users/blocknotes/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 31 through 45 (of 83 total)

[←](https://wordpress.org/support/users/blocknotes/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/blocknotes/replies/?output_format=md) [2](https://wordpress.org/support/users/blocknotes/replies/page/2/?output_format=md)
3 [4](https://wordpress.org/support/users/blocknotes/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/blocknotes/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/blocknotes/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/blocknotes/replies/page/4/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polymer for WordPress] custom element](https://wordpress.org/support/topic/custom-element/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/custom-element/#post-5842225)
 * Good.
    ( if you like this plugin please consider to put some stars on the review
   🙂 )
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polymer for WordPress] custom element](https://wordpress.org/support/topic/custom-element/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/custom-element/#post-5842214)
 * Probably you missed only the right name of the block 🙂 “my-hello”
    I could put
   a warning somewhere to use the same one of the polymer-element and that a ‘-‘
   in the name is required by Polymer. It should work with these conditions.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polymer for WordPress] custom element](https://wordpress.org/support/topic/custom-element/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/custom-element/#post-5842213)
 * No problem. I tested personally your code and it worked.
 * Block name: my-hello
    Code:
 *     ```
       <polymer-element name="my-hello" noscript>
       <template>
       <h1>Hello</h1>
       </template>
       </polymer-element>
       ```
   
 * In a post I selected “my-hello” from “Import blocks” list (activated ad blue)
   
   Post content:
 *     ```
       TEST
       [poly paper-button raisedButton]Button[/poly]
       <my-hello></my-hello>
       ```
   
 * The polymer button works.
    The block works. I see: Hello (in H1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polymer for WordPress] custom element](https://wordpress.org/support/topic/custom-element/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/custom-element/#post-5842138)
 * Hi Junal.
    A polymer-element name requires a ‘-‘ Try using the name “my-hello”
   for example. Reference here: [https://www.polymer-project.org/docs/start/creatingelements.html](https://www.polymer-project.org/docs/start/creatingelements.html)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Featured Images] Is there a way to use "get_categories" to show the featured category image?](https://wordpress.org/support/topic/is-there-a-way-to-use-get_categories-to-show-the-featured-category-image/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/is-there-a-way-to-use-get_categories-to-show-the-featured-category-image/#post-5560844)
 * If you need the category link from the ID you could use get_category_link() function:
   
   [http://codex.wordpress.org/Function_Reference/get_category_link](http://codex.wordpress.org/Function_Reference/get_category_link)
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Category Featured Images] Cannot add featured image for custom categories](https://wordpress.org/support/topic/cannot-add-featured-image-for-custom-categories/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/cannot-add-featured-image-for-custom-categories/#post-7934251)
 * As explained in the forum: this is not possible because custom taxonomies has
   their own actions that depends on the taxonomy slug and my plugin needs to hook
   these actions to work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Featured Images] Is there a way to use "get_categories" to show the featured category image?](https://wordpress.org/support/topic/is-there-a-way-to-use-get_categories-to-show-the-featured-category-image/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/is-there-a-way-to-use-get_categories-to-show-the-featured-category-image/#post-5560842)
 * What do you mean with “link the image to the category”?
    The only way to select
   an image for a category with my plugin is to edit the category and choose an 
   image there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Featured Images] how to get URL of the image with category id from the database manually](https://wordpress.org/support/topic/how-to-get-url-of-the-image-with-category-id-from-the-database-manually/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-get-url-of-the-image-with-category-id-from-the-database-manually/#post-5827207)
 * Hi thamaraiselvam.
    I save the categories images id inside a WordPress option.
   If you want to see the source code of the plugin it is available to the public:
   [http://plugins.svn.wordpress.org/category-featured-images/trunk/](http://plugins.svn.wordpress.org/category-featured-images/trunk/)
 * My plugin doesn’t work with custom taxonomies because it requires 2 actions to
   work (‘edited_category’ and ‘category_edit_form’) and these actions in a custom
   taxonomy depends on the category slug.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Featured Images] Is there a way to use "get_categories" to show the featured category image?](https://wordpress.org/support/topic/is-there-a-way-to-use-get_categories-to-show-the-featured-category-image/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/is-there-a-way-to-use-get_categories-to-show-the-featured-category-image/#post-5560840)
 * If you have the IDs of the categories to skip you could just jump to the next
   category in the for loop…
 *     ```
       ...
       $cat = $category->term_id;
       if( $cat == 2 || $cat == 5 ) continue;
       ...
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polymer for WordPress] Not load html and scripts](https://wordpress.org/support/topic/not-load-html-and-scripts/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/not-load-html-and-scripts/#post-5806888)
 * Hi Bruno.
    It doesn’t work inside a PHP do_shortcode because I create the list
   of the imports while saving a post. If I make this list at runtime it will slow
   down the page loading (because I parse the post content). Perhaps I could add
   an option to force import some components. I will think about it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Featured Images] Does not work](https://wordpress.org/support/topic/does-not-work-395/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/does-not-work-395/#post-5760850)
 * Hi gnfb.
    I looked for Genesis theme but I don’t find it in the WordPress theme
   directory, so I can’t make a test. Virtually my plugin should work with any theme
   that shows the featured image in the standard way. I use it in my personal website
   and I also tested it with many common themes. I can’t help you, but if that plugin
   works for you it’s fine.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polymer for WordPress] Add custom polymer elements](https://wordpress.org/support/topic/add-custom-polymer-elements/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/add-custom-polymer-elements/#post-5753700)
 * Currently no.
    The main drawback that I see here is that it could be a security
   threat to allow any URL to be imported. I will think about adding it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polymer for WordPress] Add custom polymer elements](https://wordpress.org/support/topic/add-custom-polymer-elements/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/add-custom-polymer-elements/#post-5753669)
 * Hi Ykaribou.
    If you want to insert local elements you can use Blocks, as specified
   in the FAQ page of the plugin. Otherwise… you mean add an import like this: `
   <link rel="import" href="my-custom-element.html">` in HEAD tag?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Featured Images] Shortcode](https://wordpress.org/support/topic/shortcode-253/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/shortcode-253/#post-5703587)
 * I have just added ‘cat_id’ also to cfi_featured_image
    The update should be available
   shortly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category Featured Images] custom image size](https://wordpress.org/support/topic/custom-image-size-4/)
 *  Plugin Author [Mat](https://wordpress.org/support/users/blocknotes/)
 * (@blocknotes)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/custom-image-size-4/#post-5670480)
 * Hi darfil.
    Currently this is not possible directly but in PHP you could use “
   cfi_featured_image_url( array( ‘size’ => ‘large’ ) )” to get the image url, use
   it in a IMG tag and specify the size there.

Viewing 15 replies - 31 through 45 (of 83 total)

[←](https://wordpress.org/support/users/blocknotes/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/blocknotes/replies/?output_format=md) [2](https://wordpress.org/support/users/blocknotes/replies/page/2/?output_format=md)
3 [4](https://wordpress.org/support/users/blocknotes/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/blocknotes/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/blocknotes/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/blocknotes/replies/page/4/?output_format=md)