Maximum URL nesting reduction - wordpress

Tell me, please, is it possible to reduce the nesting of the page url to a minimum?
For example:
From the original site.com/product_categories/main_category/sub_category/ make site.com/sub_category/
If possible, what is the best way to do this using WP? Maybe there are plugins for this task?
Thank you!

Related

Elegant locomotive smooth side-scrolling in WordPress

I just want to ask if I may, does anybody knows how to achieve this locomotive smooth side-scrolling in WordPress? This website is also made in WordPress is there a plugin that I can use or is this can be achieved through hard coding? Thanks!
Here's the link:
https://polygondesign.com.au/
Im looking a way to recreate this kind of side scrolling effect in Wordpress. I really love to create this kind of functionality, if this another language or script that needed to learn to achieve please let me know I really appreciate it so much!

Line numbers of less in css

I probably have a very simple and stupid question, but I just can't figure it out.
I know this is possible with grunt and less, but how-where-and-when...
I want my less line-numbers in my rendered css as comments so I can debug faster and easyer. (I know you can add less to your html for developing reasons but its just cleaner to directly write it in css.)
The following outcome is were I'm searching for:
Could someone send me in the right direction?
Thanks in advance!

Can initial focus be set to search field in WordPress Media Library?

I was just wondering if it's possible somehow (via an addon maybe?) to set the initial focus when the WordPress media library pops up to be the search field?
I have a lot of posts where I need to select images very fast and need to type in the names of the images to find them and this would be exceptionally handy except I've looked on Wordpress.org and a few other places that I know of and can't find a plugin that can do this although someone here might know of one or perhaps a way of doing this?
Many thanks in advance,
Best wishes,
Mark
For anyone interested in a fantastic solution to this a very helpful person showed me how over on Stack Exchange :
https://wordpress.stackexchange.com/questions/265740/can-initial-focus-be-set-to-search-field-in-wordpress-media-library
Sorry if posting here in Stack Overflow was the wrong place as I came across the Stack Exchange site after I'd posted this. Not really sure what the difference between the two places is though?
Best wishes,
Mark

How can I embed Drupal content in a widget on an external site?

I tried several approaches with the modules I found, but none of them seems to be able to do what I want!
I have a site R (remote) on which I want to integrate the content (posts with comments and possibility to leave a new one, forum, wiki) of a Drupal site D.
My idea is to have a widget on R, containing REST calls to D, but this approach seems to require a little too much effort in the rendering of that content.
How else can I do?
What in your opinion is the best approach?
Unlucky I can't use an iframe :( (I need something of asyncronous and reliable also in case the required content is not available)
Any help would be extremely appreciated, and I would be extremely thankful :)
Riccardo
If you cant use an iframe then Services module is definitely the way to go. The Services Views module is very useful to harness the power of views to give you a nice clean output.

I need help making a video/photo gallery with html and javascript

I know this has been asked before, but I can't find any thread that can exactly help me. I'm a bit of a noob, but I know my way around. Here's what I have so far:
HTML File
https://dl.dropbox.com/u/9757676/Website%20Stuff/Website.html
Javascript file:
https://dl.dropbox.com/u/9757676/Website%20Stuff/script.js
(it wouldnt let me post the code)
is there an easier way to do this, perhaps put all the images into an array? and I also need help making a next and back button, perhaps one problem can solve the other
Check jQuery tools: http://jquerytools.org/demos/tabs/slideshow.html.
It has lots of good plugins that could possibly help you.

Resources