Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have a professor Rate and review website for Lebanese universities. I have created a new rating system with animation on bubble.io ( https://professor-advisor.bubbleapps.io/version-test?debug_mode=true )
but I want to implement it on Wordpress. Is it possible to have such custom fields? and also is it possible to have the same animations? (hover and click colors and texts)
Of course you can achieve it. It may be a longshot, but:
download their CSS files
download their JS files
look at the page-source
Working on your Wordpress theme implement the same HTML as you had on bubble. You do not necessarily need to reuse their code in all cases. When you know how a given design element or animation can be achieved, feel free to implement yourself. When not, then look at some properties on their tags, like classes and so. Search for the identifiable properties of the element you are working on at a given point in the CSS and JS files. See what happens with them. Try removing classes and CSS rules, see what happens. This way you can gradually find out what code is responsible for what element. But it may be a long process.
Alternatively you could implement something similar on your own. I like this option better, because, even though you will face some difficulties while doing so, once you are done you will be familiar with your own code and will be able to customize it later if needed.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have this design that I want to implement: it has this button to show recommended bases for that specific product. When I google about customizing woocommerce, all I get are tutorials on how add stuff around it, using newbie friendly tools, such as elementor, but I want to work in it, adding a feature to it.
For my layman eyes, it seems like a very simple interaction: you click on a button, and it adds some elements to the page. However, since woocommerce's cart is implemented on the page through a shortcode, not an html file or whatever, I can't just edit it like I do with most stuff. I know that I have to edit some php file somewhere in the plugin's directory.
So, what I would like to know is first: is that even possible? Because I really don't want to spends days learning to code php just to find out this feature was never even a possibility to begin with.
And second: is there anything in particular I should learn to be able to do this?
Sorry if this doesn't make sense, and thank you for the attention. :)
You can do this. You would have to build a new 'template part' to replace the cart template that outputs what you're seeing in the video you posted.
A full list of all of the template parts for the WooCommerce cart view is here:
https://github.com/woocommerce/woocommerce/tree/3.8.0/templates
There's a really straightforward breakdown of how to override default WooCommerce templates here:
https://docs.woocommerce.com/document/template-structure/
The shortcode that goes into the page utilizes these template parts to generate the content you end up seeing on the front end.
I think the file you'd be looking to override is this one, but still, take a look at all of them and confirm that's the case:
https://github.com/woocommerce/woocommerce/blob/3.8.0/templates/cart/cart-item-data.php
I suspect you could use the WooCommerce related products and upsell functionality to populate the list.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I've hit a bit of a road block I'm not sure how to add font styling i.e. bold font and also links.
I'm trying to get something like what brian over at backlinko has, which can be seen in this image below
I've only managed to achieve this:
Any ideas or suggestion to be able to achieve adding links and font styling to WordPress manual excerpt would be brilliant.
I was totally overthinking this and thought it was more complex than it actually was.
All I had to do was write the HTML inline in the manual excerpt box like this:
People that succeed with launching a new blog do one thing very well:
They build an email list! But in most cases, they do this before even launching their blog.
But you're probably wondering:
"How do I build an email list before I've even launched my blog?"
I'll break it down into three simple actionable steps that you implement yourself.
[alert-note]<strong>Free Checklist:</strong>Download a free checklist that shows you exactly how to use the strategy from this post (step-by-step).[/alert-note]
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
so i want to develop a mini website builder within my website. Have a control panel where users can edit the text in their websites, i want each of those html pages to have its own css file attached to it. Now, i want it so that the user sees something like a button saying "Edit Background color" they are prompted with a color picker and on hitting save, the css file is updated without them knowing that css even exists.
I would like to know what language i can use to make the previous example happen. And if possible a hint of code.
I appreciate your answers, Braulio :)
I didn't downvote you but just for informational purposes, the reason you were probably downvoted is due to the scope of your question, The language you choose depends on what platform you are running your site on. And it is likely possible to do what you want in tons of different languages assuming your platform supports them. For an easy solution check out .net languages like c# with ajax controls for live updates without refreshes. But then again you could use ruby with rails. Or you could do most of it in the client side with jquery and javascript then send the results to the server which could utilize php. It is just to broad a question to really answer without writing the whole thing for you which nobody is going to do.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I know CSS and HTML to a reasonable degree, but I've never built a multi-page website before.
I have a header area of my site coded, and want it to display it across multiple webpages. How can I do this?
Save it as header.php/header.html whichever one you need. Then, from every file you code from then on, you can <?php include('header.php');?>. The files you include in HAVE to be .php or it wont work.
Same applies to jsp if for any reason php didnt work or you fancied a change of pace
Create a file called header.jsp then use the tag below when you want to include it on a page.
<jsp:include page="{header.jsp}"/>
This is maybe of no use to you but who knows it may help someone. Some people find this easier and some find this harder it depends on your programming background.
Use a web programming language (PHP / ASP.Net / Whatever you like) to include the navigation bar in all the pages. There are template languages like Twig that can do that for you in a smarter way and provide you with additional template features, if you might need them.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I would like to know what is the best approach, based on good programming practices to show an external webpage (say Facebook or Twitter) on my website while being able to modify the HTML and CSS before showing it.
I know that I could use an iFrame however based on some opinions the iFrame does not seem to be a good programming practice (width issues, ugly scrollbars, etc).
Is there a better approach?
Update: Question was put on "too broad", in order to limit the possible answers I would like to know if it possible to change the CSS (and only CSS) of an iFrame, the user Muhammad Umer commented that it would be possible but provided no more details. Someone knows how to achieve this?
This can be done in PHP. First I want to suggest to look for API's. Facebook has some nice API's which allow you to show them on your website, with some options to customize is.
The more difficult (and lots of work to maintain) is using file_get_contents() and using some parsers and regex to get the parts you want. Allthough facebook (and some other sites) might prove difficult, they load some parts via JS, so file_get_contents cant get everything
Again, API's are the way to go.