Tumblr ask box appearing where it shouldn't - html

I am writing a Tumblr theme and all went smoothly until I enabled the "ask box".
When I add the code for the ask box to my page, the box will appear on both my main page (where the posts are displayed), and also on my /ask page (which is the only page it should appear on).
I can't find anything on this issue in the tumblr documentation, and no themes I look at even have the tumblr ask box code in them.

The ask box doesn't need to be hard coded. Tumblr creates an ask page for you at '/ask' by using the permalink page style for text posts. The only thing you need to worry about coding in your theme is the ask link.
Make sure you wrap the ask link in the appropriate blocks - {block:AskEnabled} and {/block:AskEnabled}.
(All of this is the same for submit pages too. Just a slightly different block which can be found in the documentation).

Related

How to differentiate between in-page links and out-of-page links

I have a documentation page, and an example paragraph may look like this:
For more information on retailers, please see our Retailer section, and to see an example retailer, click here.
What is a good way to differentiate the two links for an end user, the first link being within the documentation, and the second link going to an external site. I thought about using the "link to external site" icon -- https://fontawesome.com/icons/external-link-alt?style=solid --
-- but to me that feels more like a "open link in new tab" icon, which has nothing to do with the above (both will appear in the same window the user is currently in.
What would be a better way to communicate that?
You could add the font awesome 'link' icon on external links. https://fontawesome.com/icons/link?style=solid
And just leave all other links as is. It makes sense to me but I think this is just a matter of opinion. :) This is more of a business/design decision than a technical issue. From what I've seen most sites don't specify between the two.

DIVI text not showing on page because of Contact Form 7

I’ve been using cf7 for a while now and I must say, good job!
At the moment the problem I’m experiencing is that any text I insert using Divi builder just vanishes and although the I-beam cursor still shows when going over the text I cant seem to find out the reason why the text doesn’t show (the text is located in the middle of the screen on the background image).
I’ve inspected suspected elements and found no luck within the css of both cf7 and divi.
I’ve removed and inserted the shortcode and the problem definitely resides within cf7
Any idea what the cause of this could be?
More information would be helpful. There might be a conflict between CF7 and Divi but that's not likely the case. Elegant Themes recognizes that CF7 is a super popular plugin and even wrote a blog post about how to style it.
Are you using a child theme? Did you make any customizations to your CSS, functions file, etc? Without being able to see the code it's much tougher to troubleshoot, even a screenshot would be better.

Embedding blog content in a webpage

I am working on a relatively simple website and I am required to incorporate some form of news feed into it, that can be easily updated without having to re-upload the site each time.
My solution to this currently is to use an <iframe> that displays content from a Google Blogger blog. However, the fact the iframe is smaller than the width of the blog I am asking it to display, makes the whole thing look very messy and unprofessional.
I have tried to remove the majority of the formatting from my blog, so it looks better in the iframe, however this also means the blog has no formatting when viewed fullscreen, or on the blogger site itself.
My question is:
I am wondering if I can manually retrieve the blog posts feed from blogger's database, and display them with my own formatting on my webpage, leaving the actual blog page untouched?
I hope I have explained that well enough, please comment if you require clarification.
Well, from my point of reference your problem is more of customising your blog. Well you can try this.
blogger-->Template-->Edit HTML(Instead of customisation)
There you will get messy HTML code. Find CSS Strips and edit as you want them. You can change variety from there. Gracius

Simple blog in CSS and HTML only

I have a simple html/css-only static website on which I would like to add a blog. Comments and RSS aren't necessary.
Now, how do I do that, without having to write all my entries in pure html?
My website consists of a vertical menu and an area to the right of it, where all the content goes on each page. I would like a blog inside that area on the blog page, so a blog on a separate page with its own layout is not what I'm looking for.
Googling this doesn't really help me much since the majority of the hits are on sites offering blog services.
Thanks in advance, I hope I'm not being too difficult. Please leave some feedback on my question if you think there are things I should have tried out before asking.
If i understand what you want the answer is that ist is not possible in pure html and css. With only Html and css you can not make a blog (if you dont want to edit the source everytime you write an entry and have to make a new file for each entry and so on).
You need some code (php or so) that is able to store and load the entrys into your site.
Html and css are not meant to make things working. With Html you define the elements so that they are structed and then with css you "style" your work. But for the task of a blog (i think you want an editor for the text on the site, the ability to edit, delete, more than one site and so on) you need something like php or aps.net that is able to "interact".

How to get Facebook like button to add a website and add the user to our Facebook page

I've just set up a new website at http://www.elitefightkit.co.nz and we also have a Facebook page which I don't have the url to hand at the moment (but it's called Elite Fight Kit). I want to add Facebook like buttons to my website. I can understand how to add them for product pages but I want to have a 'join us on facebook' button at the base of the page in a footer I'm producing so visitors can be added to the list of people on our Facebook page. We're growing a nice group of people over there.
I've looked into the Facebook like button and it seems to suggest that when user clicks it (if configured correctly) a feed item will be added to the users profile to say they like my website and provide a link back to the site. It seems I either have them like the website or like the Facebook group. That's great BUT I wondered if there was a way to have them click the like button, add the link to the website but ALSO join them to our Facebook page. Is there a way or will that be two seperate buttons?
This article was helpful when looking into the Facebook like button: http://www.webmonkey.com/2010/04/adding-facebook-like-buttons-to-your-site-is-damn-easy/ it pretty much got me rolling, although the Facebook developer page wasn't too hard to get my head around either. :)
Hope someone has some experience with this that can throw some light on it for me. Thanks in advance!
I've looked into a similar request before but decided - given the current social plugin documentation - that it could only be done with two separate buttons. My advice would be to make the Like button on your website point to your Facebook page, with a prominent link back to your website from there. Without wanting to state the obvious, any wall posts that then appear for people liking your page will effectively advertise both!