Nothing loaded after shortcode Wordpress - php

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!

Related

Adding AMP to wordpress posts with multiple page numbers

I am working on adding AMP to my wordpress single.php page. I have installed the plugin and am making the edits I need to have it looking correct. The issue I am having is many of my posts are multiple pages and I am trying to figure out how to get wordpress to render the other pages using AMP.
For example if i have a page with the url:
www.example.com/post-category/post-title/amp/
That would render perfectly using AMP BUT if I try to do:
www.example.com/post-category/post-title/2/amp/
That redirects to a different post instead of going to the second page of the intended post. If anyone has any idea of how to make this work as it should I would be very grateful. This is the last part I have to figure out to get my pages to work with AMP.
Thanks!

Make Changes to Wordpress Graphene Template

I have bee getting to grips with Wordpress and so far so good. The one thing I cant workout is how to edit the default template which is being used for my home page and any subsequent new pages I create.
My aim is to remove the "Comments" and "Latest News" that appear by default and instead setup my own image slider, text etc.
I just cant find the code that is setting what appears in the template.
So far, as well as lots of digging in the files, I have created a new child template and CSS to go with it but now I need some help.
Thanks all.

Adding plugin to sidebar file in WordPress

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.

Standard HTML & CSS to wordpress page

I created a webpage in Standard HTML and CSS and everything looks / works exactly how I want it too.
Now I need it to appear as it is on a wordpress site (http://www.texasenergyessentials.com/). I already created a template page and can see it in the template select in the wordpress "add new page" window. I was hoping I could just select the template and leave the text editor blank but that doesn't seem to be the case. All I get is a completely un-formatted page that says welcome guest.
What is the easiest way to get https://gist.github.com/anonymous/8545681 to work on the aforementioned wordpress site? ?
Thanks!
P.S. Please don't link any codex files I just spent 2 hours digging around in them :(
Try to read and understand how http://codex.wordpress.org/The_Loop works
Install this theme https://code.google.com/p/wordpress-naked/ and try to work your way to the desired theme by editing theme files. That will be much easier.
Maybe the problem can be understood by reading the template hierarchy:
http://codex.wordpress.org/Template_Hierarchy
(especially check the visual overview)
If you name your file page-[insert-page-id-here].php Wordpress will use it for the page you've created. Get your page id by editing the page and looking it up in the url.

Comments are not displaying in wordpress 3.1

Im running Wordpress 3.1 and its showing that there are comments (ie: 3 comments) but when you click into the single blog post they don't appear but the comment form appears.
Im not sure whether its a template issue or something's not correct in the functions.php.
I have the multi site function running for multiple blogs.
Anyone else having this problem and or have a solution?
It has to be template issue, make sure that you have comments.php file present in your theme directory. You may want to copy from default theme too. The functions.php has nothing to do with that though.

Categories