-
@mercime replied to the topic Basic PHP HTML Inserting in the forum Installing BuddyPress 10 years ago
@irieside We cannot generalize where and what to add any/all codes you find online because as I mentioned above, it all depends on what/where the code will be used. Sometimes it only needs a line or just inserting it in one file, sometimes you need to add/delete code in many files.
Link to the page with the code you are referring to and if…[Read more]
-
Hugo Ashmore replied to the topic Basic PHP HTML Inserting in the forum Installing BuddyPress 10 years ago
@irieside not sure why you are asking this here? Who gave this snippet to you and why didn’t that come with instruction on where to place?
If you grabbed it from this page then the question probably should have been asked there:
http://rating-widget.com/support/do-you-have-a-refresh-code-for-ajax-loaded-content/ -
Henry Wright replied to the topic Basic PHP HTML Inserting in the forum Installing BuddyPress 10 years ago
Hi @irieside
JavaScript can go inside a PHP file (via use of the
<script>
tag) or it can go into a .js file. In the case of the latter, you don’t need to use the<script>
tag. -
Henry Wright replied to the topic Basic PHP HTML Inserting in the forum Installing BuddyPress 10 years ago
Hi @irieside
JavaScript can go inside a PHP file (via use of the
<script>
tag) or it can go into a new file (make sure it has a .js extension). In the case of the latter, you don’t need to use the<script>
tag. -
@mercime replied to the topic Basic PHP HTML Inserting in the forum Installing BuddyPress 10 years ago
@irieside It depends on what you’re trying to do. Which code are you referring to?
@irieside
Active 9 years, 11 months ago