Categories
CMS Development Plugins Wordpress

Extract element from API response and populate into Gravity Forms form origin

I have spent the entire day attempting to capture and display the contents from an API call to Zillow into the form from which it was submitted using this stack: WordPress 5.3 GravityForms 2.4.15.6 (paid) Gravity Forms Address Autocomplete (paid: Link to Paid Plugin) Forms: 3rd-Party Integration (free: Link to WordPress plugin page) Forms: 3rd-Party […]

Categories
CMS Development Wordpress

How to Delete Code Below the Footer Section

I’m hoping you can give me some advice: I created a blog post you can see here: https://www.reyrrodriguez.com/seo-services-worth-it/ I added videos by embedding the YouTube player. I realized the page became a lot slower. So I tried to fix it by following this tutorial. https://www.labnol.org/internet/light-youtube-embeds/27941/ I added the script part using google tag manager using […]

Categories
CMS Development Drupal

How do I pull a value from a Paragraph field and put it in a template in Drupal 8?

I would like to pull a value from a field I have in Paragraphs. I have a content type called “Landing Pages” (landing_pages) I have a paragraph type called “Landing Page” (landing_page) The field in the said paragraph type that I would like to pull is called “Background Color” (field_background_color) As you can probably guess, […]

Categories
CMS Development Wordpress

Contact Form 7 Modify email before sending (including shortcode values)

Is it possible to modify a contact form 7 email before sending the email? (including the actual value against each shortcode) For example: Say, the final Mail in ContactForm7 looks like this: This is a test email… [your-name] [your-subject] <a href=”https://test.com”>Link</a> Now,the problem is, if I use something like wpcf7_before_send_mail hook, it seems I cannot […]

Categories
CMS Development Wordpress

Remove all users from site except one using WP CLI

I would like to remove all users from WordPress site using WP CLI except one (me, as administrator). This command remove every user: wp user delete $(wp user list –field=ID –number=10) Unfortunately (or not), nobody have any role except the administrator. So I cannot filter based on this information.

Categories
CMS Development Drupal

CKEditor not working after updating to drupal 7.67

I’ve updated a drupal website to the latest 7.x version, and CKEditor stopped working. I had it originally getting //cdn.ckeditor.com/4.5.4/full-all, I’ve updated to //cdn.ckeditor.com/4.13.0/full but no luck. I’ve tried to remove and reinstall the module, clear the website and browser caches, etc. I’ve also uploaded the version and used it from the local disk rather […]

Categories
CMS Development Plugins Wordpress

Is there a way to implement Emojis into the wordpress comment area of a plugin – e.g. wp-discuss?

I would like to integrate emojione-emojipack into a wordpress comment area. I use wordpress + elementor. <input type=”text” id=”emojionearea1″ /> <input type=”text” id=”emojionearea2″ /> <!– … –> <div id=”container1″></div> <!– #emojionearea2 plugin will use this container –> <div id=”container2″></div> <!– #emojionearea1 plugin will use this container –> <script> $(“#emojionearea1”).emojioneArea({ container: “#container1” // by selector }); […]

Categories
CMS Development Wordpress

Uploading WordPress images to a different server

I have two servers, Server A contains all of the site files, Server B contains the uploads folder. All pre-existing images are appearing correctly as you can see here : https://dcworld.org.uk What i need is to be able to upload new images to the media library. When i try to i’m getting: Unable to create […]

Categories
CMS Development Wordpress

Is it possible to make every avatar shown on the page link to the wordpress profile?

we use wordpress + buddypress and would like to make the avatars of our blog-comments link to the buddypress-profile. Maybe there is a hook or something which makes that every avatar has this link? I am searching for a global code, that adds the link everytime an avatar is displayed (blog-posts, comments, buddypress,…). Thank you […]

Categories
CMS Development Drupal JSON

How do I take my custom view and pass it through a json object to a template which prints out the title?

I want to write a custom module that: Gets the node title that is printed out by a custom view and then passes it inside a json object to a template which prints out the title. e.g: http://my-drupal-site/my-custom-view/12 prints out the title of the node with node id 12, e.g. “Delish Fish Dish” The custom […]