{"id":1015,"date":"2013-08-17T19:18:16","date_gmt":"2013-08-17T19:18:16","guid":{"rendered":"http:\/\/musilda.cz\/?p=1015"},"modified":"2013-08-17T19:18:16","modified_gmt":"2013-08-17T19:18:16","slug":"funkce-single_month_title","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/funkce-single_month_title\/","title":{"rendered":"Funkce single_month_title"},"content":{"rendered":"

Funkce single_month_title() vr\u00e1t\u00ed, nebo zobraz\u00ed m\u011bs\u00edc a rok v titulku str\u00e1nky. Tato funkce funguje pouze v p\u0159\u00edpad\u011b, \u017ee jde o v\u00fdpis arch\u00edvu m\u011bs\u00edce, v opa\u010dn\u00e9m p\u0159\u00edpad\u011b vr\u00e1t\u00ed false. Prefix automaticky nevytv\u00e1\u0159\u00ed mezeru mezi n\u00edm a titulkem, mezeru je pot\u0159eba vytvo\u0159it p\u0159\u00edmo v prefixu.<\/p>\n

Pou\u017e\u00edt\u00ed:<\/p>\n

\nsingle_month_title( $prefix, $display )\n<\/pre>\n

$prefix – definuje text, kter\u00fd se zobrazuje p\u0159ed m\u011bs\u00edcem i rokem.<\/p>\n

$display – definuje, zda funkce titulek rovnou vyp\u00ed\u0161e, nebo jej vr\u00e1t\u00ed jako prom\u011bnnou.<\/p>\n","protected":false},"excerpt":{"rendered":"

Funkce single_month_title() vr\u00e1t\u00ed, nebo zobraz\u00ed m\u011bs\u00edc a rok v titulku str\u00e1nky. Tato funkce funguje pouze v p\u0159\u00edpad\u011b, \u017ee jde o v\u00fdpis arch\u00edvu m\u011bs\u00edce, v opa\u010dn\u00e9m p\u0159\u00edpad\u011b vr\u00e1t\u00ed false. Prefix automaticky nevytv\u00e1\u0159\u00ed mezeru mezi n\u00edm a titulkem, mezeru je pot\u0159eba vytvo\u0159it p\u0159\u00edmo v prefixu.<\/p>\n","protected":false},"author":1,"featured_media":8523,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[7,22],"tags":[],"class_list":["post-1015","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codex","category-template-tags"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1015"}],"collection":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/comments?post=1015"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1015\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/8523"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}