WordPress doesn't show posts' details - wordpress-theming

Just deloyed a WordPress site on internet, using apache2.4+ PHP7+phpmyadmin+MySQL5+newestWordPress.The homepage can be visited as xxx.xx.xx.xx by explorer.
But there are 2 problems)
1.It doesn't show posts' details like imgs .
2.Only main page is available.Clicking a post title will cause (request is denied).
Problems show on visitors'end, things look going fine for WordPress admin.
Hope some friends here could help to diagnose...Thanks!

It's a staging server, looks like that.

Related

Share post on facebook, strange error

I need to implement a facebook share button on a website I am currently developing. The theory is simple and works with a simple link, e.g. https://www.facebook.com/share.php?u=https%3A%2F%2Freddit.com%2Fr%2Fall%2F. This works for me for random pages and my home page.
However, this does not work for all pages of that web site except the home page (/).
Example:
Page http://www.youmatch.global/approach/
Share link https://www.facebook.com/share.php?u=http%3A%2F%2Fwww.youmatch.global%2Fapproach%2F
The sharing dialog states "Object not found". I am already trying for two days but I have no clue what might be the problem.
Any ideas?
You may take look at this page to see what's wrong in your sharer : https://developers.facebook.com/tools/debug/sharing/

Tumblr "Sourceurl" only showing on certain posts

For some reason, on my blog, the source url is only showing up on some posts, and I can't figure out why.
This post here: http://kylesethgray.com/post/49192734862/smartphone-feud
and this one: http://kylesethgray.com/post/48863233123/twitter-for-mac-updated
both have the 'content source' url filled out in the post Data, but only the 'twitter for mac' post shows it on the site.
This has happened on some other posts too, and I don't know why it is. They're both 'link' posts, so anything and everything in the theme code is the same.
Looks like I fixed it. I guess tumblr has a bug where it won't recognize URLS without 'www'

wordpress widgetlogic conditional logic is not working for post page

I am just developing a theme under wordpress twentyeleven theme. In that theme I have installed widget logic plugin to show different widgets on different pages. But when I want to show some widgets in post page and made conditional tags for widget logic the widgets are not showing in post page.
I have tried some thing conditional tags like this
is_page('Blog')
is_page('246') // As 246 is the page id of my post page.
I tried all of them but still its not showing.
I had also tried wp_reset_query(); in my functions.php file. But no luck there was.
Update
To make blog page as my post page I have made changes in wordpress settings >> Reading >> A static page >> Post page -> Blog
So can someone kindly help me to solve this? I have already spent a day to solve this. Any help and suggestions will be highly appreciable.
Just try this in your widget conditional
is_home(Blog)
Here is the link http://wordpress.org/extend/plugins/widget-logic/other_notes/
Just check there is_home() -- just the main blog page
try is_page(246) without quotes.

Linking back to home page in wordpress

So I have WordPress installed in a subdirectory of my website with permalinks set up.
I have my website set up like so:
-index.php
-style.css
-/contact
---index.php
-/blog
---(Wordpress installation)
So my problem is, whenever I use an Home to link back to my homepage, it only works from my main blog page. If I go to a permalink post it takes me back to the blog home.
What I'm wondering is, is there a way to link back to the main page on both my blog home, and a permalink post? If i use ../../ it works on the post, but not the blog home.
I hope I worded this clearly enough, if I missed anything please let me know. Any help greatly appreciated, thanks.
Home
See: http://codex.wordpress.org/Function_Reference/home_url
You can use the home_url function: http://codex.wordpress.org/Function_Reference/home_url
I also recommend checking out the WordPress Function reference, and use the appropriate built in functions rather than inventing your own.
Edit: Not sure if you want to go back to the main index, or the WordPress index. If you just want to link back to your first index.php, you can simply use <a href="/>Home</a>

Facebook like working then not again

Ok I have checked all the other posts that are similar to this but none of them are truely the same.
I have a like button on my website. The page is created dynamically via a perameter passed to the page called "page"
find here;
http://dev.crosbylakeside.co.uk/watersports/index.php?page=watersports
Now on the home page of this section the like button works great. However it does not work on any other section at all!!
The strange thing is its essentially the same page. If you check my source code header info its always right. The facebook og data is also dynamic to simulate page changes and is working fine.
If you go to the dev bugs page and put in the url of my site it all checks out ok.
I have tried everything but I cant seem to get it to go.
Please help thanks
Looks like was a caching issue