62 reputation
16
bio website
location
age
visits member for 2 years, 6 months
seen Nov 21 at 10:06

Nov
19
comment Get shortcode from the content and display it in other place (in sidebar, for example)
Sorry, but I don't know how to display it using $tag[0] in my sidebar.
Nov
19
comment How to make my category archive behave like a page
Yes, that is the question.
Nov
18
revised Get shortcode from the content and display it in other place (in sidebar, for example)
added 37 characters in body
Nov
18
comment Get shortcode from the content and display it in other place (in sidebar, for example)
Ok. There is no errors now. But if I have [content_block position="top" colour="blue" size="medium"] your function remove the shortcode from the content. That is correct, but now I would like to save that shortcode to display it for example in the sidebar. How can I do it?
Nov
18
comment Get shortcode from the content and display it in other place (in sidebar, for example)
Thank you very much for your answer. But how can I display the shortcode in the sidebar?
Nov
18
comment Get shortcode from the content and display it in other place (in sidebar, for example)
Thanks for your answer, but the regular expression fails. The error is: "Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING"
Nov
18
asked Get shortcode from the content and display it in other place (in sidebar, for example)
Nov
18
comment How to make my category archive behave like a page
Thanks for your answer, but I want to edit the content: text, images... using the content editor. I don't want to modify my template files.
Nov
14
asked How to make my category archive behave like a page
Oct
30
comment How to restrict specific category posts from being read by specific user roles?
Any ideas about this question?
Oct
28
asked How to restrict specific category posts from being read by specific user roles?
Oct
16
accepted Permalinks when using Custom Post Type with static page for archive
Oct
16
comment Permalinks when using Custom Post Type with static page for archive
Thank you very much for your explanation. Now I understand better why WordPress works in this way.
Oct
16
comment Permalinks when using Custom Post Type with static page for archive
Perfect. It works like a charm :) Thank you very much.
Oct
15
comment Permalinks when using Custom Post Type with static page for archive
Great, it works.The problem now is that if I use: get_term_link, the links are like this example: "example.com/type/photography"; when I would like: "example.com/portfolio/photography";
Oct
15
comment Permalinks when using Custom Post Type with static page for archive
Thanks for your answer but I'm using a static page to list my portfolio posts, so when I register de CPT I put archive to false.
Oct
14
asked Permalinks when using Custom Post Type with static page for archive
Oct
3
accepted Custom Post Type with static page for archive
Oct
3
comment Custom Post Type with static page for archive
Perfect!! That was the problem. Thank you very much :)
Oct
3
awarded  Commentator