{"id":63710,"date":"2017-03-02T15:56:17","date_gmt":"2017-03-02T14:56:17","guid":{"rendered":"https:\/\/pl.wordpress.org\/support\/topic\/pytheas-portfolio_category-php\/"},"modified":"2017-03-02T16:01:36","modified_gmt":"2017-03-02T15:01:36","slug":"pytheas-portfolio_category-php","status":"publish","type":"topic","link":"https:\/\/pl.wordpress.org\/support\/topic\/pytheas-portfolio_category-php\/","title":{"rendered":"Pytheas &#8211; narzucona kategoria portfolio"},"content":{"rendered":"<p>Witam \ud83d\ude42 <\/p>\n<p>Korzystam z \u00f3w motywu &gt; https:\/\/justfreethemes.com\/pytheas-free-wordpress-theme\/<\/p>\n<p>Mam problem jednak poniewa\u017c sam modu\u0142\/skrypt portfolio mi si\u0119 podoba jednak przy tworzeniu w nim artyku\u0142u narzuca w adresie swoj\u0105 kategori\u0119 czyli www.mojastrona\/portfolio\/nazwaarta.<\/p>\n<p>Chcia\u0142bym \u017ceby tak zmieni\u0107 to w kodzie aby nie by\u0142o tego portfolio tylko po prostu www.mojastrona\/nazwaarta.<\/p>\n<p>Poni\u017cej <strong>taxonomy-portfolio_category.php <\/strong><\/p>\n<pre><code>&lt;?php\n\/**\n * The template for displaying Portfolio Categories\n *\n * Learn more: https:\/\/codex.wordpress.org\/Template_Hierarchy\n *\n * @package   Pytheas WordPress Theme\n * @author    Alexander Clarke\n * @copyright Copyright (c) 2015, WPExplorer.com\n * @link      http:\/\/www.wpexplorer.com\n * @since     1.0.0\n *\/\n\nget_header(); ?&gt;\n\n\t&lt;header class=&quot;page-header clr&quot;&gt;\n\t\t&lt;h1 class=&quot;page-header-title&quot;&gt;&lt;?php echo single_term_title(); ?\n\n&gt;&lt;\/h1&gt;\n\t\t&lt;?php if ( category_description() ) : ?&gt;\n\t\t\t&lt;div class=&quot;archive-meta&quot;&gt;&lt;?php echo term_description(); ?\n\n&gt;&lt;\/div&gt;\n\t\t&lt;?php endif; ?&gt;\n\t\t&lt;?php if ( wpex_get_option( &#039;portfolio_archive_filter&#039;, &#039;1&#039; ) ) : ?&gt;\n\t\t\t&lt;?php $posttype_obj = get_post_type_object( &#039;portfolio&#039; ); \n\n?&gt;\n\t\t\t&lt;?php $portfolio_terms = get_terms( &#039;portfolio_category&#039;, \n\narray( &#039;orderby&#039; =&gt; &#039;koncert&#039;, &#039;order&#039; =&gt; &#039;ASC&#039; ) ); ?&gt;\n\t\t\t&lt;?php if ( $portfolio_terms ) : ?&gt;\n\t\t\t\t&lt;ul class=&quot;tax-archives-filter dropdown-menu clr&quot;&gt;\n\t\t\t\t&lt;li class=&quot;browse&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;&lt;?php _e( \n\n&#039;Browse&#039;, &#039;pytheas&#039; ); ?&gt;&quot;&gt;&lt;?php _e( &#039;Browse&#039;, &#039;pytheas&#039; ); ?&gt; &lt;?php echo \n\n$posttype_obj-&gt;label; ?&gt;&lt;i class=&quot;fa fa-caret-down&quot;&gt;&lt;\/i&gt;&lt;\/a&gt;\n\t\t\t\t\t\t&lt;ul&gt;\n\t\t\t\t\t\t\t&lt;li&gt;&lt;a href=&quot;&lt;?php echo \n\nget_post_type_archive_link( &#039;koncert&#039; ); ?&gt;&quot; title=&quot;&lt;?php echo $posttype_obj-\n\n&gt;label; ?&gt;&quot; class=&quot;active&quot;&gt;&lt;?php _e( &#039;All&#039;, &#039;pytheas&#039; ); ?&gt;&lt;\/a&gt;&lt;\/li&gt;\n\t\t\t\t\t\t\t&lt;?php foreach( \n\n$portfolio_terms as $portfolio_term ) : ?&gt;\n\t\t\t\t\t\t\t\t&lt;li&gt;&lt;a href=&quot;&lt;?php \n\necho esc_url( get_term_link( $portfolio_term-&gt;slug, &#039;portfolio_category&#039; ) ); ?&gt;&quot; \n\ntitle=&quot;&lt;?php echo esc_attr( $portfolio_term-&gt;name ); ?&gt;&quot;&gt;&lt;?php echo esc_html( \n\n$portfolio_term-&gt;name ); ?&gt;&lt;\/a&gt;&lt;\/li&gt;\n\t\t\t\t\t\t\t&lt;?php endforeach; ?&gt;\n\t\t\t\t\t\t&lt;\/ul&gt;\n\t\t\t\t\t&lt;\/li&gt;\n\t\t\t\t&lt;\/ul&gt;&lt;!-- .tax-archives-filter --&gt;\n\t\t\t&lt;?php endif; ?&gt;\n\t\t&lt;?php endif; ?&gt;\n\t&lt;\/header&gt;&lt;!-- .page-heading --&gt;\n\n\t&lt;?php if ( have_posts( ) ) : ?&gt;\n\t\t&lt;div id=&quot;primary&quot; class=&quot;content-area span_24 row clr&quot;&gt;\n\t\t\t&lt;div id=&quot;content&quot; class=&quot;site-content&quot; role=&quot;main&quot;&gt;\n\t\t\t\t&lt;div class=&quot;portfolio-content row clr&quot;&gt;\n\t\t\t\t\t&lt;?php\n\t\t\t\t\t$wpex_count=0;\n\t\t\t\t\twhile ( have_posts() ) : the_post();\n\t\t\t\t\t\t$wpex_count++;\n\t\t\t\t\t\tget_template_part( &#039;content&#039;, \n\n&#039;portfolio&#039; );\n\t\t\t\t\t\tif ( $wpex_count == 4 ) {\n\t\t\t\t\t\t\techo &#039;&lt;div \n\nclass=&quot;clr&quot;&gt;&lt;\/div&gt;&#039;;\n\t\t\t\t\t\t\t$wpex_count=0;\n\t\t\t\t\t\t}\n\t\t\t\t\tendwhile; ?&gt;\n\t\t\t\t&lt;\/div&gt;&lt;!-- .portfolio-content --&gt;\n\t\t\t\t&lt;?php wpex_pagination(); ?&gt;\n\t\t\t&lt;\/div&gt;&lt;!-- #content --&gt;\n\t\t&lt;\/div&gt;&lt;!-- #primary --&gt;\n\t&lt;?php endif; ?&gt;\n\n&lt;?php get_footer(); ?&gt;<\/code><\/pre>\n<p>oraz <strong>portfolio.php<\/strong> <\/p>\n<pre><code>&lt;?php\nif ( ! class_exists( &#039;Symple_Portfolio_Post_Type&#039; ) ) :\n\tclass Symple_Portfolio_Post_Type {\n\n\t\tpublic function __construct() {\n\n\t\t\t\/\/ Adds the portfolio post type and taxonomies\n\t\t\tadd_action( &#039;init&#039;, array( &amp;$this, &#039;portfolio_init&#039; ), 0 );\n\n\t\t\t\/\/ Thumbnail support for portfolio posts\n\t\t\tadd_theme_support( &#039;post-thumbnails&#039;, array( &#039;portfolio&#039; ) );\n\n\t\t\t\/\/ Adds columns in the admin view for thumbnail and taxonomies\n\t\t\tadd_filter( &#039;manage_edit-portfolio_columns&#039;, array( &amp;$this, &#039;portfolio_edit_columns&#039; ) );\n\t\t\tadd_action( &#039;manage_portfolio_posts_custom_column&#039;, array( &amp;$this, &#039;portfolio_column_display&#039; ), 10, 2 );\n\n\t\t\t\/\/ Allows filtering of posts by taxonomy in the admin view\n\t\t\tadd_action( &#039;restrict_manage_posts&#039;, array( &amp;$this, &#039;portfolio_add_taxonomy_filters&#039; ) );\n\n\t\t}\n\n\t\tpublic function portfolio_init() {\n\t\t\t$labels = array(\n\t\t\t\t&#039;name&#039;\t\t\t\t\t=&gt; __( &#039;Portfolio&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;singular_name&#039;\t\t\t=&gt; __( &#039;Portfolio Item&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;add_new&#039;\t\t\t\t=&gt; __( &#039;Add New Item&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;add_new_item&#039;\t\t\t=&gt; __( &#039;Add New Portfolio Item&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;edit_item&#039;\t\t\t\t=&gt; __( &#039;Edit Portfolio Item&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;new_item&#039;\t\t\t\t=&gt; __( &#039;Add New Portfolio Item&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;view_item&#039;\t\t\t\t=&gt; __( &#039;View Item&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;search_items&#039;\t\t\t=&gt; __( &#039;Search Portfolio&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;not_found&#039;\t\t\t\t=&gt; __( &#039;No portfolio items found&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;not_found_in_trash&#039;\t=&gt; __( &#039;No portfolio items found in trash&#039;, &#039;pytheas&#039; )\n\t\t\t);\n\t\t\t\n\t\t\t$args = array(\n\t\t\t\t&#039;labels&#039;\t\t\t=&gt; $labels,\n\t\t\t\t&#039;public&#039;\t\t\t=&gt; true,\n\t\t\t\t&#039;supports&#039;\t\t\t=&gt; array( &#039;title&#039;, &#039;editor&#039;, &#039;excerpt&#039;, &#039;thumbnail&#039;, &#039;comments&#039;, &#039;custom-fields&#039;, &#039;revisions&#039;, &#039;post-formats&#039; ),\n\t\t\t\t&#039;capability_type&#039;\t=&gt; &#039;post&#039;,\n\t\t\t\t&#039;rewrite&#039;\t\t\t=&gt; array( &quot;slug&quot; =&gt; &quot;portfolio&quot; ), \/\/ Permalinks format\n\t\t\t\t&#039;has_archive&#039;\t\t=&gt; true,\n\t\t\t\t&#039;menu_icon&#039;\t\t\t=&gt; &#039;dashicons-portfolio&#039;,\n\t\t\t); \n\t\t\t\n\t\t\t$args = apply_filters(&#039;symple_portfolio_args&#039;, $args);\n\t\t\t\n\t\t\tregister_post_type( &#039;portfolio&#039;, $args );\n\n\t\t\t$taxonomy_portfolio_tag_labels = array(\n\t\t\t\t&#039;name&#039;\t\t\t\t\t\t\t=&gt; __( &#039;Portfolio Tags&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;singular_name&#039;\t\t\t\t\t=&gt; __( &#039;Portfolio Tag&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;search_items&#039;\t\t\t\t\t=&gt; __( &#039;Search Portfolio Tags&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;popular_items&#039;\t\t\t\t\t=&gt; __( &#039;Popular Portfolio Tags&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;all_items&#039;\t\t\t\t\t\t=&gt; __( &#039;All Portfolio Tags&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;parent_item&#039;\t\t\t\t\t=&gt; __( &#039;Parent Portfolio Tag&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;parent_item_colon&#039;\t\t\t\t=&gt; __( &#039;Parent Portfolio Tag:&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;edit_item&#039;\t\t\t\t\t\t=&gt; __( &#039;Edit Portfolio Tag&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;update_item&#039;\t\t\t\t\t=&gt; __( &#039;Update Portfolio Tag&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;add_new_item&#039;\t\t\t\t\t=&gt; __( &#039;Add New Portfolio Tag&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;new_item_name&#039;\t\t\t\t\t=&gt; __( &#039;New Portfolio Tag Name&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;separate_items_with_commas&#039;\t=&gt; __( &#039;Separate portfolio tags with commas&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;add_or_remove_items&#039;\t\t\t=&gt; __( &#039;Add or remove portfolio tags&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;choose_from_most_used&#039;\t\t\t=&gt; __( &#039;Choose from the most used portfolio tags&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;menu_name&#039;\t\t\t\t\t\t=&gt; __( &#039;Portfolio Tags&#039;, &#039;pytheas&#039; )\n\t\t\t);\n\n\t\t\t$taxonomy_portfolio_tag_args = array(\n\t\t\t\t&#039;labels&#039;\t\t\t\t=&gt; $taxonomy_portfolio_tag_labels,\n\t\t\t\t&#039;public&#039;\t\t\t\t=&gt; true,\n\t\t\t\t&#039;show_in_nav_menus&#039;\t\t=&gt; true,\n\t\t\t\t&#039;show_ui&#039;\t\t\t\t=&gt; true,\n\t\t\t\t&#039;show_tagcloud&#039;\t\t\t=&gt; true,\n\t\t\t\t&#039;hierarchical&#039;\t\t\t=&gt; false,\n\t\t\t\t&#039;rewrite&#039;\t\t\t\t=&gt; array( &#039;slug&#039;\t=&gt; &#039;portfolio-tag&#039; ),\n\t\t\t\t&#039;query_var&#039;\t\t\t\t=&gt; true\n\t\t\t);\n\n\t\t\t$taxonomy_portfolio_tag_args = apply_filters(&#039;symple_taxonomy_portfolio_tag_args&#039;, $taxonomy_portfolio_tag_args);\n\t\t\t\n\t\t\tregister_taxonomy( &#039;portfolio_tag&#039;, array( &#039;portfolio&#039; ), $taxonomy_portfolio_tag_args );\n\n\t\t\t$taxonomy_portfolio_category_labels = array(\n\t\t\t\t&#039;name&#039;\t\t\t\t\t\t\t=&gt; __( &#039;Portfolio Categories&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;singular_name&#039;\t\t\t\t\t&gt; __( &#039;Portfolio Category&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;search_items&#039;\t\t\t\t\t=&gt; __( &#039;Search Portfolio Categories&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;popular_items&#039;\t\t\t\t\t=&gt; __( &#039;Popular Portfolio Categories&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;all_items&#039;\t\t\t\t\t\t=&gt; __( &#039;All Portfolio Categories&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;parent_item&#039;\t\t\t\t\t=&gt; __( &#039;Parent Portfolio Category&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;parent_item_colon&#039;\t\t\t\t=&gt; __( &#039;Parent Portfolio Category:&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;edit_item&#039;\t\t\t\t\t\t=&gt; __( &#039;Edit Portfolio Category&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;update_item&#039;\t\t\t\t\t=&gt; __( &#039;Update Portfolio Category&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;add_new_item&#039;\t\t\t\t\t=&gt; __( &#039;Add New Portfolio Category&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;new_item_name&#039;\t\t\t\t\t=&gt; __( &#039;New Portfolio Category Name&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;separate_items_with_commas&#039;\t=&gt; __( &#039;Separate portfolio categories with commas&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;add_or_remove_items&#039;\t\t\t=&gt; __( &#039;Add or remove portfolio categories&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;choose_from_most_used&#039;\t\t\t=&gt; __( &#039;Choose from the most used portfolio categories&#039;, &#039;pytheas&#039; ),\n\t\t\t\t&#039;menu_name&#039;\t\t\t\t\t\t=&gt; __( &#039;Portfolio Categories&#039;, &#039;pytheas&#039; ),\n\t\t\t);\n\n\t\t\t$taxonomy_portfolio_category_args = array(\n\t\t\t\t&#039;labels&#039;\t\t\t\t=&gt; $taxonomy_portfolio_category_labels,\n\t\t\t\t&#039;public&#039;\t\t\t\t=&gt; true,\n\t\t\t\t&#039;show_in_nav_menus&#039;\t\t=&gt; true,\n\t\t\t\t&#039;show_ui&#039;\t\t\t\t=&gt; true,\n\t\t\t\t&#039;show_tagcloud&#039;\t\t\t=&gt; true,\n\t\t\t\t&#039;hierarchical&#039;\t\t\t=&gt; true,\n\t\t\t\t&#039;rewrite&#039;\t\t\t\t=&gt; array( &#039;slug&#039;\t=&gt; &#039;portfolio-category&#039; ),\n\t\t\t\t&#039;query_var&#039;\t\t\t\t=&gt; true,\n\t\t\t);\n\n\t\t\t$taxonomy_portfolio_category_args = apply_filters(&#039;symple_taxonomy_portfolio_category_args&#039;, $taxonomy_portfolio_category_args);\n\t\t\t\n\t\t\tregister_taxonomy( &#039;portfolio_category&#039;, array( &#039;portfolio&#039; ), $taxonomy_portfolio_category_args );\n\n\t\t}\n\n\t\tpublic function portfolio_edit_columns( $columns ) {\n\t\t\t$columns[&#039;portfolio_category&#039;] = __( &#039;Category&#039;, &#039;pytheas&#039; );\n\t\t\t$columns[&#039;portfolio_tag&#039;] = __( &#039;Tags&#039;, &#039;pytheas&#039; );\n\t\t\treturn $columns;\n\t\t}\n\n\t\tpublic function portfolio_column_display( $column, $post_id ) {\n\n\t\t\t\/\/ Code from: http:\/\/wpengineer.com\/display-post-thumbnail-post-page-overview\n\n\t\t\tswitch ( $column ) {\n\n\t\t\t\t\/\/ Display the thumbnail in the column view\n\t\t\t\tcase &quot;portfolio_thumbnail&quot;:\n\t\t\t\t\t$width = (int) 80;\n\t\t\t\t\t$height = (int) 80;\n\t\t\t\t\t$thumbnail_id = get_post_meta( $post_id, &#039;_thumbnail_id&#039;, true );\n\n\t\t\t\t\t\/\/ Display the featured image in the column view if possible\n\t\t\t\t\tif ( $thumbnail_id ) {\n\t\t\t\t\t\t$thumb = wp_get_attachment_image( $thumbnail_id, array($width, $height), true );\n\t\t\t\t\t}\n\t\t\t\t\tif ( isset( $thumb ) ) {\n\t\t\t\t\t\techo $thumb;\n\t\t\t\t\t} else {\n\t\t\t\t\t\techo __(&#039;None&#039;, &#039;pytheas&#039;);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\t\/\/ Display the portfolio tags in the column view\n\t\t\t\tcase &quot;portfolio_category&quot;:\n\n\t\t\t\tif ( $category_list = get_the_term_list( $post_id, &#039;portfolio_category&#039;, &#039;&#039;, &#039;, &#039;, &#039;&#039; ) ) {\n\t\t\t\t\techo $category_list;\n\t\t\t\t} else {\n\t\t\t\t\techo __(&#039;None&#039;, &#039;pytheas&#039;);\n\t\t\t\t}\n\t\t\t\tbreak;\t\n\n\t\t\t\t\/\/ Display the portfolio tags in the column view\n\t\t\t\tcase &quot;portfolio_tag&quot;:\n\n\t\t\t\tif ( $tag_list = get_the_term_list( $post_id, &#039;portfolio_tag&#039;, &#039;&#039;, &#039;, &#039;, &#039;&#039; ) ) {\n\t\t\t\t\techo $tag_list;\n\t\t\t\t} else {\n\t\t\t\t\techo __(&#039;None&#039;, &#039;pytheas&#039;);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tpublic function portfolio_add_taxonomy_filters() {\n\t\t\tglobal $typenow;\n\n\t\t\t\/\/ An array of all the taxonomyies you want to display. Use the taxonomy name or slug\n\t\t\t$taxonomies = array( &#039;portfolio_category&#039;, &#039;portfolio_tag&#039; );\n\n\t\t\t\/\/ must set this to the post type you want the filter(s) displayed on\n\t\t\tif ( $typenow == &#039;portfolio&#039; ) {\n\n\t\t\t\tforeach ( $taxonomies as $tax_slug ) {\n\t\t\t\t\t$current_tax_slug = isset( $_GET[$tax_slug] ) ? $_GET[$tax_slug] : false;\n\t\t\t\t\t$tax_obj = get_taxonomy( $tax_slug );\n\t\t\t\t\t$tax_name = $tax_obj-&gt;labels-&gt;name;\n\t\t\t\t\t$terms = get_terms($tax_slug);\n\t\t\t\t\tif ( count( $terms ) &gt; 0) {\n\t\t\t\t\t\techo &quot;&lt;select name=&#039;$tax_slug&#039; id=&#039;$tax_slug&#039; class=&#039;postform&#039;&gt;&quot;;\n\t\t\t\t\t\techo &quot;&lt;option value=&#039;&#039;&gt;$tax_name&lt;\/option&gt;&quot;;\n\t\t\t\t\t\tforeach ( $terms as $term ) {\n\t\t\t\t\t\t\techo &#039;&lt;option value=&#039; . $term-&gt;slug, $current_tax_slug == $term-&gt;slug ? &#039; selected=&quot;selected&quot;&#039; : &#039;&#039;,&#039;&gt;&#039; . $term-&gt;name .&#039; (&#039; . $term-&gt;count .&#039;)&lt;\/option&gt;&#039;;\n\t\t\t\t\t\t}\n\t\t\t\t\t\techo &quot;&lt;\/select&gt;&quot;;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\n\tnew Symple_Portfolio_Post_Type;\n\nendif;<\/code><\/pre>\n<p>Dzi\u0119kuj\u0119 z g\u00f3ry za pomoc \ud83d\ude42<\/p>\n","protected":false},"template":"","class_list":["post-63710","topic","type-topic","status-publish","hentry","topic-tag-kategoria","topic-tag-link","topic-tag-portfolio","topic-tag-pytheas"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/63710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/63710\/revisions"}],"predecessor-version":[{"id":63711,"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/63710\/revisions\/63711"}],"wp:attachment":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=63710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}