I used a auto generated HTML code from Songkick and I put it straight into the HTML on my Tumblr website and its not showing anything but the title.
You can look at it here http://yuniwamusic.com/shows
This is the code I used
Yuni Wa tour dates
Basically, You need to open your file on localhost, not directly from your disc. :)
Related
How are new big budget websites hiding their html codes. For ex: if I go to Facebook or Tidal the website ends with </script> and not showing rest of HTML code.
What is the trick? Where does the rest of the code go or how they hiding it?
Source HTML code on Facebook isnt hidden. Is just generated by script. You can view HTML code in developer tools.
I would like to do something for a client.
I would like to make a content creator on an html file to be loaded in index.html for example or any other page.
So to be clear, for example im in editor.html creating an article with title and subtitle etc, and when i press a button every thing appears in index.html.
Is it possible to do it with jquery or maybe other tool?
Thanks a lot!
I just finished learning CSS and I trying to edit the format of the footer of the wordpress based website.
I can spot its code from firebug extension but dont know whether the HTML file is located in the wordpress directory so that I can edit it. Can anyone help. I am new to web development.
Go to wp-content/themes/your-theme/footer.php
There should be the PHP/HTML for the footer.
It is not always that easy to find where the html comes from.
e.g. : You can have a widget area in your footer.php and then your html comes from the widget you added to this area.
It also depends on the theme you use.
But mostly you'll see a header.php/footer.php/index.php file.
the most easy way to find HTML code or text is here: String Locator. just download this plugin and type the html code or text you need to find out and you can easily know the exact location of the particular code or text and after that you can easily change it.
Cheers!
Scenario Its a WordPress site where users submit their projects. This goes in format of a post in WordPress. Now, they also get to fill out the description of the project which is the body of the WP post. When they edit their projects and fill out description they get a simple editor with HTML tags enabled.
Question I would like to monitor my project in Google Analytic . I want to insert JavaScript into that field. How do I do that ? I mean its like <img scr...> works fine in the box. Just when I put <script>...</script> the script tags are stripped out and the inner part is shown as normal text.
Is it possible ? I was trying to put <img> with source as a php file. In the php file I had had put
<?php
header("Content-type: application/x-javascript");
?>
<!-- Start of analytic Code -->
analyticCode()
{
analytic...
tracker.trackPageview(myCode)
}
<!-- Start of analytic Code -->
When i put this, it doesn't work at all. Nothing shows up. I went to the source and clicked the src link and it opened showing the js code.
What shall I do. I am aware of the fact this is not good but I need help.
The Google Analytics script need to either be put in the footer or header of your website. Or in some cases you can insert it into the body, there's nothing wrong with that!
But what you will need to do is put your Google Analytics code in the footer.php or header.php of your theme files.
So just insert it before or after your other linked css and js files. It's usually right at the top of the page by the meta tags.
Or just use this plugin and insert your script http://wordpress.org/plugins/google-analytics-for-wordpress/
I am looking a script (example in web) like google images preview. I have attached an image what I am looking for
I have spend a time of looking such script / example but nothing. If someone know a name or a link please give it to me.
I have found a script but it's not exactly like Google Image's but has the same functionality. The script is free and is coded in HTML with CSS and JavaScript.
Click here to view the script