Posts: 17
Threads: 8
Joined: Aug 2012
I can not run the plugin "i18n Special Pages".
The fields appear fine in my admin pages but nothing on the pages of the site.
Is it the good sintaxe?
<div id="header"> <img src = "<? php get_special_field ('image');?>" /> </ div>
Is there a partuclar setting to activate?
Posts: 161
Threads: 6
Joined: Jan 2010
Are you using that PHP function call directly in the backend, under "Edit Special Page Type" on the "View" tab? Also, what you've pasted has a lot of extra spaces throughout, it should be more like this:
Code:
<div id="header"><img src="<?php get_special_field('image'); ?>" /></div>
Posts: 17
Threads: 8
Joined: Aug 2012
yes the code:
Code:
<div id="header"><img src="<?php get_special_field('image'); ?>" /></div>
is on my page :
template.php
I do not understand why it does not work?
Should we put something in:
Plugins
> Configure I18N Special Pages
> special selection of standard pages
> View
I have not placed any code at this point, only :
Code:
<div id="header"><img src="<?php get_special_field('image'); ?>" /></div>
on my page :
template.php
Posts: 161
Threads: 6
Joined: Jan 2010
Yeah, don't use it in template.php but rather under Plugins > Configure I18N Special Pages > (choose type) > View, the second field on that page.
Posts: 17
Threads: 8
Joined: Aug 2012
I still can not run the plugin "Special Pages".
In the "HTML / PHP code for the display of a page"
What code should I put it?
is it:
Code:
<? php get_special_field ('text');>
or:
Code:
<div id="texte"> <? php get_special_field ('text');?> </ div>
and how to display the contents in a "div" on my template.
Is there a video that shows step by step how to use the plugin?
Thanks
Posts: 17
Threads: 8
Joined: Aug 2012
I found why it did not worked!
I put the "_" in the name field
We must put lowercase name without special characters in the Field