How to make a GRAV plugin to display something on the browser? - grav

I am new to Grav cms and wanted to learn about the plugins. I tried making one but I wanted to make that plugin display something on the screen when I hit an particular route. Is there any online source to learn about this or can anyone help with this?

Related

Making a "scrolling" map in wordpress

I saw this site with a map showing different parts while scrolling https://www.visitfinland.com/destinations/. I want to make something similar in wordpress ? Do I need some plugin ?
A scan of the website revealed no 'magic' plugins or themes to make such a scrolling map. This is probably a product of a very clever (and quite expensive) design agency. So theoretically, you could make something like this in WordPress, but you certainly need knowledge of css to accomplish that.

How to create a photo gallery in WordPress by coding?

I created a photo gallery in WordPress, but the above gallery has a problem due to the interference of plugins. For some reason I can not remove plugins, Otherwise I would have done it.
So I said may be it could programmatically create an image gallery and add it to WordPress.But I do not know how to do it. I also do not know what code to use - html, css, js, php, etc. I only know a little bit about html.
Thanks for consulting me on this
Hoping to eradicate Covid-19
My recommendation is to find a gallery plugin that is compatible with your version of wordpress and has the features you're looking for or use the built in gallery from wordpress if you're using a theme that supports it. Scope it out here https://wordpress.org/support/article/the-wordpress-gallery/.
Hand coding is definitely one route to take but with having a small amount of html knowledge the plugin route may be your best bet until you can grow those other skills.

Add Image upload interface in wordpress

I'm working on wordpress. And has this kind of requirement, where I need to have an ability in admin panel for administrator wherein he can upload an image. This image will be used at two places in the theme.
I've tried to figure out this, and found that image url can be store in options table and can be used in the theme to retrieve the image.
But not sure how to give an interface for that in admin panel. Any idea to achieve that will be great.
Is it not possible to use the built in Custom Header image system? I don't really know all of your requirements but there is no reason to build something if you can co-opt something instead. :) Granted, it is called a "header" but it really doesn't have to be. Where it shows up depends entirely on the theme. If that doesn't work for you, you've got a considerably more complicated project but you'd probably want a Theme Options page.
Go to your wordpress panel-> plugins:
install plugin named: Custom Upload
Or your can download it from :
http://wordpress.org/extend/plugins/custom-upload/
A simple plugin to upload any type of image in wordpress.
I think you can use it to manage your images of theme.
And that's it, good luck.

Building designs into WordPress and Plugins

I want to build a new design into WP (not make a theme for anyone to use) but I was wondering is there anything specific you have to do to make sure plugins still work?
What about plugins you use on the current theme? Will they automatically work on the new design or do you have to do something for them to continue working?
Edit: To elaborate further, I have a site that currently uses a WP theme, however I want to get a new design created for it and then build that design into WP. I'm just wondering what I need to do to make sure plugins (new and existing) work on the new theme as I will be coding it.
Well the procedure would be like this :-
Create your design, then make the html for the same.
In the existing theme put your html tags properly and add your css in the style.css
Just keep in mind that you don't remove any wordpress functions without knowing it.
And for plugins, dont remove the below functions :-
In header.php there is a function wp_head();, this helps the plugins script to embedd scripts.
In footer.php there is a function wp_footer(); this also helps the plugins to embedd scripts.
Hope these steps help you, let me know if there is any other confusion.

Custom Wordpress Editor?

After looking around for hours I couldn't see anything even close to what I saw here:
http://www.youtube.com/watch?v=Y2Bu5NoYZ7M&feature=player_embedded
As you can see, they created a custom editor for Wordpress (not just some edits to TinyMCE), its a whole different editor even with an option to switch back to TinyMCE.
Does anyone know how to create custom editors for wordpress without altering the core files and just via a custom theme? I am starting to think its a custom meta box...but I am not sure.
Any clue will be much appreciated!
I suggest to use a plugin to extend the default tinymce WP uses.. Take a look at this plugin: http://wordpress.org/extend/plugins/wp-super-edit/screenshots/
If you really want a completely different editor, ckeditor is quite ok.. There is a plugin too: http://wordpress.org/extend/plugins/ckeditor-for-wordpress/screenshots/
Always use or write a plugin an don't change any core files is indeed the way to go!
Please let me know what you think!

Resources