2014-02-17, 19:49:17
(2014-02-17, 09:34:26)xxdex Wrote: ok.. i'm was create a custon field
https://dl.dropboxusercontent.com/u/49983884/in/special/custom.jpg
and i was add a function in front end template
in head section
<?php
if ((return_custom_field('pagesplitkk'))=="tak" ) {
echo '<meta name="keywords" content="_pagify" />';}
?>
i'm try to used it to create a pagify in page content .. not used a "Tags & Keywords:"
it's not working and i have a not idea why ;(
Pagify is using the tags/keywords and doesn't care about custom fields or which meta tags you output. But you can achieve this functionality by replacing in your template
Code:
<?php get_page_content(); ?>
Code:
<?php if (return_custom_field('pagesplitkk') == 'tak') echo return_pagify_content(strip_decode($content),'hr',isset($_GET['page']) ? @((int) $_GET['page']) - 1 : 0); else get_page_content(); ?>
You can replace 'hr' (split at <hr>) with a length like '1000c' (1000 characters), '100w' (100 words), '3p' (3 paragraphs).