Gilfillan: It’s an “i don’t know how to make websites” or something. but not wordpress.
Gilfillan: Reetika786 seemed to have a real problem but got swallowed in the imagemap swamp.
Malovich: I disabled it and changed the vcl recv parameter
Lauerman: Hope it help someone who use varnish
Gilfillan: This is a reason moderators are needed here.
Stacker: And again start varnish
Gilfillan: Remember, the “right thing” starts at the beginning of the day, not after you get caught.
Vasher: Anyone know if it’s possible to override / avoid auto incrementation of post slugs / post_name while using wp_insert_post of multiple custom post types? All the posts i’m creating have a parent with a unique name.but the children names / slugs need to be the same. i.e: /some-parent/child-name /some-other-parent/child-name
Uzelac: Currently “child-name” gets “child-name-1” etc
Bowthorpe: Sjobidoo: the post name has to be unique for a given post type and hierarchical parent. you would need to rethink the way you’re creating content, write rewrite rules, or otherwise. See http://----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.stackexchange.com/questions/7922/turn-off-postname-auto-incrementing#answer-7949
Berenson: Hi. Can I p*** a shortcode as attribute in another shortcode? Like this: shortcode1 a=”shortcode2 x=1”
Jacobson: I need shortcode1 to get a variable as one of it’s attribute. A query string parameter.
Gilfillan: Answer: no, it’s a mess. ;
Peretz: Bowthorpe: thanks.i’ll have a shot at answer #2 in the post as i need the given structure that is already set :
Ming: Sjobidoo: https://core.trac.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/ticket/2
Bowthorpe: Gustav1234x: don’t use another shortcode inside an attribute, just edit the main shortcode and process the query string parameter there, no?
Dulemba: It’s from a plugin I don’t want to change.
Bowthorpe: Gustav1234x: does that plugin offer a filter for you to modify the output?
Sawatzke: No, not that I’m aware.
Bowthorpe: Gustav1234x: well, you CAN use the shortcode_atts_{$shortcode} filter possibly
Bowthorpe: Which would be the cleanest approach it sounds like, based on your description
Bowthorpe: Oh, but their plugin would have to be expecting an attribute that you filter/p*** into it
Bowthorpe: So it’s either that, or a jQuery hack to change the content only when the query param exists, or something of that sort :
Bowthorpe: Output buffers, etc. :
Stidstone: I can’t change the attribute with jQuery, it’s processed server side?
Bowthorpe: Correct, so the attributes can be filtered with the filter I mentioned above
Basye: I don’t think there is a filter.
Bowthorpe: I just told you about one
Marnell: Sorry, it sounded like I had to change the plugin php source.
Bowthorpe: Oh no, it’s a filter provided by WP core for all shortcode attributes
Edelblute: Those changes just get overwritten if there’s an update to the plugin.
Arns: How to fetch category of a wordpress post
Rocco: ArtisanIndia: https://codex.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/Function_Reference/get_the_category_list
Rorick: Bowthorpe: Can I run PHP code inside pages without adding a plugin?
Ciucci: Bowthorpe: Or how do I use shortcode_atts_{$shortcode} ? I really just need to get $_GET’abc’
Slater: Gustav1234x: doyou know about Page Templates ?
Slater: Sorry, I haven’t been watching the conversation. just popped back in now.
Callez: I have tried get_the_category and get_the_terms both
Slater: But basically: I think there are plugins to help you execute php inside a page. but that is probably a bad idea
Slater: If you want to execute php from within a php, the best approach is probably to edit the Page Template of either a child theme or your custom theme