2014-02-07, 02:39:05
i'm create a new special field with I18N Custom Fields
name= pagination
title= enable / disable pagination
type = dropdown box --> 1. no 2. yes
default = no
and in template i was give this lines:
(in head)
<?php
$paginationone = return_custom_field('pagination');
if ($paginationone == 'yes') {
$paginationend='_pagify';
} else if ($paginationone == 'no') {
$paginationend=''";
}
?>
<meta name="paginationbox" content="<?php echo $paginationend ?>" />
ok.. in front template is working (it's giving a filed like
<name="paginationbox" content="_pagify" />
if dropdown in front-end page is checked "yes"
and
<name="paginationbox" content="" />
if dropdown in front-end page is checked "no"
how to enable to this name pagify because it's not working in tag <name="paginationbox" >
how to change a default
<meta name="keywords"
for a simple
<name="paginationbox"
..
or if someone have a better idea.. please help ... and answer
name= pagination
title= enable / disable pagination
type = dropdown box --> 1. no 2. yes
default = no
and in template i was give this lines:
(in head)
<?php
$paginationone = return_custom_field('pagination');
if ($paginationone == 'yes') {
$paginationend='_pagify';
} else if ($paginationone == 'no') {
$paginationend=''";
}
?>
<meta name="paginationbox" content="<?php echo $paginationend ?>" />
ok.. in front template is working (it's giving a filed like
<name="paginationbox" content="_pagify" />
if dropdown in front-end page is checked "yes"
and
<name="paginationbox" content="" />
if dropdown in front-end page is checked "no"
how to enable to this name pagify because it's not working in tag <name="paginationbox" >
how to change a default
<meta name="keywords"
for a simple
<name="paginationbox"
..
or if someone have a better idea.. please help ... and answer
user plugin: scroll to top