I'm converting an existing site to use Timber. Here's what I've done so far:
Installed Timber.
Manually installed the Timber Starter Theme and copied over some custom functions from the old theme.
The issue is that page templates from plugins don't seem to be working at all. Specifically, the calendar page from The Events Calendar and the built in templates from Elementor (Elementor Full Width and Elementor Canvas). All I get is a completely blank screen. Here's the calendar page.
I thought this would work automatically because of the functions in header.php and footer.php. Is there something else I need to do to get plugin pages to display?
There's an article on a method to integrate The Events Calendar with Timber here:
https://theeventscalendar.com/support/forums/topic/events-pages-not-showing-up-in-timber-based-theme/
I've used this myself and it works well, one caveat however is that in more recent version of TEC you need to make sure Use updated calendar designs is not selected otherwise there is a mismatch between the enqueued CSS and the rendered views.
Related
I have created a structurally very simple plugin that embeds code in the page that creates a LearnDash course grid.
The embedded code is:
<!-- wp:learndash/ld-course-grid {"taxonomies":"ld_course_tag:'Resources'","thumbnail_size":"et-pb-image\u002d\u002dresponsive\u002d\u002dphone","ribbon":false,"content":true,"post_meta":false,"filter":false,"card":"grid-2","columns":"1","id":"ld-cg-l6r0jf4js3","filter_taxonomies":["post_tag"]} /-->
If I put that code directly into a page using the text editor, it's replaced by the course grid. But when I place it in the page via the plugin, it just stays that code, it doesn't get acted on and converted to the course grid.
The site uses the Divi theme although I am not using the visual builder to create the page that uses the plugin.
Any thoughts on why the plugin-embedded code doesn't get acted on? I don't know if it might be an issue with Wordpress, Divi, LearnDash, or something else.
I am trying to use the widget 'Super Store Finder' with no luck. Well I had some luckas I can get it to work on the page it is supposed to be on, however it shows up above the header on my home page too. Thinking it had something to do with the Goodlayers theme and page builder I am using, I tried building a standalone site with WPBakery and Elementor with less luck. Keep in mind with my first theme, all I had to do was activate the theme and it started showing up. Didn't add it to a page or anything at all. I don't want to get in to the complexities of fixing the plugin. I more or less am interested in a workaround.
I am using all the latest versions of everything btw.
My big question is simply...How can I stop this plugin from showing up on my homepage?
Continuing my search, I came across a plugin called 'freesoil Deactivate Plugins' and you can choose which page you do not want a plugin to show up on. Easy peasy finally....
I'm very new to WordPress (tbh, it's my first time working with it). And I need to make a website as my school project using CMS. Creating pages with templates is alright, but I have a lot of troubles with buttons. I found this website, and I can see it using WordPress. I need such buttons as on this page https://movie-chooser.co.ua/random-movie-2/ (they appear when you hover over the image). Is this a default option for buttons in WordPress? If not, is there a plugin for this or what is the way to add them on my images?
First Install Elementor plugin https://wordpress.org/plugins/elementor/
and go to page when you add button and open page with elementor
and do drag and drop any element like button, space, text editor etc.
You have several ways to achieve that:
Overwritting Wordpress CSS
Using a plugin
Create your own shortcode
1 - Overwriting Wordpress CSS
If you manage to display all the elements using wordpress template, and your only issue is to display buttons over the images, then it should only be a matter of CSS
2 - Using a plugin
The idea here is to find a plugin that help you to create/display the informations you need (maybe you'll need to add functionnality to basic post though custom fields or using a custom post type).
Once you find the right plugin, again if the plugin dosen't directly offert some settings on the design then you'll have to overwrite the plugin's CSS rules to display the elements as you want.
3 - Create your own shortcode
If you're new to Wordpress I wouldn't recommend this method as it is kind of advanced, unless you're comfortable with PHP/HTML/CSS (optionaly JS).
This is the more flexible solution as you can basically control anything, but it will require you to understand some core concepts of Wordpress like WP Query and how custom queries works.
The idea here is to create a shortcode.
THis shortcode refere to a custom made PHP function, in which you can create a custom request to fetch the informations you need to display from Wordpress database, and display it in an HTML structure that you decide.
THen angain, you'll just have to customize it though CSS.
Note : no need to create a whole plugin if you decide to create a shortcode, you can use the template functions.php file for that.
I use the tinymce editor for creating comments and I need to make it available to users outside of the admin zone.
How do you do that without a plugin ?
I've tried every available plugin but they either don't work without breaking the javascript (ajax) or do not work at all.Thank you.
Edit : I installed the "Ajaxed Comments" plugin and got it to work by having it reload the whole page after the content has been submitted.
I am now trying to implement the wp_editor function either with jquery or PHP, without any success so far.
I'm using Drupal for the first time and I'm hoping to move my existing website over to it. We've successfully imported our existing articles (in our own, custom format, stored in MySQL, moved over to Drupal's article system) and we're looking to get the site going. I tried installing the Colorbox module (I believe it was this one) but it doesn't seem to apply to all previous articles (the ones we imported). I've used WordPress before, and plugins (Colorbox, at least) had the ability to apply themselves to previous posts. Is this possible in Drupal?
Welcome to Drupal rar!
Colorbox module in Drupal may have different needs (probably attributes on the images) than the similar plugin in Wordpress. Although both are using the same js plugin this does not mean that they work the same way.
From the Drupal Colorbox documentation:
Load images from custom links in a Colorbox
Add the class "colorbox" to the link and point the src to the image
you want to display in the Colorbox.
Are the images set like this in your website? What is the code now for the images you want to display in a colorbox popup?
Did you follow the installation instructions for the Drupal Colorbox module?