I need to add something using a shortcode, but I need to add it to my home page. For the home page, I 'm using the ‘Home Page’ template, which uses some widgets (first one is [Shapely] Parallax Section for FrontPage). So far so good.
The thing I need to add, must be added through a shortcode. I searched around and found this: add shortcode to template. It works, because I 've added the shortcode to templates, and it does work.
Now, what is the problem … I can’t find which template is being used for the “content” of that widget. The closest I could get is template-home.php, however that seems to have only three parts, the header, a sidebar section (under an if-statement to check if there is a sider) and the footer. The ‘middle’ part is missing.
Indeed, I added my shortcode (which is used to add an animated image) but I can either have it just after the header, or right at the end, right before the footer. You can see an example here: https://stopodi.rastan.gr/
where the ‘animated’ foot, comes right after the header…
Basically, what I want to do is to add the shortcode in the main widget, so that the big green foot you see now as part of the image, will be animated and will seem like it’s ‘landing’ in the image (I will take it off the image you see now). I want the big green foot, to be animated like the small one you see animated now in the top left corner. This animation can be provided with a shortcode, I just need to find the correct place to put the shortcode.
OK … sorry for the length of the message, I wanted to explain what I want … Basically, the question is, which template is responsible for creating the [Shapely] Parallax Section for FrontPage so I can inject my shortcode ???
Please help …