FAQ Database Discussion Community


Why doesn't my site respond to the size of my browser window?

css,responsive-design,media-queries,viewport,meta
I have created a page with media queries in my CSS so that it should respond to the viewport of the device. When I use the Firefox web dev tool for responsive design I can see how my site reacts. But when I resize my browser I cannot. http://champlain.torqueweb.com/html/Responsive1.html Should...

Using a different image for microdata that isn't displayed in the article?

html,metadata,meta-tags,meta,microdata
I'm working on a website that has a bunch of articles. I'm looking to find a way to add an image that is invisible without putting it inside a hidden div. When users add an article, there is a "main" image of the specific proportions that the users upload (which...

Wordpress - How can I hide the_meta output if it is empty?

php,wordpress,custom-fields,meta
I've created a function and hook to insert some custom field information on some of my posts. <?php the_meta(); ?> I have added some CSS formatting (box with background) for display. Problem: if I have a post without any custom fields defined it displays an empty box. How can I...

display wordpress post meta in editor after save

php,wordpress,post,meta
I am trying to write a small plugin in wordpress, I have a small meta box with text input and a radio button in which user needs to add information, and I want that the imformation that is saved in the post meta box will be displayed after save (in...

How to load User Meta?

php,wordpress,meta,author,multisite
Wordpress author.php is not loading the correct information from user meta. It's loading whoever is currently logged in to the blog and not displaying the person who it links to for example: http://www.website.com/author/username1 http://www.website.com/author/username2 is displaying the same despite been two different users. I've done what is asked, however I'm...

How to redirect in “NEW” tab with meta

html,url-redirection,meta
Ho can we redirect a page in new tab when we use meta tag. For ex. i am trying this code <meta http-equiv="refresh" content="5;URL=http://www.example.com > but it redirects it in same page. And if i add the following code after the url then also nothing happens target = "_blank" Please...

Recreating a visualization

r,meta
I am very new to R (1 week). I would like to recreate the following graphic for the attached dataset. Date Rev 1/31/2013 536209 4/30/2013 559175 7/31/2013 535081 10/31/2013 529595 1/31/2014 530919 4/30/2014 518588 7/31/2014 382156 10/31/2014 336705 1/31/2015 326286 I found a code I was attempting to revise for...

What is the purpose of

meta
I saw that many web developers include in tag <meta itemprop="name" content=" "> <meta itemprop="description" content=" "> <meta itemprop="image" content=" "> I don't understand what is the purpose of this meta tags...

Twitter Meta Image Clipping

twitter,meta
When using the meta tags with twitter, does the image need to match their aspect ratio to prevent clipping, or just be larger than their minimum requirements?

Extract meta description field with goquery

go,extract,meta
I'm using the goquery package to extract pieces of information from a webpage. Please see my code below. The outcome when after running the function is: Description field: text/html; charset=iso-8859-15 Description field: width=device-width Description field: THIS IS THE TEXT I WANT TO EXTRACT I'm almost there, however I only want...

php redirect before curl completes execution

php,jquery,html,curl,meta
So we have a system that can alter what you see on a display. This code is meant to send the command being "argument" to that JQuery page. The curl is working beautifully, but when we comment out the if statement that handles the redirection to an XML document. The...

Cake PHP meta tag keyword giving “Array” instead of keywords

php,cakephp,meta
In terms of Cake PHP, I am a newbie. Some of the pages in my site giving meta keywords like below. <meta content="Array" name="keywords"></meta> I found that meta data comes from app/views/layouts/defautlt.ctp, where we have the below code to display meta keywords. <meta name="keywords" content="<?php echo $meta_keywords; ?>" /> I...

Scope of Cache-Control meta tag in HTML file

html,http,caching,meta,cache-control
When declaring <meta http-equiv="Cache-Control" content="no-store"> inside the head tag of an HTML file which scope does this statement have? Does it mean that all other files referenced in this document (like JavaScript or CSS files) shouldn't be cached either? Or does it just refer to the current HTML file?...

Meta refresh tag adds semicolons to URL (;)

php,forms,refresh,meta,semicolon
I have a PHP/HTML form that when the submit form button is pressed it is supposed make the database changes and redirect the page to another URL to view the form details. The next page requires receiving two variables via GET in order to load the information from the database....

echo HINDI language word stored in an array in PHP script

php,utf-8,echo,meta,hindi
I am trying to echo hindi script words stored in an array. The output is getting displayed when i use print_r() but not when i use echo. The code is below. what changes do I need to make? <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <?php $base_arr=array("सूर्योदय","कँगन","ख...

Do I need to add nofollow rel attribute to links if the href page contains a robots meta tag containing noindex and nofollow?

html,seo,meta,googlebot,nofollow
If i have a page ("dontFollowMe.html") with the meta tag: < meta name = "robots" content = "noindex, nofollow" / > ... and I link to that page ... Do I need to include the nofollow rel attribute to the a element? : <a href="dontFollowMe.html" rel="nofollow">sign in</a> Thanks...

html5 meta charset-utf-8 not working

jquery,html,html5,meta
i am using this meta. <meta charset="UTF-8"> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> i have used this text: <p>Vignerons de père en fils depuis 1847 notre Maison se situe au cœur du vignoble champenois, à quelques kilomètres d’Epernay sur la commune de Moussy.</p> show my text : Vignerons de p�re en fils...

Could IE=edge affect the document mode?

internet-explorer,compatibility,meta
In the header of my website I have the following meta tag: <meta http-equiv="X-UA-Compatible" content="IE=edge"> As I understand it, IE=edge will tell IE to view the webpage in the highest mode that the browser is capable of displaying. So if the visitor is using IE9 it will display the page...

Twitter Cards not expanded by default

twitter,meta,rdfa,twitter-card
I am trying to create Twitter cards using the twitter meta tags (and Open Graph for other sites like Facebook). When I see my twitter feed from others like say NPR News the cards are expanded by default. However when I post the same content - the card is not...

Gstreamer plugin get video meta data, library not linked?

video,gstreamer,meta,dynamic-linking
When I call these functions: meta_api = gst_video_meta_api_get_type(); crop_meta = gst_buffer_get_video_crop_meta (buffer); meta = gst_buffer_get_video_meta (buffer); Obviously, I need to include these header files: #include <gst/gst.h> #include <gst/video/video.h> #include <gst/video/gstvideometa.h> The gstreamer library is dynamically linked at runtime. When I run the whole pipeline through gst-launch-1.0. I got this error:...