How to add html in joomla 4

Website URL

(https://www.allnewhub.com)

Error Message

(I want to add html in joomla 4)

Other Information

((add html in joomla 4)

Other Information
Next, copy the following link tags and paste them into the head of your HTML.

Copy

(other information and details relevant to your question)

limit is over and also I have re-installed it and it is now solved

and also I want to add this

Copy and paste the following code right before the closing tag at the end of your code.

)

Hey,
it would be helpful if you could write more clearly. From your first comment, all I can understand is that you installed Joomla 4. What help do you want?

1 Like

I want you to share the images of how I can do these 2 things below

I want to add this js code in tag at the end of your code

Also I want to add this html code into the tag

Hello I want to add javascript code after body tag and html code in head tag so you kindly send me the screenshot of each accordingly so that I can follow it

Your site is working well but you didn’t write your questions very clearly.Like jaikrishna said we just couldn’t figure out what things you are trying to ask.
And I can’t see any code in your post.Please give more details if possible.

Website URL

(https://www.allnewhub.com)

Error Message

(Y I’m posting it again bcz in other post u r having a limitation on posting the codes and also I can’t send a message frequently I’ll have to wait for more than 10 hours to post the next message.

So I want you to show me how to add along with screenshots so that I can follow it accordingly.

I want to add this js code in tag at the end of your code

<script type="text/javascript">
var infolinks_pid = 3396647;
var infolinks_wsid = 0;
</script>
<script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>

Also I want to add this html code into the tag

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">)

Other Information

(Pls read my query wisely)

@mark09 mark codes with code formatting in the future
so it doesn’t show up blank and confuse others because they don’t understand your question

image

Please respect the forum and do not open new topics or circumvent the rate limit.
Besides, your question is more for the Joomla forum
because it has nothing to do with this hosting

FAQ Joomla! Forum - community, help and support - Frequently Asked Questions

4 Likes

What about javascript code how to add it show it with screenshot

I want to add HTML in the head section of index php

I want to add this javascript code in body section of index.php

<script type="text/javascript">
var infolinks_pid = 3396647;
var infolinks_wsid = 0;
</script>
<script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>

I want to add this html code in head section of index.php

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">)

Most CMS work with themes or templates which control how the HTML code of your website is rendered.

A few minutes of Googling tells me that Joomla has a built-in template editor you can use to edit the code. You should be able to find which file to edit and where to add these snippets.

Just please be careful and make frequent backups, because it’s very easy to completely mess up your site by hacking in the source code. And definitely don’t start making changes to the Joomla core code, that’s very likely to break things.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.