Title: Code Amp's Replies - page 14 | WordPress.org

---

# Code Amp

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 196 through 210 (of 415 total)

[←](https://wordpress.org/support/users/codeamp/replies/page/13/?output_format=md)
[1](https://wordpress.org/support/users/codeamp/replies/?output_format=md) [2](https://wordpress.org/support/users/codeamp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codeamp/replies/page/3/?output_format=md)…
[13](https://wordpress.org/support/users/codeamp/replies/page/13/?output_format=md)
14 [15](https://wordpress.org/support/users/codeamp/replies/page/15/?output_format=md)…
[26](https://wordpress.org/support/users/codeamp/replies/page/26/?output_format=md)
[27](https://wordpress.org/support/users/codeamp/replies/page/27/?output_format=md)
[28](https://wordpress.org/support/users/codeamp/replies/page/28/?output_format=md)
[→](https://wordpress.org/support/users/codeamp/replies/page/15/?output_format=md)

 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Search & Filter] Don’t buy it](https://wordpress.org/support/topic/dont-buy-it-9/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/dont-buy-it-9/#post-15243657)
 * Hey [@vgsvenice](https://wordpress.org/support/users/vgsvenice/)
 * Sorry to hear you’ve had such a negative experience…
 * The pro version adds some extra features (which bring technical challenges) because
   it support things like custom fields, ajax searching, DB optimized queries + 
   cache and more.
 * However I realise you’ve had pain points with the plugin, and we’re already (
   2+ years in the making) working on addressing the UI to make it easier and more
   intuitive to use.
 * Not only that, we’re also adding the features you mentioned, so you’ll be able
   to change color schemes of your fields using a visual editor we’re building (
   + more design options such as spacing, border, padding and fonts will follow 
   later in the year).
 * Thanks for your feedback, I do hope you’ll give us another go in the future.
    -  This reply was modified 4 years, 5 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Shadows around boxes?](https://wordpress.org/support/topic/shadows-around-boxes/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/shadows-around-boxes/#post-15188051)
 * Hey [@dsl225](https://wordpress.org/support/users/dsl225/)
 * Thanks, I did miss this.
 * Its planned to add this as a feature but we have quite a few other things to 
   work on first.
 * Once certain parts of our UI are a bit more stable (we’re reworking some of this)
   we’ll look to how we can incorperate this kindof functionality.
 * Best
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Custom Layouts - Post + Product grids made easy] Does just what’s needed, will give another star when I can…](https://wordpress.org/support/topic/does-just-whats-needed-will-give-another-star-when-i-can/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/does-just-whats-needed-will-give-another-star-when-i-can/#post-15188040)
 * Thanks for the review [@tylertork](https://wordpress.org/support/users/tylertork/)–
   hopefully in a few months (after a big update we’re working towards) we’ll get
   to add this in.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Custom Fields No Longer Working](https://wordpress.org/support/topic/custom-fields-no-longer-working-2/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/custom-fields-no-longer-working-2/#post-15188029)
 * Hi [@sinnamon](https://wordpress.org/support/users/sinnamon/)
 * I did test our custom field, and it seems to work well.
 * I tried all types – Text, Number, Date, Link, HTML – and it seems to work ok 
   for me.
 * I don’t think this would make much difference but you could try our 1.4.6 beta(
   it only has a couple of unrelated bug fixes) but it’s worth a shot:
    [https://customlayouts.com/documentation/beta/](https://customlayouts.com/documentation/beta/)
 * If that doesn’t work, then I’ll need to access the issue somehow – can you try
   that using one the links I provided?
 * Also: did you try this on a dev / test install to confirm the issue is reproducible?
 * Thanks
    -  This reply was modified 4 years, 5 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).
    -  This reply was modified 4 years, 5 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Query for selecting specific posts by ID](https://wordpress.org/support/topic/query-for-selecting-specific-posts-by-id/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/query-for-selecting-specific-posts-by-id/#post-15165474)
 * Ahhh John! yes I should have known better..! Thanks for those reviews it means
   a lot 🙂
 * Regarding the above filter, it still works with Gutenberg and blocks, its just
   they don’t get a Layout ID passed down as the second parameter.
 * So you couldn’t apply the conditions based on ID, like this line:
 * `if ( absint( $layout_id ) === 123 ) {`
 * Instead you could test against the current post / page or another wordpress conditional
   tag – eg:
 * `if ( is_page( 'contact' ) ) {`
 * More info on conditional tags: [https://codex.wordpress.org/Conditional_Tags](https://codex.wordpress.org/Conditional_Tags)
    -  This reply was modified 4 years, 5 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Layout with text section partly inside top image](https://wordpress.org/support/topic/layout-with-text-section-partly-inside-top-image/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/layout-with-text-section-partly-inside-top-image/#post-15163520)
 * 😀 Glad that all worked out for you in the end!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Nice, but a couple requests](https://wordpress.org/support/topic/nice-but-a-couple-requests/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/nice-but-a-couple-requests/#post-15163505)
 * Hey [@tylertork](https://wordpress.org/support/users/tylertork/)
 * Thanks for the feedback!
 * Regarding your requests:
 * 1. Use the background of the page – this is already possible 🙂 See this gif 
   I just made so you can see which setting to change:
    [https://drive.google.com/file/d/1ZhY-u6hB-pb0N6FDXJAij2C13EDkd9Gh/view?usp=sharing](https://drive.google.com/file/d/1ZhY-u6hB-pb0N6FDXJAij2C13EDkd9Gh/view?usp=sharing)
 * 2. You’re right on this – we should add an option to hide the image completely
   if no image is found – I’ll put that on the todo list!
 * We already have on the roadmap to add the ability to set a custom image.
 * Regarding the number requests, there should hopefully only be one extra – for
   our placeholder SVG – not ideal, but hopefully not too taxing.
 * All the best
    – Ross
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Html code on title](https://wordpress.org/support/topic/html-code-on-title/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/html-code-on-title/#post-15163483)
 * Hi Mark
 * I’m afraid this won’t be fixable.
 * Essentially, all the characters in a post title are supposed to be displayed 
   on a website.
 * 2 main reasons for this:
    – What if a user wants to enter special characters 
   in their title – we must display them – Security – all data must be escaped before
   displaying, and this is why you see the html output instead
 * Another thing to consider is, what would be the page title (in your browsers 
   title) when adding in these codes? I guess they should be invisible… but they
   are also not supported in the post title.
 * All in all, this is not supported by WordPress, and also because we match that,
   our plugin.
 * What you could do is (if you can do some coding) is to use a PHP filter to change
   the the text inside the element.
 * The hook for that can be found here:
    [https://customlayouts.com/documentation/action-filter-reference/](https://customlayouts.com/documentation/action-filter-reference/)
 * You would want to use the one:
 *     ```
       add_filter( 'custom-layouts/element/render_output', 'cl_element_render_output', 10, 2 );
       ```
   
 * Then you can completely change the html / text inside any element programmatically.
 * I realise that might not be what you wanted exactly, but these are the current
   limitations regarding this request.
 * All the best
    – Ross
    -  This reply was modified 4 years, 5 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).
    -  This reply was modified 4 years, 5 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Query for selecting specific posts by ID](https://wordpress.org/support/topic/query-for-selecting-specific-posts-by-id/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/query-for-selecting-specific-posts-by-id/#post-15163464)
 * Hey John
 * As I now know you are not using the block editor, then you can modify it like
   this:
 *     ```
       add_filter( 'custom-layouts/layout/query_args', 'layout_query_args_15156524', 10, 2 );
   
       function layout_query_args_15156524( $query_args, $layout_id ) {
       	if ( absint( $layout_id ) === 123 ) {
       		$query_args['post__in'] = array( 1, 2, 3, 4, 5 );
       	}
       	return $query_args;
       }
       ```
   
 * In this example, you would change `123` for the layout ID you do want to be affected(
   when you edit a layout, you can find the ID in the address bar).
 * Let me know how you get on with that?
 * Thanks
 * —-
 * BTW, if you feel like leaving a review it would be appreciated – [https://wordpress.org/support/plugin/custom-layouts/reviews/](https://wordpress.org/support/plugin/custom-layouts/reviews/)
   😀
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Query for selecting specific posts by ID](https://wordpress.org/support/topic/query-for-selecting-specific-posts-by-id/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/query-for-selecting-specific-posts-by-id/#post-15156996)
 * Hey [@dsl225](https://wordpress.org/support/users/dsl225/)
 * What you would need to do is add the following code:
 *     ```
       add_filter( 'custom-layouts/layout/query_args', 'layout_query_args_15156524', 10 );
   
       function layout_query_args_15156524( $query_args ) {
       	$query_args['post__in'] = array( 1, 2, 3, 4, 5 );
       	return $query_args;
       }
       ```
   
 * This would then restrict to your layout to 5 results with the IDs – 1, 2, 3, 
   4, 5
 * If you are using multiple layouts, this would affect all of them.
 * There is more code we can add in to make sure we only affect one layout, if required.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Layout with text section partly inside top image](https://wordpress.org/support/topic/layout-with-text-section-partly-inside-top-image/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/layout-with-text-section-partly-inside-top-image/#post-15156983)
 * Ahhh ok, then I think what you’ll need to do is, enable the featured image, position
   it to top (and remove the background image).
 * Then you should get what I’m experiencing.
 * You can even make the margin more negative so that the featured image “feels”
   like a background image.
 * Does that make sense?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Custom Fields No Longer Working](https://wordpress.org/support/topic/custom-fields-no-longer-working-2/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-no-longer-working-2/#post-15155825)
 * Hey [@sinnamon](https://wordpress.org/support/users/sinnamon/)
 * Sorry to hear you’re having this issue.
 * I’m going to do a full test of this functionality in our plugin tomorrow – I 
   will report back my findings and if I am able to recreate.
 * Regarding an email – I’m afraid I think its against WordPress forum rules to 
   ask / provide info here – I’ve been told off for this before!
 * What might work is to recreate the issue on a dev site? If you can’t easily set
   one up, there are a couple of services I’ve used before that seem to do a great
   job of generating (free) throw away WordPress sites:
 * [https://tastewp.com/](https://tastewp.com/)
    [https://instawp.io/](https://instawp.io/)
 * ** I think some of these sites get destroyed automatically after 8 hours on free
   accounts, so if you go that route, lets arrange a time I can be available to 
   take a look?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Layout with text section partly inside top image](https://wordpress.org/support/topic/layout-with-text-section-partly-inside-top-image/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/layout-with-text-section-partly-inside-top-image/#post-15155815)
 * Hey again [@dsl225](https://wordpress.org/support/users/dsl225/)
 * Yeah I think you can do this.
 * To explain a little bit about the structure of our templates at the moment:
 * 1. Everything is contained in an ourter container, the **Template**.
    2. If you
   have the featured image enabled, you then have two containers – **featured media**,
   and **section** 3. Inside the section, are where all your other elements appear
   when you add them / drag them on to the template
 * So, what you want to do is:
    1. Carefully select **section** 2. Edit the margins
   to add spacing to the side 3. Add negative margin to the top
 * Heres a little GIF I made of the process: [https://drive.google.com/file/d/1fD2NnDeX_hSz_1Np76vakiPZO-1MLkCb/view?usp=sharing](https://drive.google.com/file/d/1fD2NnDeX_hSz_1Np76vakiPZO-1MLkCb/view?usp=sharing)
 * I actually thought you would have to do this with CSS + custom classes, but it
   looks like the negative margin in our UI works just fine!
 * Let me know if that works out ok for you.
 * Best
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Query for selecting specific posts by ID](https://wordpress.org/support/topic/query-for-selecting-specific-posts-by-id/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/query-for-selecting-specific-posts-by-id/#post-15155798)
 * Hey [@dsl225](https://wordpress.org/support/users/dsl225/)
 * I think what you want might be possible… there are two routes I see:
 * **1.** You can place individual post templates, and choose them by ID.
 * Via gutenberg: You can place multiple post template blocks (there is a search
   box to find which post to choose)
 * Via our admin screen with the template editor: you will see on the right a metabox,
   for a shortcode for that post template. You can replace the post ID with any 
   ID you choose
 * **2. **You could modify the query using a hook (you’d need to be comfortable 
   doing a bit of php coding to get what you want) – this is the hook you would 
   want:
    `add_filter( 'custom-layouts/layout/query_args', 'layout_query_args', 
   10 );` Found: [https://customlayouts.com/documentation/action-filter-reference/](https://customlayouts.com/documentation/action-filter-reference/)
 * You can add a `$query_args['post__in'] = array( 1, 2, 3, 4, 5 );` to specify 
   IDs of posts to display.
 * I hope that helps!
 * Best
    -  This reply was modified 4 years, 6 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).
    -  This reply was modified 4 years, 6 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Layouts - Post + Product grids made easy] Custom Fields No Longer Working](https://wordpress.org/support/topic/custom-fields-no-longer-working-2/)
 *  Plugin Author [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-no-longer-working-2/#post-15146537)
 * Hey [@sinnamon](https://wordpress.org/support/users/sinnamon/)
 * That sounds odd indeed.
 * From what I can tell, nothing regarding our custom field element was changed 
   in our recent updates – so it does sound odd its not working – but maybe a change
   has eluded me.
 * To get to the bottom of this can you confirm a couple of things?
 * 1. Edit the yoga posts in question and double check the custom field is there
   with a value
 * 2. Double check the custom field key – if you are using ACF to create custom 
   fields, then this uses 3 keys for any custom field:
 *     ```
       _my_custom_field
       my_custom_field
       field_123456
       ```
   
 * What you would need is the second version, without the underscore: `my_custom_field`–
   but its possible you’re not using ACF
 * 3. Can you share a link to the page in question?
 * Thanks

Viewing 15 replies - 196 through 210 (of 415 total)

[←](https://wordpress.org/support/users/codeamp/replies/page/13/?output_format=md)
[1](https://wordpress.org/support/users/codeamp/replies/?output_format=md) [2](https://wordpress.org/support/users/codeamp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codeamp/replies/page/3/?output_format=md)…
[13](https://wordpress.org/support/users/codeamp/replies/page/13/?output_format=md)
14 [15](https://wordpress.org/support/users/codeamp/replies/page/15/?output_format=md)…
[26](https://wordpress.org/support/users/codeamp/replies/page/26/?output_format=md)
[27](https://wordpress.org/support/users/codeamp/replies/page/27/?output_format=md)
[28](https://wordpress.org/support/users/codeamp/replies/page/28/?output_format=md)
[→](https://wordpress.org/support/users/codeamp/replies/page/15/?output_format=md)