FAQ Database Discussion Community


How can I make a title not show up on a template?

php,wordpress,templates,visibility,title
I am working out of wordpress, and I would like to add a php code to a template file. I only want the title to NOT display on this template. Is there a certain code that I can place on a template file to make only THIS TEMPLATE NOT DISPLAY...

How to get Title Value by Clicking List Item With a Class Used by Multiple List Items

javascript,jquery,click,title
In my web application, I have the following list items: <li class="ui-corner-all" title="#3100ff" style="border: none; background-color: rgb(144, 0, 255);"></li> <li class="ui-corner-all" title="#9330ff" style="border: none; background-color: rgb(144, 0, 255);"></li> <li class="ui-corner-all" title="#500055" style="border: none; background-color: rgb(144, 0, 255);"></li> When I click a list item with the class "ui-corner-all", I am trying...

UI Router dynamic tag</a> </h2><b><a href='http://databasefaq.com/index.php/tag/angularjs'>angularjs</a>,<a href='http://databasefaq.com/index.php/tag/angular-ui-router'>angular-ui-router</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I'm adding a title to every state in the ui-router like that: .state('projects', { url: '/', templateUrl: 'projects/projects.html', ncyBreadcrumb: { label: 'Projects' }, data : {title: 'Projects'} }) And then the title attribute takes that data: <title ng-bind="$state.current.data.title"></title> How can I take data from the state parameters and add it...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/112392/php-include-title-changing-title-based-on-included-file-in-php'>Changing title based on included file in PHP</a> </h2><b><a href='http://databasefaq.com/index.php/tag/php'>php</a>,<a href='http://databasefaq.com/index.php/tag/include'>include</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I have to make some changes on my old website where I'm not using any templating system. I'm loading the content for some pages from a database based on ?page parameter. So I have something like this: <title>Page title</title> ... ... ... $page_id = $_GET['page']; include 'page.php'; //escaping is done...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/18559/php-echo-title-echoing-webpage-title-from-the-defined-list'>echoing webpage title from the defined list</a> </h2><b><a href='http://databasefaq.com/index.php/tag/php'>php</a>,<a href='http://databasefaq.com/index.php/tag/echo'>echo</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I got a way to display custom page titles using include fuction. Header: <title><?php echo $pageTitle ?></title> Include: <?php $pageTitle = "Pets:"; include '../header.php'; ?> So as to handle titles easier I'd like the name to come from the predefined list: <?php define('ANIMAL', 'Dog'); ?> How do I add 'ANIMAL'...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/156312/html-css-hyperlink-title-style-sheets-break-with-title-attribute-on-link-tags'>Style sheets break with TITLE attribute on <link> tags?</a> </h2><b><a href='http://databasefaq.com/index.php/tag/html'>html</a>,<a href='http://databasefaq.com/index.php/tag/css'>css</a>,<a href='http://databasefaq.com/index.php/tag/hyperlink'>hyperlink</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> Okay, this is the weirdest thing. Wondering if anyone else has seen this, or has an explanation. I'm helping with an effort to upgrade a very old corporate intranet. Our users are on IE8 and IE9. Most of our sites are written to work in IE5 - IE9. We're on...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/51354/javascript-jquery-mouseover-title-jquery-how-to-show-a-checkbox-value-on-mouseover-without-title-attribute'>jQuery: How to show a checkbox value on mouseover (without title attribute)</a> </h2><b><a href='http://databasefaq.com/index.php/tag/javascript'>javascript</a>,<a href='http://databasefaq.com/index.php/tag/jquery'>jquery</a>,<a href='http://databasefaq.com/index.php/tag/mouseover'>mouseover</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I am pretty new to jQuery and need some help with the following. I have a HTML page with a large, dynamic number of checkboxes and would like to show a checkbox' value on mouseover without having to add a title attribute in the code for each of them. Also,...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/246000/jquery-title-how-to-add-title-to-all-ids-with-jquery'>How to add title to all id's with jquery</a> </h2><b><a href='http://databasefaq.com/index.php/tag/jquery'>jquery</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> How to add titles to all id's for td in table. Code: <table> <tr> <td id="A">TextA</td> <td id="A">TextB</td> <td id="A">TextC</td> </tr> </table> $('#A')[0].title = "new title value"; Here is jsfiddle: http://jsfiddle.net/3hocugmj/ I have try with for loop like this: for (b = 0; b < 3; b++) { $('#A')[b].title =...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/98309/batch-file-cmd-title-titlebar-how-can-i-set-set-a-title-that-start-with-comasemicolon-or-equal-sign'>How can I set set a title that start with coma,semicolon or equal sign?</a> </h2><b><a href='http://databasefaq.com/index.php/tag/batch-file'>batch-file</a>,<a href='http://databasefaq.com/index.php/tag/cmd'>cmd</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a>,<a href='http://databasefaq.com/index.php/tag/titlebar'>titlebar</a></b><br/> Obviously it is possible to set title that contains cmd's standard delimiters but through TITLE command looks impossible to set a title that starts with a delimiter. It is possible to create a new instance of CMD with such title: start "==" cmd.exe but not possible for the same instance....<br/> <h2> <a href='http://databasefaq.com/index.php/answer/222766/php-class-dynamic-title-how-to-set-dynamic-title-to-extended-public-variable-with-oop'>How to set dynamic title to extended public variable with OOP?</a> </h2><b><a href='http://databasefaq.com/index.php/tag/php'>php</a>,<a href='http://databasefaq.com/index.php/tag/class'>class</a>,<a href='http://databasefaq.com/index.php/tag/dynamic'>dynamic</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I hope someone can help me. How can I best dynamically change page title, desc, or key vs..vs..by extending the original class? Here is what I have so far: <?php class siteGlobal { public $arr = array('title'=>'Page Default title','desc'=>'Page default description'); public function pageHeader() { ?> <!doctype html><html> <?php }...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/123819/swift-button-title-how-to-change-title-of-button-a-when-button-b-is-pressed'>How to change title of button A when button B is pressed?</a> </h2><b><a href='http://databasefaq.com/index.php/tag/swift'>swift</a>,<a href='http://databasefaq.com/index.php/tag/button'>button</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> In Swift, I want to change the title of Button A when Button B is pressed. I tried sender.ButtonA.setTitle("Title", forState: UIControlState.Normal) under IBAction Button B but it couldn't work.. it was just a guess anyway.....<br/> <h2> <a href='http://databasefaq.com/index.php/answer/245838/ios-objective-c-uibutton-uistoryboard-title-uibutton-different-alignment-for-title-and-image'>UIButton different alignment for title and image</a> </h2><b><a href='http://databasefaq.com/index.php/tag/ios'>ios</a>,<a href='http://databasefaq.com/index.php/tag/objective-c'>objective-c</a>,<a href='http://databasefaq.com/index.php/tag/uibutton'>uibutton</a>,<a href='http://databasefaq.com/index.php/tag/uistoryboard'>uistoryboard</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> Hello I am creating UIButton which is displaying image and title at the same time. I want title and image to be both centred, button to be above image. Problem is that because of localisation of string from button, string length is changing, and alignment from UIStoryboard combined with edge...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/188878/php-url-replace-hyperlink-title-replace-links-with-html-link-and-title'>Replace links with html link and <title></a> </h2><b><a href='http://databasefaq.com/index.php/tag/php'>php</a>,<a href='http://databasefaq.com/index.php/tag/url'>url</a>,<a href='http://databasefaq.com/index.php/tag/replace'>replace</a>,<a href='http://databasefaq.com/index.php/tag/hyperlink'>hyperlink</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I want to convert all links in a string. For example: http://google.de Result: <a href="http://google.de"><title> of google.de</a> I created the following code snipet: function getTitle($Url){ $str = file_get_contents($Url); if(strlen($str)>0){ preg_match("/\<title\>(.*)\<\/title\>/",$str,$title); return $title[1]; } } function linkToHref($text){ $text= preg_replace("/(^|[\n ])([\w]*?)((ht|f)tp(s)?:\/\/[\w]+[^ \,\"\n\r\t<]*)/is", "$1$2<a href=\"$3\" target=\"_blank\">".getTitle($3)."</a>",...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/158472/xml-xslt-header-report-title-show-page-title-for-all-pages-when-we-print-xslt-report-using-xml'>Show page title for all pages when we print XSLT Report using XML</a> </h2><b><a href='http://databasefaq.com/index.php/tag/xml'>xml</a>,<a href='http://databasefaq.com/index.php/tag/xslt'>xslt</a>,<a href='http://databasefaq.com/index.php/tag/header'>header</a>,<a href='http://databasefaq.com/index.php/tag/report'>report</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I want to print report by having PatientID in all pages as heading or title so that it will print page title in all the pages when we print I'm not sure how to write XSLT for showing title in all pages Any help will be really appreciated Below is...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/223919/ruby-on-rails-ruby-testing-rspec-title-test-title-with-rspec-in-rails'>Test title with rspec in rails</a> </h2><b><a href='http://databasefaq.com/index.php/tag/ruby-on-rails'>ruby-on-rails</a>,<a href='http://databasefaq.com/index.php/tag/ruby'>ruby</a>,<a href='http://databasefaq.com/index.php/tag/testing'>testing</a>,<a href='http://databasefaq.com/index.php/tag/rspec'>rspec</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> Starting up with this: it "doit avoir le bon titre" do get 'home' response.should have_selector("title", :content => "Simple App du Tutoriel Ruby on Rails | Accueil") end I ended up with that because I'm not on the same version of rspec or rails than the tutorial I'm following: it "doit...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/238671/javascript-jquery-document-title-how-to-dynamically-change-document-title-via-function'>How to dynamically change document title via function?</a> </h2><b><a href='http://databasefaq.com/index.php/tag/javascript'>javascript</a>,<a href='http://databasefaq.com/index.php/tag/jquery'>jquery</a>,<a href='http://databasefaq.com/index.php/tag/document'>document</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I'd like to change document's title dynamically. In the first instance I tried this snippet: var milis = 3000, titles = [ 'Setting up color scheme' ], count = 0; titles.push(document.title); setInterval(function(){ document.title = titles[count % titles.length]; ++count; }, milis); This works perfectly, but I need to put the snippet...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/198350/wordpress-title-subtitle-page-title-how-can-i-change-the-title-of-my-home-page'>How can I change the title of my home page?</a> </h2><b><a href='http://databasefaq.com/index.php/tag/wordpress'>wordpress</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a>,<a href='http://databasefaq.com/index.php/tag/subtitle'>subtitle</a>,<a href='http://databasefaq.com/index.php/tag/page-title'>page-title</a></b><br/> I am using wordpress , I would like to change the name of the home page. At the top , on the browsers tab , it displays (HOME} and it shows up in google as well as (Home - mydomain.net) and then followed by the meta description. I want it...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/266835/php-html-wordpress-seo-title-wordpress-yoast-plugin-update-seo-title'>Wordpress Yoast plugin update seo title</a> </h2><b><a href='http://databasefaq.com/index.php/tag/php'>php</a>,<a href='http://databasefaq.com/index.php/tag/html'>html</a>,<a href='http://databasefaq.com/index.php/tag/wordpress'>wordpress</a>,<a href='http://databasefaq.com/index.php/tag/seo'>seo</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I´ve been looking around to see where I can change the seo title in my database, but i cannot find my answer. We changed names, and now all my seo titles look like: PRODUCT_NAME bij OLD_NAME Now I want to replace OLD_NAME by NEW_NAME in the database, or where ever...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/182243/matlab-image-processing-title-matlab-figure-figure-my-plotted-lines-arent-appearing-on-my-output-figures'>My plotted lines aren't appearing on my output figures</a> </h2><b><a href='http://databasefaq.com/index.php/tag/matlab'>matlab</a>,<a href='http://databasefaq.com/index.php/tag/image-processing'>image-processing</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a>,<a href='http://databasefaq.com/index.php/tag/matlab-figure'>matlab-figure</a>,<a href='http://databasefaq.com/index.php/tag/figure'>figure</a></b><br/> so I'm processing a bunch of images at the one time, trying to display them all as figures with a series of plotted lines on each individual image as a result of the process. With some help I fixed the figure title issue, However the plotted lines are not appearing...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/265639/xcode-crash-title-nscoding-initwithcoder-xcode-nscoding-navigation-title-disappears'>Xcode NsCoding navigation title disappears</a> </h2><b><a href='http://databasefaq.com/index.php/tag/xcode'>xcode</a>,<a href='http://databasefaq.com/index.php/tag/crash'>crash</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a>,<a href='http://databasefaq.com/index.php/tag/nscoding'>nscoding</a>,<a href='http://databasefaq.com/index.php/tag/initwithcoder'>initwithcoder</a></b><br/> I have added this code to the "MasterViewController.m" in my project: - (void)encodeWithCoder:(NSCoder *)encoder { [encoder encodeObject:_savedText forKey:@"savedText"]; } . - (id)initWithCoder:(NSCoder *)decoder { if((self = [super init])) { _savedText = [decoder decodeObjectForKey:@"savedText"]; } return self; } When I added the "initWithCoder-code" the navigation title disappears and when I click...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/153581/javascript-title-space-decodeuricomponent-title-does-not-work-with-decodeuricomponent-and-space'>title does not work with decodeURIComponent and space</a> </h2><b><a href='http://databasefaq.com/index.php/tag/javascript'>javascript</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a>,<a href='http://databasefaq.com/index.php/tag/space'>space</a>,<a href='http://databasefaq.com/index.php/tag/decodeuricomponent'>decodeuricomponent</a></b><br/> I am trying to write with javasctipt line of code, but decodeURIComponent ignore everything after %20 (space). How to solve this? $(".intome").append($('<img title=' + decodeURIComponent(filename) + ' src=' + dir + ' />')); Instead of: <img title:"some text" src="img.png"> I am geting this: <img title:"some" text src="img.png"> JSFiddle: https://jsfiddle.net/emnLy1t5/9/ I...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/236201/php-wordpress-hyperlink-category-title-remove-title-link-for-specific-category-in-wordpress'>Remove Title Link for Specific Category in Wordpress</a> </h2><b><a href='http://databasefaq.com/index.php/tag/php'>php</a>,<a href='http://databasefaq.com/index.php/tag/wordpress'>wordpress</a>,<a href='http://databasefaq.com/index.php/tag/hyperlink'>hyperlink</a>,<a href='http://databasefaq.com/index.php/tag/category'>category</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I'm running Wordpress 4.1. I have two blog pages on my site, and though I don't really know php, I've done some tinkering and figured out how to modify the page templates so each page only displays posts for a specific category. That bit of code looks like this: <?php...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/46066/html5-tags-title-does-the-title-tag-have-content'>Does the title tag have content?</a> </h2><b><a href='http://databasefaq.com/index.php/tag/html5'>html5</a>,<a href='http://databasefaq.com/index.php/tag/tags'>tags</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> From my point of view, content has come to be defined as two separate things in HTML: 1) All of the information between the open and closed body tags that is visible on a webpage. 2) That which is visible on a webpage that is placed between any open and...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/219134/android-android-actionbar-title-set-action-bar-title-corresponding-to-actionbar-tab-title'>Set action bar title corresponding to ActionBar tab title</a> </h2><b><a href='http://databasefaq.com/index.php/tag/android'>android</a>,<a href='http://databasefaq.com/index.php/tag/android-actionbar'>android-actionbar</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> When the active tab in my app is changed and an other tab gets the active tab, I would like the ActionBar title to be set to a certain text. How can I do that? Thanks...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/88443/javascript-jquery-list-click-title-how-to-click-a-list-item-where-title-attribute-equals-a-specific-variable-using-javascript-jquery'>How to Click a List Item Where Title Attribute Equals a Specific Variable Using Javascript/Jquery?</a> </h2><b><a href='http://databasefaq.com/index.php/tag/javascript'>javascript</a>,<a href='http://databasefaq.com/index.php/tag/jquery'>jquery</a>,<a href='http://databasefaq.com/index.php/tag/list'>list</a>,<a href='http://databasefaq.com/index.php/tag/click'>click</a>,<a href='http://databasefaq.com/index.php/tag/title'>title</a></b><br/> I've got the following lists in my web application: <li class="ui-corner-all" title="#3100ff" style="border: none; background-color: rgb(144, 0, 255);"></li> <li class="ui-corner-all" title="#9330ff" style="border: none; background-color: rgb(144, 0, 255);"></li> <li class="ui-corner-all" title="#500055" style="border: none; background-color: rgb(144, 0, 255);"></li> Basically, I am trying to get JS and/or JQuery to click the list item...<br/> <h2> <a href='http://databasefaq.com/index.php/answer/272565/wordpress-wordpress-plugin-wordpress-theming-title-wordpress-plugin-dev-wordpress-change-title-title-from-a-plugin-without-template-edit'>Wordpress change <title> … from a plugin (without template edit)

wordpress,wordpress-plugin,wordpress-theming,title,wordpress-plugin-dev
I have made a google search about this but i did not find any answer Is it possible to change the wordpress title without template edit? I want to change <title> Change this from a wp plugin </title> thank you for your help...

why does empty attribute break script?

javascript,jquery,attributes,title,uncaught-typeerror
It is my lovely title. So I tried to manipulate with title for Scrollme.js. And here my script code which it got it from here. I have some manipulate with that and: $("[title*='aniscroll']").each(function() { $(this).addClass("scrollme animateme"); var title = this.title, when = this.title.match(/when=(.*?)(\s|$)/), from = this.title.match(/from=(.*?)(\s|$)/), ... crop = this.title.match(/crop=(.*?)(\s|$)/)...

Custom title and image for Facebook share button on AJAX result

ajax,facebook,image,share,title
This question exists in different flavors, but not for AJAX pages. I use AJAX to pull a single video into my page and I want a custom FB share button for it. Everything I've read so far says that FB pulls the required title and image from meta-tags in the...

How to add value from the title to the value of the class to the same element with jQuery?

jquery,title
How to add value from the title to the value of the class to the same element with jQuery? For Example, I will add word "new1" to title name for picture of 1.jpg. And then in class of picture 1.jpg it will get class of "new1" by jQuery. <script> $(...

JavaFX window setTitle

javafx,window,title
I have a main class which is the following: public class Window extends Application { @Override public void start(Stage foablak) throws Exception { Parent root = FXMLLoader.load(getClass().getResource("Foablak.fxml")); Scene scene = new Scene(root); foablak.setScene(scene); foablak.setWidth(900); foablak.setHeight(700); foablak.setResizable(false); foablak.setTitle("Window"); foablak.show(); } public static void main(String[] args) { launch(args); } } How can...

Get Column title in View

asp.net-mvc,razor,parameters,title,actionlink
MVC5 did a great job on automatically creating the View page (Razor). It currently displays my list of Students for example with table heading like this: <th> @[email protected]("", "Index", new { sortOrder = ViewBag.NameSortParm })*@ @Html.DisplayNameFor(model => model.LastName) </th> Now. DisplayNameFor take a Lambda Expression as its parameter. However, I...

Variable php title tag doesn't work

php,post,title
The following code doesn't seem to work and I wonder why? <head> <?php $pageTitle = $_POST["title"]; "<title>". $pageTitle."</title>"; ?> </head> I get the following message: Notice: Undefined index: title All I want to do is to set the title of a webpage based on the input of the user. I...

Only first word of title retrieved with PHP showing

php,html,title,simple-html-dom
So I am trying to display a list from another website in mine, it all works fine but only the first word of the 'title' attribute is stored. I know that the whole title is retrieved from the other website so how do I get it to store all of...

add icon to html code title

html,title
This is not a favicon as others had corrected another post. This is how Expedia page source code looks: <title data-sctid="title" data-sct-hidden="true">🏨 Atlantic City Hotels: Find 122 Cheap Hotel Deals in Atlantic City, NJ | Expedia</title> the result page in google shows this http://goo.gl/YEjujq I tried to insert 🏨 into...

Android - Center the title of the Toolbar [duplicate]

java,android,title,toolbar
This question already has an answer here: Android toolbar center title and custom font 5 answers i have a Toolbar in my app like that: <?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" xmlns:local="http://schemas.android.com/apk/res-auto" android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:minHeight="?attr/actionBarSize" android:background="#263355"...

Toolbar title first letter other color

java,android,title,toolbar,textcolor
I want my toolbar to have a colored title. That's not the problem. But how can I achieve that the first letter of the tile e.g. is black and the rest white? Is this possible?

PHP and title tag

php,title
I have already tried searching on the web but I didn't find the solution. How can I add a 'title' tag with spaces on php code? I have this: echo "<li id='".$folder.'/'.$entry."' title=".$entry.">".$entry."</li> In this example the variable $entry = "Test one two three", but when my mouse is over...

Adding Image And title both to UIsegmentControl IOS

ios,uiimage,title,uisegmentedcontrol
Is there a way so that you can set both image and title of UISegmentControl simultaneously, so that image appear next to the title , just like image appear next to title in UIButton. I am trying but if I set image of Selected segment of UISegmentControl then title disappears...