I have made custom short code “[custom_posts type=’tweet’]” and using this in my one of post.
It results an out put like below:
D?R kom U21-planet in ?ver Stockholm med eskort av tv? stridsplan. (S?NT H?R BORDE H?NDA OFTARE)
— Fredrik Wikingsson (@fwikingsson) July 1, 2015
https://twitter.com/someone/status/631840574266580992
Nu s?ljer vi ut v?ren & sommarens succé f?r bara 395:- f?r du en underbar tunika i 100% Rayon! Passa… https://t.co/hfctDpKNwP
— Aqua Collection (@aquacollection) August 13, 2015
But it did not output like tweet. which means embed is not working.
If I use https://twitter.com/fwikingsson/status/616224371993092096 in post it outputs like tweet.
Please suggest, any will be appreciated
Thanks!
]]>Currently, when the default category widget is set to display as a dropdown (select) menu, the menu jumps to the user’s selection using javascript. There is no GO button. I need to remove the javascript and add add a GO button <input type='submit' value='GO'>
I can see WHERE this needs to happen, but I don’t know how to hook into it (I don’t want to alter the core files). By the way, I am doing this to make the select menu accessible.
]]>__
and _e
s in all the right places I successfully extracted a .po file for her to work with. So far, so simple.
Trouble is, now we have no idea how to get the theme to use the translated strings. As usual, the Codex is no help. I found this tutorial, but it says I’d need to go through all my strings adding a textdomain to them. Is this really necessary? In the absence of any docs I used Classic as a model, and that just uses __ and _e with no other parameters.
Sigh. Stuff like this reminds me why I gave up theming in the first place.
]]>‘
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘GROUP BY year(post_date), month(post_date), dayofmonth(post_date)’ at line 1]
SELECT DISTINCT post_date FROM wp_posts LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) LEFT JOIN wp_categories ON (wp_post2cat.category_id = wp_categories.cat_ID) WHERE 1=1 AND category_id IN (1) AND (post_type = ‘post’ AND (post_status = ‘publish’ OR post_status = ‘private’)) GROUP BY wp_posts.ID GROUP BY year(post_date), month(post_date), dayofmonth(post_date)’
My Site URL is https://www.uhqp.com
]]>https://wordpress.pastebin.ca/327522
A friend say me that the index.php and wp-blog-header.php must be include this code at the end:
]]>What would be causing this? Is it a database problem? Permissions?
Sorry for createing a new thread but I want to make my problem clear and make it easy for anyone running into the same problem.
-I have restored my backup and ran upgrade.php
-I have deleted everything on the server and restored
-I can see the site.
-I havent deliberatly changed my blog settings.
-I have deleted the plugin directory and tried it without that.
-my plugins were turned off when I restored.
-i have my permissions checked.
-I get a 500 internal server error when it fails.
-I have contacted my host in order to look at the server files.
Anyone know anything else I could do? I’m lost and frustrated. Any tip at all would be great.
]]>