During a migration of the content and testing the functionality, we are playing a lot with adding/removing menu items for nodes. Here's a snippet on how to delete all links in a menu.
Sometimes we need to completely remove all nodes, for example, when you copy a site for another project. Here the examples.
Very often when developing or maintaining a site, clients ask me to create functionality in the footer that will scroll the page to the top. I know this can be done with the helpful and wonderful Back To Top module, but I am the person who tries to have as few enabled contrib modules as possible on the site and save time on support in case a new version of the module appears. In my short article, I will show how to make similar functionality in 5 minutes.
Social media is an extremely valuable tool for promoting your marketing content. However, with so many social networks providing their own individual content sharing and follow buttons, it's often difficult to know which social media button to use for what purpose.
Sometimes we need to completely remove redirect entities, for example, when you copy a site for another project. Here are two examples.