Title: custom php tweak &#8211; Help
Last modified: August 22, 2016

---

# custom php tweak – Help

 *  [gk-interactive.com](https://wordpress.org/support/users/gk-interactivecom/)
 * (@gk-interactivecom)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-php-tweak-help/)
 * Hi there,
    I hope someone can point me in the right direction with this snippet
   of code that I am trying to tweak on a wordpress theme.
 * <?php byt_render_field(“text-wrap”, “”, “”, $tour_obj->get_description(), __(‘
   the_title’, ”)); ?>
 * I would like to call the page title into this piece of code above but not having
   much success. Can anyone offer some advice on where to place the code for calling
   the title?
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-php-tweak-help/#post-5427907)
 * where does that code belong to?
    what plugin or theme?
 * in which template file are you using that code?
 * possibly review [http://codex.wordpress.org/Function_Reference/get_the_title](http://codex.wordpress.org/Function_Reference/get_the_title)
 *  Thread Starter [gk-interactive.com](https://wordpress.org/support/users/gk-interactivecom/)
 * (@gk-interactivecom)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-php-tweak-help/#post-5427915)
 * Hi, thank you for responding. The code belongs to the below theme.
    [http://southerncape-security.co.za/bookings/tour/shark-cage-diving-gansbaai/](http://southerncape-security.co.za/bookings/tour/shark-cage-diving-gansbaai/)
   the description title as a quick fix I just removed the element – <?php byt_render_field(“
   text-wrap”, “”, “”, $tour_obj->get_description(), __(”, ‘bookyourtravel’)); ?
   >
 * but if you now click between the tabs you will notice the styling between description
   and reviews.
 * here is the code snippet.
    <section id=”description” class=”tab-content <?php
   echo $first_display_tab == ‘description’ ? ‘initial’ : ”; ?>”> <article> <?php
   do_action( ‘byt_show_single_tour_description_before’ ); ?> <?php byt_render_field(“
   text-wrap”, “”, “”, $tour_obj->get_description(), __(”, ‘bookyourtravel’)); ?
   > <?php byt_render_tab_extra_fields($tour_extra_fields, ‘description’, $tour_obj);?
   > <?php do_action( ‘byt_show_single_tour_description_after’ ); ?> </article> 
   </section>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘custom php tweak – Help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [gk-interactive.com](https://wordpress.org/support/users/gk-interactivecom/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/custom-php-tweak-help/#post-5427915)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
