i have been looking for a javascript code for the thumbs up and down system to put in my blogger site. I've seen some of the help resources, but it all required the new layout, whereas i'm using the old one.
The example of the thumbs up and down buttons are like in the following website,
http://textsfromlastnight.com/
Where people are able to flag the "Good Nights" or "Bad Nights".
I have no experienced in writing scripts, so was wondering if any people can help with the scripts, or maybe tutorials of writing those scripts would be of great help!
Thanks!
How about this one
http://codecanyon.net/item/thumbsup/50411
This works for blogger:
Thumbs up Blogger Posts- Simple post rating for blogger.
You use a JScript of the JS-Kit.
Related
Sorry if this question sounds stupid but im a noob with wordpress.
I am a javascript developer, and I want make a little game (or games) with wordpress. Opening main page there is a sliding puzzle. After complete, a button appears and clicking there you pass to another page. This is basically the same to all pages.
But I can't find were i put my javascript or HTML code. I create the pages but I can't edit them the way I want, everytime i try to do it i only can edit like word. I cant create, change or edit divs attibutes or tags. To be honest the only thing i can edit is CSS in stylesheet, but is too limited.
I have done the search, try found a solutions or ways to done it but when i look to tutorials is all diferent from what i see.
to give you an ideia I want to do a mix of this:
-> http://www.rustylake.com/room-escape-games/cube-escape-case-23.html
and this
-> https://ebonyriddle.com/
but i don't know how to edit page to page.
can you help me?
Thanks for everything
PS: I know I can do it without Wordpress, but I want use it anyway to learn more about the CMS (because of work) maintain website structure and later learn how to do my own templates or plugins.
To answer your question directly, yes it is possible (and easy, relatively speaking) to add custom code to every page / post of a Wordpress site.
More generally, you’re talking about creating a custom Wordpress theme, which you can find out more about here:
https://codex.wordpress.org/Theme_Development
and here:
https://developer.wordpress.org/themes/getting-started/ (Good suggestion from #ItsGeorge)
Regarding adding custom JavaScript to a theme, your files will need to be enqueued as per these instructions.
Outlining the steps involved in Wordpress theme development would go beyond the scope of your question, but there are plenty of resources online and answers to Wordpress specific questions on wordpress.stackexchange.com. You will need to familiarise yourself with php as well as JavaScript, to take full control of Wordpress.
I would say that developing a game feels like an odd fit... If learning Wordpress is your objective, a blog or personal website might be a better place to start, then you could move onto a game once you are familiar with the concepts involved, e.g. the loop, which plays a huge part in how Wordpress works
Good luck!
The primary focus of WordPress is to put HTML code and JS out of the user. You might manage your extra JavaScript files with your theme customization. If you want to get more control about how your pages are rendering, you should use action hooks and filters. The simplest way for you is to override each page template like this
https://developer.wordpress.org/themes/basics/template-hierarchy/#single-page
The preferable resource to ask Wordpress related questions is https://wordpress.stackexchange.com/
I wanted to ask a maybe dumb question but how do you guys set up an html website to look like this when searched on google?
Ive tried adding anchor tags to the meta tags, yes maybe quite dumb idea , well it didn't work, does anybody know how to? Thank you in advance
With Sitelinks
As Google Webmaster Tools explains:
Sitelinks are automatically generated links that may appear under your
site's search results
This means you can't add them via some tool or code. The best you can do is to structure your correctly. See Google's page about this https://www.google.com/support/webmasters/bin/answer.py?answer=47334&hl=en
It's generated automatcally by Google, but you can help the robots to show the right things using a sitemap: https://support.google.com/webmasters/answer/156184 also it allows you to make a link preview.
PS: There is lots of tools to do that, like this one https://www.xml-sitemaps.com/
We often see this kind of gallery these days :
http://wedesignthemes.com/themes/index.php?theme=dreamspa (go to gallery)
http://joomla.templaza.net/fitness/index.php/gallery?limitstart=0
I think it looks kinda good and i would like to add something like this to a website. I don't have a lot of knowledge in javascript, so does someone have a sample, tutorial, link, code, or anything to help me to achieve this ?
My website was created using Bootstrap.
Here are some 'trendy' gallery ideas, they include a download to the code so it is kinda plug and play. Best to reference the source though.
I've got an HTML/CSS website and want to add my latest tweet in the footer section, a few notes:
I don't like the look of the available twitter widgets on their website
I just want something that will show Only my latest tweet as text (just the last one, not several), then I'll go around adding a background and customize the fonts through CSS.
I'm still a beginner when it comes to web development, so don't have any experience with JQuery/javascripts, so if the solution is done by those I'd really appreciate it if you keep it simple and easy to understand.
I tried following this guide exactly as mentioned in the steps but it didn't work, simply nothing was shown:
http://www.webdesigndev.com/programming/how-to-display-your-last-tweet-using-javascript-and-the-twitter-api
Maybe it's an outdated method of doing such thing, I'm not really sure, I don't want this exact method to work, just anything to get the job done.
Any help would be really appreciated guys.
This might help you. Go into your editor and replace the "" from what the source code you copy is using and replace it with real "". On all 3 lines
Got it to work for me
Just add this to your website on the place you need it:
<div id=”twitter_update_list”>
<script type=”text/javascript” src=”http://twitter.com/javascripts/blogger.js”></script>
<script type=”text/javascript” src=”http://twitter.com/statuses/user_timeline/[yourusername].json?callback=twitterCallback2&count=1″></script>
</div>
I'm looking for some advice to show tooltips/animations for first time site visitors. Any recommendations for existing plugins either for rails or jquery? I couldn't find any tutorials or examples out there. Thanks!
You have to use cookies to find out if this is the first time someone visits your site.
checkout http://www.dynamicdrive.com/forums/showthread.php?t=37905.
Also you can integrate it with some nice plugins for better UI. check out http://code.google.com/p/submodal/ It looks nice!
UPDATE: Found another working sample at http://bignosebird.com/js/h24.shtml