• Welcome to PHPVIBE Forums. Please log in.

Seo Settings & Permalink

Started by sowieso,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sowiesoTopic starter

There is seo setting for single video title. I want to set video description 2 different options:
If video have a description Prefix / Before the description | Suffix / After the description
Else write description adding %title%

Permalink
I don't want tag pages link: .com/show/tag/
Be able to set the label permalink .com/whateverifyouwant/tag/
  •  

Marius P.

Hi, you can set it the same way, using an option

<?php echo get_option( $option, $default ); ?>



Look at com/com_video.php



// SEO Filters
function modify_title( $text ) {
global $video;
    return strip_tags(_html(get_option('seo-video-pre','').$video->title.get_option('seo-video-post','')));
}
function modify_desc( $text ) {
global $video;
    return _cut(strip_tags(_html($video->description)), 160);
}









For /show, open vibe_setts.php and edit


define( 'show', 'show' );

to


define( 'show', 'whateveryouwant' );


Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (1)