Replace all Visual composer shortcodes [vc_single_image] on thousands of posts with img src instead - wordpress-shortcode

I'm in the middle of changing a Wordpress theme running on an old version of the WPBakery Visual Composer to a new theme (Salient) running with their own version of WPBakery in their theme.
After changing to the new theme and the new WPBakery version, I'm getting a lot of broken shortcodes from the old WPBakery including [vc_single_image]
Example: [vc_single_image image=”35182″ img_size=”full” alignment=”center”].
Is there a way for me to replace all those broken shortcodes with the images that were once added to that shortcode?

Related

Aurelia au run --watch... not watching

I downloaded an Aurelia project for testing purpose. After restoring the packages (npm install) and running the application (au run --watch). Now I see Start watching... I was curious about doing some changes (for example in contact-list.html) and seeing the website adjusting after pressing F5 (because of watching). It does not work. My changes are not reflecting in the running website. In the shell prompt where it is watching, nothing happened.
You can test by yourself with the project zipped below.
Zip of the Aurelia project
If I create a new Aurelia project from scratch (au new) and following the wizard, the watching works pretty well.
I don't know why it does not work in the project I downloaded (code provided by a Book for learning Aurelia).
What book is this?
Part of the problem is that the version of the CLI you are using is 2 years old. I would recommend getting the latest version of the CLI, creating a new project that uses RequireJS
au new
give new project a name
choose custom (3)
choose RequireJS (2)
choose Babel (1)
choose defaults for the rest
copy the src folder from your zip file over to it the newly created project
You'll need to run npm install bootstrap#3.3.6 --save or yarn add bootstrap#3.3.6 to pull down bootstrap.
Copy the link to bootstrap's css from your zip file's index.html to the new project
Delete the Promise.config line in src/main.js.
Then just run au run (--watch is no longer needed). It should work.

Change blog theme (blogdown+netlify)

I have followed tutorial by Yihui and created a website using blowdown, github and netlify. Now, I want to change theme of my website. The issue is that I have several posts that produces many plots. As a result when I create a new website locally and add my posts, git push fails. I suspect it is because I have too many files.
I tried adding posts piece by piece as if I am writing a new post, which worked. But it will take too much time. I suspect others have the same problem. Is there a way to change theme of my website easier?
Two ways of changing themes in blogdown, which are documented here:
install the theme via blogdown::install_theme(), or just create a new site under another new directory and pass the GitHub repository name to the theme argument of new_site(). We recommend that you use the second approach, because Hugo themes could be very complicated and the usage of each theme can be very different and highly dependent on config.toml
In your use case, you can
1. blogdown::new_site(theme = "gcushen/hugo-academic") to build a new site
2. Copy your *.Rmd|*.md|*.Rmarkdown files into content/post
3. blogdown::serve_site(), if local preview is ok
4. setup github repo, push your new site to it ,and connects to netlify
It's strange that git push failed, it would be of great help to share the error message.

Can't add .icls theme file to IntelliJ

I'm using IntelliJ ultimate edition, and I'm on a mac. I'm trying to install this theme. My folder structure looks as follows:
~Library/Preferences/IntelliJ/colors/Dracula.icls
the IntelliJ folder wasn't there so I created that myself. I also tried IntelliJVersionNumber and that also didn't work. IntelliJ doesn't seem to be recognizing this theme. When I go to change the theme in preferences it only shows the default ones (which ironically one of the default ones is also called Dracula)
~/Library/Preferences is not the same as /Library/Preferences. ~ stands for your user home folder, so it's actually /Users/<username>/Library/Preferences.
See the FAQ.

Blocklayered module disappeared in new cloned shop in multistore mode

I've enabled multistore mode and created a new shop on the basis of old one (agreed to copy all files, options, products, etc.) and set a theme which was basically also a copy of other one.
I've lost some modules and elements in new shop, but I've managed to revive them by updating modules or changing their settings. However, I am unable to restore blocklayered module. I have tried so far:
in module's config: rebuilding indexes, prices, etc.
reinstalling module
rehooking to position, displayLeftColumn in my case
enabling columns in theme's config
Try to create a new filter template in module settings.

New MVC 4 Beta wont open .css

After uninstalling the previous Beta the new install wont open any .css files.
This includes new ones it creates that contain nothing more than a BODY tag.
The files open fine with the regular text editor.
New and old projects run fine including the BigShelf sample (the reason I upgraded the Beta).
It just seems the .css editor is hosed.
Any ideas before I take more drastic measures like a complete re-install ?!
The unhelpful error is: The operation could not be completed - Unspecified error