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; ?>

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

How to add … after a particular word/character limit to the title

the_title() prints/retrieve the title while get_the_title() retrieve the title. So your code should be something like this. <div class=”case-breaking__content”> <p> <?php $out = strlen(get_the_title()) > 50 ? substr(get_the_title(),0,50).”…” : get_the_title(); echo $out; ?> </p> </div> Note you can use the_title() but it is not recommended here to keep the code clean. <div class=”case-breaking__content”> <p> <?php … Read more

How to delete posts which have same title?

The easy way is to look at the URLs of the posts (or the IDs) and determine what ones you’d like to delete. Then go to the all posts page and hover over the title of the post you’d like to delete, then click the red trash button.

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