reformat entry-title with two different styles

ok found out – added this to my content-page.php maybe not nice, but works for now… <?php $pieces = explode(‘:’, the_title( ”, ”, false ), 2 ); if (2 == count($pieces)) : ?> <h1 class=”entry-title”><span><span style=”font-size: 24px;”><?php print $pieces[0]; ?>: </span><span><?php print $pieces[1]; ?></span></span></h1> <?php else : ?> <h1 class=”entry-title”><?php the_title(); ?></h1> <?php endif; ?>

clicking on page title

usually the code that makes a link to a title in WordPress looks something like this <a href=”https://wordpress.stackexchange.com/questions/66152/<?php the_permalink(); ?>”><php the_title(); ?></a> if you were to change it to this <?php the_title(); ?> it would only display the title. It would remove the link. Does that answer your question?

Change Bookmark Name without Changing TITLE Tag [closed]

No, title tags are the way you set your default titles when bookmarking. It’s entirely up to the user whether they want to change it from that default. Sidenote: This question is also more appropriate for StackOverflow as it doesn’t directly relate to WordPress (WordPress Answers is solely for WordPress-related questions). 🙂

Remove post title in catogory page

In your page template you can use the conditional statement is_category($category) to determine if the header should show: if (!is_category(‘fun’)){ the_title(); } … OR … Better: You can create a category template and not include the_title() in that template file. This is a cleaner way to ensure only that one category page leaves out the … Read more

Auto append text after the title?

If I understand you correctly, then the_title hook should help you. You can assign your filter to it and modify the title as you wish: add_filter( ‘the_title’, function( $title, $id ) { return $title . ‘ – Lorem ipsum’; }, 10, 2 );

Single post pagination

It’s possible to modify the content pagination with the content_pagination filter. Here’s a way to always display the content of the first page: /** * Content Pagination: Always display the content of the first page */ add_filter( ‘content_pagination’, function( $pages ) { // Nothing to do if there’s no pagination if( count( $pages ) <= … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)