Title: AACT's Replies | WordPress.org

---

# AACT

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 104 total)

1 [2](https://wordpress.org/support/users/aact/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/aact/replies/page/3/?output_format=md) …
[5](https://wordpress.org/support/users/aact/replies/page/5/?output_format=md) [6](https://wordpress.org/support/users/aact/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/aact/replies/page/7/?output_format=md) [→](https://wordpress.org/support/users/aact/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shortcode Exec PHP] mysql_fetch_assoc error](https://wordpress.org/support/topic/mysql_fetch_assoc-error/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/mysql_fetch_assoc-error/#post-6543616)
 * Hi, I don’t think this is a problem with this plugin.
 * Take a look at the syntax of your query – did you mean to use curly brackets?
   I don’t know anything about mysql but have seen round brackets before.
 * A couple of things might help. Put var_dump calls in for debugging to see exactly
   what you are getting returned from your mysql call. Have you considered not going
   direct to the database but using WordPress’s built in WP query functionality?
   It might be easier.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Styling output that includes customfield on one line](https://wordpress.org/support/topic/styling-output-that-includes-customfield-on-one-line/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/styling-output-that-includes-customfield-on-one-line/#post-6359240)
 * You just need to get the divs displaying on one line so you need CSS something
   like this:
 * #lcp_instance_0 div {display:inline;}
 * you may want to set right margins too to get the right space between them.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Separate line for excerpt](https://wordpress.org/support/topic/separate-line-for-excerpt/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/separate-line-for-excerpt/#post-6399083)
 * ..I meant to say “You probably don’t need PHP”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Separate line for excerpt](https://wordpress.org/support/topic/separate-line-for-excerpt/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/separate-line-for-excerpt/#post-6399082)
 * Can you show us the catlist call you are making? Look under Other Notes to see
   the sort of tags you can put around things. A div around the excerpt may do what
   you want, or you may need to use some CSS (e.g. to get the sort of space you 
   want between title and excerpt). You don’t need PHP.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Duplicate of contain](https://wordpress.org/support/topic/duplicate-of-contain/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/duplicate-of-contain/#post-6401829)
 * Hi, could you explain what you mean by ‘doubloon’? Also, could you post the catlist
   call you are making on a page so we can see what you are trying to do. Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Display featured image as background image](https://wordpress.org/support/topic/display-featured-image-as-background-image/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/display-featured-image-as-background-image/#post-6448710)
 * Something very odd has happened to the formatting of this set of posts. I am 
   reposting my reply from above in the hopes this will put things back into the
   right format:
 * Do you need to use get_the_post_thumbnail to get the right URL? [see the WordPress
   Codex for details of its parameters].
 * Your code may have posted a bit strangely so I’m not sure I can quite work out
   what is happening with your quotes and apostrophes, you may need to check those
   as well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Display featured image as background image](https://wordpress.org/support/topic/display-featured-image-as-background-image/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/display-featured-image-as-background-image/#post-6448709)
 * Do you need to use get_the_post_thumbnail to get the right URL? [see the WordPress
   Codex for details of its parameters].
 * Your code may have posted a bit strangely so I’m not sure I can quite work out
   what is happening with your quotes and apostrophes, you may need to check those
   as well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Custom POst TYpes](https://wordpress.org/support/topic/custom-post-types-223/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/custom-post-types-223/#post-6300764)
 * cosmocanuck, That type of use works fine for me, but we are using a very old 
   version of List Category Posts, and maybe there is a problem with more recent
   versions of the plugin?
 * Perhaps the author could advise?
 * Does it work for you if you use name=<name of category> rather than id=16?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Listing posts from multiple categories](https://wordpress.org/support/topic/listing-posts-from-multiple-categories/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/listing-posts-from-multiple-categories/page/2/#post-6206031)
 * Ah yes, it may be things are working for us (including with templates) because
   we dare not update to later versions of the plugin (we are on version 0.51 !!)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Really need some space between post listings](https://wordpress.org/support/topic/really-need-some-space-between-post-listings/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/really-need-some-space-between-post-listings/#post-6389084)
 * bigwavemaui, if you can tell us the url I’ll take a look and see why .lcp_catlist
   li isn’t working for you.
 * It looks as though it’s working for rmiller3000’s site which has
 * .lcp_catlist li {
    margin-top: 15px; }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shortcode Exec PHP] Shortcode on content not working after WordPress 4.2.3 update](https://wordpress.org/support/topic/shortcode-on-content-not-working-after-wordpress-423-update/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-on-content-not-working-after-wordpress-423-update/#post-6357391)
 * We had the same problem. If you don’t want to change the shortcode in the way
   hunsford suggests, it looks as though you have to explicitly allow the shortcode
   expansion in the input.
 * See
    [http://wordpress.stackexchange.com/questions/195665/why-do-shortcode-is-not-executing-the-shortcode-in-data-html-attributes/195673#195673](http://wordpress.stackexchange.com/questions/195665/why-do-shortcode-is-not-executing-the-shortcode-in-data-html-attributes/195673#195673)
 * This advises putting the following in functions.php
 * add_filter( ‘wp_kses_allowed_html’, function ( $allowedposttags, $context ) {
   
   if ( $context == ‘post’ ) { $allowedposttags[‘a’][‘data-abc’] = 1; } return $
   allowedposttags; }, 10, 2 );
 * This has worked for us.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] HTML customization not working](https://wordpress.org/support/topic/html-customization-not-working/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/html-customization-not-working/#post-6315746)
 * Hi, did you try title_tag instead of just tag? See the plugin’s Other Notes for
   more detail.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Really need some space between post listings](https://wordpress.org/support/topic/really-need-some-space-between-post-listings/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/really-need-some-space-between-post-listings/#post-6389024)
 * You probably need a bit of CSS to put a margin below and/or above each list element.
 * In your browser, if you right click on one of the list entries and select Inspect
   Element you’ll see the list entry has tag li and the list is an unordered one(
   ul) with class=”lcp_catlist…> so CSS something like
 * .lcp_catlist li {margin-top:10px;}
 * might be what you need. If you already using a child theme, it can go in style.
   css. If you don’t have a child theme, you could look at using the Jetpack plugin
   which has a Custom CSS Module which gives you an Edit CSS option under Appearance.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Custom Post name](https://wordpress.org/support/topic/custom-post-name/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/custom-post-name/#post-6227896)
 * I’m not sure I’m fully understanding what you want, but if you want to write 
   something to a customfield called alttitle then you need to look up customfields
   in the WordPress Codex, or you could look at using a Plugin like Advanced Custom
   Fields.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[List category posts] Custom POst TYpes](https://wordpress.org/support/topic/custom-post-types-223/)
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/custom-post-types-223/#post-6300749)
 * Hi
    calls of this sort:
 * [catlist post_type=”myposttype” name=”mycategoryname”] works for me.
 * Can you post the catlist call you are making?

Viewing 15 replies - 1 through 15 (of 104 total)

1 [2](https://wordpress.org/support/users/aact/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/aact/replies/page/3/?output_format=md) …
[5](https://wordpress.org/support/users/aact/replies/page/5/?output_format=md) [6](https://wordpress.org/support/users/aact/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/aact/replies/page/7/?output_format=md) [→](https://wordpress.org/support/users/aact/replies/page/2/?output_format=md)