Hi All,
Thanks a lot for this tutorial/plugin. I have learnt a lot from it.
I am seeking help to get the s_myfield data from this plugin included in the title on the item page.
For example, the current code in the Modern theme/ item.php includes:-
"<div class="content item">
<div id="item_head">
<div class="inner">
<h1><?php if( osc_price_enabled_at_items() ) { ?><span class="price"><?php echo osc_item_formated_price() ; ?></span> <?php } ?><strong><?php echo osc_item_title() . ' - by ' . osc_item_field("s_description", $locale) . ' - ' . osc_item_city(); ?></strong></h1>
<p id="report">........."
So I thought I could include my new field into the title with something like this:-
<h1><?php if( osc_price_enabled_at_items() ) { ?><span class="price"><?php echo osc_item_formated_price() ; ?></span> <?php } ?><strong><?php echo osc_item_title() . ' - by ' . osc_item_field("s_myfield", $locale) . ' - ' . osc_item_city(); ?></strong></h1>
But this does NOT work.
Any suggestions welcome please.