Adding plugin to sidebar file in WordPress - php

So im in the middle of creating a site with WordPress but now Im stuck at the sidebars.
In sidebar.php-file I have added some text and CSS rules as a test and they are shown at the site as a sidebar. However, I want to show the forum's latest posts in this sidebar instead.
Im using a plugin called "tt post viewer". I tested it out on a page at the site and it shows me the latest post.
But im not sure what code I should add to the sidebar.php-file so that the plugin print the latest post at the sidebar.
And if it's possible?
https://wordpress.org/plugins/tt-post-viewer/
Would be grateful if anyone could help me out.
Thanks!
yours sincerely, Winterwind

You don't need to add code to the sidebar. Make sure your sidebar is wdiget-ready and just drag and drop the widget in the Wordpress Backend into your sidebar.

Related

How do I create a category filter like this in wordpress

How do I create a dropdown for categories on the right sidebar in wordpress. I looked at some tutorials but all of them shows how to create a menu with dropdown that goes in the header.
I want the category filter to be like this specifically in the sidebar. Does this require extra plugin or can be done in the wordpress itself?
Any help would be appreciated. The wordpress theme is Hueman.
I figured it out. In case anyone else wants to know. Here's how:
Install the classic widgets plugin
Drag the categories to your widget area

How To make Google Form plugin appear on Homepage?

I'm using Chameleon Theme from eleganttheme.com for my site project. See at onthegoventuresng.com and I want to display a form below the 3 blurbs content areas on the homepage.
I spoke with the customer support, they said that's beyond the support they can provide for the theme. I was advised to seek a 3rd party help for the theme customization.
Meanwhile, I know it's the theme's homepage file home.php
I installed Google Form plugin with the intent that the form should display below the content areas on the homepage.
Pls how do I go about this any code to insert will be appreciated.
If you know where to add the code in home.php, you can try adding this:
<?php do_shortcode('[wpgform id="xx"]'); ?>
Replace xx with your form id, and make sure you're adding that outside of any other php tags.
This will run the shortcode to display your form through the do_shortcode function: https://developer.wordpress.org/reference/functions/do_shortcode/

Nothing loaded after shortcode Wordpress

I got a very very strange bug! Im making a Wordpress blog theme and im fine but now i am making some posts, i wanted to insert HTML so i used some plugins so im able to add snippets to my post. Actually after i insert a shortcode all my HTML thats behind that shortcode doesnt get loaded! Here is an example:
As you see my page is completely blank after the content, so my menu etc is loading but my sidebar isn't i tried multiple plugins but it seems to do this with all shortcodes. Does someone now what im doing wrong?
Thanks in advance!

How to make Wordpress Custom page

i m a newbie to wordpress. I have started theme development and encountered these problems. I think these kind of problem does have a solution, but i m not able to find it out.
I m trying to make a custom page. Uptill now i have made header, footer and main index page.
I see that whenever my theme is activated, I see these default index page, with header and footer assign to it.
I have also made some cutom about us , contact us pages using the Add Pages Functionality of wordpress.
My Problem:
1.Now I m trying to make custom product page where I will have more than 100 images on that pages, and then i can change the images, add the images and description and the link url in future. I have made some html code and put it in the text Tab . I can also see the images on the frontend of the Custom page. But my template breaks. Images goes up and description goes far below.
Also i wanted to add fancybox to all the images which are goin to be replaced or added. But again my template breaks.
So can we make custom.php page and do some coding or anything which you feel is the right way of doing it, Please let me know.
Firstly create product.php page in templates folder using below code on top
<?php
/*
Template Name: My Product Page
*/
get_header();
// write your code here
get_footer();
Then, assign the above template to the page in admin.
Then, that page you can call in menu.
For more detail, check here :- http://codex.wordpress.org/Page_Templates
Actually you don't really need to create a custom template for this unless if you are planing to use that same template on another page.
If your page name is products , just create a file called page-products.php in your theme root. and write your code inside that page.
If your planing to develop themes first be comfirtable with wp template hierarchy.
http://codex.wordpress.org/Template_Hierarchy

Issue with wordpress plugin

What may be reason when i am using multiple plugins then some plugin showing in widget sidebar
but some or not like
plugin "wp-auctions" is showing in widget sidebar but
plugin "ultimate-auction" is not showing.
I am using "twentythirteen" theme.
please help me.
Well, take a look at this, http://wordpress.org/plugins/ultimate-auction/installation/
It seemed ultimate-auction is used on a page, not as a widget
Try create a new Page:
Enter this text "[wdm_auction_listing]" as a shortcode inside this new
page and publish it.
Then visit this page to see the auction list.
Goto the Admin page, choose Appearance->Widgets, check Available Widgets on the left side, ultimate-auction might be there, and you need drag it to the Main Widget Area on the right side.

Categories