Title: Osu's Replies | WordPress.org

---

# Osu

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/mrnabo/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mrnabo/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/mrnabo/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/mrnabo/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Sites keep getting hacked](https://wordpress.org/support/topic/sites-keep-getting-hacked/)
 *  Thread Starter [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/sites-keep-getting-hacked/#post-9404494)
 * Thanks for the help, I’m going to need to do a lot of work to go through all 
   28 of my sites then by the sounds of things. I don’t suppose anyone can recommend
   a good shared host in the UK that has decent security in place (things like allowing
   FTP access for a specific amount of time, whitelisting certain IP’s etc.), as
   all I’m getting from Hostgator is a sales pitch to pay huge amounts of money 
   for their Sitelock program…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GDMylist] Custom Post type field](https://wordpress.org/support/topic/custom-post-type-field/)
 *  [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-field/#post-7264635)
 * Hey there,
 * I found the answer (at least when using normal custom fields or, in my case, 
   Advanced Custom Fields).
 * If you want to include custom fields, you need to modify the plugin file `gd-
   mylist-code.php` so that you can add your own ##tagName# for use in the plugins
   templates.
 * I’ll try to explain so it’s understandable for someone else seeing this – instructions
   below on what to do.
 * ——————————————————-
    **File: gd-mylist/gd-mylist-code.php**
 * In the `foreach ($posts as $post)` loop, create variables for your custom fields(
   my example uses a soundcloud and gumroad link):
 *     ```
       $postACF_sc =  get_post_meta($postId, 'sc_link', true); // Get soundcloud link
       $postACF_gumroad =  get_post_meta($postId, 'gumroad_url', true); // Get Gumroad link
       ```
   
 * Then, add your own str_replace() functions below the line that says `$html = 
   file_get_contents($templates_html['box_list'].$locale);`
 * i.e:
 *     ```
       $html = str_replace('##postACF_sc##', $postACF_sc, $html);
       $html = str_replace('##postACF_gr##', $postACF_gumroad, $html);
       ```
   
 * This will let you use `##postACF_sc##` and `##postACF_gr##` in the plugin’s template
   files to show your custom fields.
 * **File: gd-mylist/template/box-list.php**
 * I just chose this template file as an example, but you can add your new made 
   tags to the HTML markup here to display them i.e.
 *     ```
       <article class="gd-mylist-box audio-item">
       	##postBtn##
       	<h2>##postTitle##</h2>
       	<a href="##postACF_sc##" class="sc-player audio-item--url">##postTitle## on SoundCloud</a>
       	<a href="##postACF_gr##" class="audio-item--buy btn btn-green" data-product-url="##postACF_gr##">Buy</a>
       	<a href="##postUrl##" class="view-track btn btn-blue">View track</a>
       </article>
       ```
   
 * ——————————————————-
 * That’s what is working for me, although I’m working through a different problem
   now!
 * Cheers,
 * Osu
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GDMylist] Custom Post type field](https://wordpress.org/support/topic/custom-post-type-field/)
 *  [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/custom-post-type-field/#post-7264631)
 * I also need to know how to do this – I’m using Advanced Custom Fields to store
   a bunch of data related to a post and need to display some of those fields (these
   are basically custom fields) in my wish list.
 * Would it be possible to add something like this?
 * ##postCustomFieldName##
 * Where ‘CustomFieldName’ returns the get_post_meta()?
 * Thanks for this great plugin by the way!
 * Osu
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Accordion Shortcode] Auto height based on content size is broken.](https://wordpress.org/support/topic/auto-height-based-on-content-size-is-broken/)
 *  [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/auto-height-based-on-content-size-is-broken/#post-4392500)
 * I love you. Saved me a big headache with this, thank you!
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Neatly displaying tags](https://wordpress.org/support/topic/neatly-displaying-tags/)
 *  Thread Starter [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/neatly-displaying-tags/#post-4574827)
 * That’s great, thanks for those links, much appreciated!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy WordPress Mailchimp Integration] Hide unused lists?](https://wordpress.org/support/topic/hide-unused-lists/)
 *  [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/hide-unused-lists/#post-3343119)
 * I also need to restrict the lists available to just one – Remi, is that an easy
   fix? Could you let us know how it’s done please?
 * Thanks
 * Osu
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] Direct Debit payments and UK addresses](https://wordpress.org/support/topic/direct-debit-payments-and-uk-addresses/)
 *  Thread Starter [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/direct-debit-payments-and-uk-addresses/#post-3495083)
 * Thanks Jason, I’ll continue my specific questions in your forum.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] Direct Debit payments and UK addresses](https://wordpress.org/support/topic/direct-debit-payments-and-uk-addresses/)
 *  Thread Starter [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/direct-debit-payments-and-uk-addresses/#post-3495048)
 * Sorry, I meant to say Debit card payments in the title (not Direct Debit which
   is different).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] [Plugin: Paid Memberships Pro] Where is documentation?](https://wordpress.org/support/topic/plugin-paid-memberships-pro-where-is-documentation/)
 *  [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-paid-memberships-pro-where-is-documentation/#post-2580917)
 * I think you’re totally entitled to charge for support – the plugin works well
   from what I can see so far and IS free to install and use. jstearn – if you’re
   using this for client sites, then costs like this should be built into your fee.
   What’s more, if $97 is more than what you or your client expect to make from 
   a membership-website in a year, then I’d suggest a different approach to making
   money from your site.
 * [@strangerstudios](https://wordpress.org/support/users/strangerstudios/) – thank
   you for making more of the documentation free.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [functions.php will not work with child theme](https://wordpress.org/support/topic/functionsphp-will-not-work-with-child-theme/)
 *  [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-will-not-work-with-child-theme/#post-2180457)
 * Hi,
 * I’m trying to override the ‘read more’ link in my child-theme functions.php. 
   I understand you can’t override the parent themes functions.php as such, but 
   I have placed my own function for the ‘excerpt_more’ filter, but it’s not replacing
   the parent theme’s function that also uses ‘excerpt_more’.
 * Any ideas?
 * Thanks
 * Osu
 *     ```
       function clientname_continue_reading_link() {
       	return ' <a href="'. esc_url( get_permalink() ) . '">' . __( 'Read more... <span class="meta-nav">&rarr;</span>', 'clientname' ) . '</a>';
       }
       function clientname_auto_excerpt_more( $more ) {
       	return ' &hellip;' . clientname_continue_reading_link();
       }
       add_filter( 'excerpt_more', 'clientname_auto_excerpt_more' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Field Template] [Plugin: Custom Field Template] Media picker delete completely deletes image!](https://wordpress.org/support/topic/plugin-custom-field-template-media-picker-delete-completely-deletes-image/)
 *  Thread Starter [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [15 years ago](https://wordpress.org/support/topic/plugin-custom-field-template-media-picker-delete-completely-deletes-image/#post-2034670)
 * Hi Hiroaki,
 * That’s superb, thank you lots for that quick upgrade 🙂
 * mn
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Field Template] [Plugin: Custom Field Template] CFT seriously broken in WP3.1.1](https://wordpress.org/support/topic/plugin-custom-field-template-cft-seriously-broken-in-wp311/)
 *  Thread Starter [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-cft-seriously-broken-in-wp311/#post-2027527)
 * I’ve actually been talking to the developer directly and showed him that video,
   so he kindly looked into it for me – hopefully it sorts your problem as well!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Field Template] [Plugin: Custom Field Template] CFT seriously broken in WP3.1.1](https://wordpress.org/support/topic/plugin-custom-field-template-cft-seriously-broken-in-wp311/)
 *  Thread Starter [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-cft-seriously-broken-in-wp311/#post-2027522)
 * Hi difreo,
 * Have you updated to the latest CFT? I’ve upgraded to 1.8.5 and it seems to have
   fixed my issue…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Field Template] [Plugin: Custom Field Template] CFT seriously broken in WP3.1.1](https://wordpress.org/support/topic/plugin-custom-field-template-cft-seriously-broken-in-wp311/)
 *  Thread Starter [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-cft-seriously-broken-in-wp311/#post-2027515)
 * Oh really? Are there many problems with Custom Post Types and CFT then? That’s
   useful to know if that’s the problem as I may be able to work around that…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Field Template] [Plugin: Custom Field Template] CFT seriously broken in WP3.1.1](https://wordpress.org/support/topic/plugin-custom-field-template-cft-seriously-broken-in-wp311/)
 *  Thread Starter [Osu](https://wordpress.org/support/users/mrnabo/)
 * (@mrnabo)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-cft-seriously-broken-in-wp311/#post-2027502)
 * Yep, that’s all set correctly I think – comma-delimited and everything set up.
   I have the feeling it could be the CFT options I’ve set that are causing the 
   problems.
 * Here are the options I’ve set (I’ve included all 7 CFT templates I’m using):
 * [http://www.pastie.org/1790625](http://www.pastie.org/1790625)
 * Can you see anything wrong in there?
 * Thanks,
 * osu

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

1 [2](https://wordpress.org/support/users/mrnabo/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mrnabo/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/mrnabo/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/mrnabo/replies/page/2/?output_format=md)