Questions tagged as 'wordpress'

1
answer

Wordpress - change title of the post in the header of the page

In this link: link you will see that on the image is the title of the post. Home I would like to put a code in Wordpress so that, just when accessing a post, it switches to "News". On the other pages, it's to stay the way it is.     
asked by 28.05.2017 / 03:38
1
answer

Show Image on Twitter WordPress Cards without plugin

I have this code, to add Twitter Cards without the need of 1 plugin, just adding the code in functions.php. The code works, but the article image only appears if you have attached it to the post. I would like to change it to show the 1 ind...
asked by 09.04.2017 / 16:50
2
answers

Video Background takes time to load (wordpress)

Hello! Please ... The video of the home screen of my site in wordpress ( link ) takes a long time to load. And the gif preloader finishes loading before the video. Can anyone tell me if there is any code or plugin to solve this problem? Thanks!...
asked by 10.03.2017 / 19:28
1
answer

How to use $ wpdb variable in wordpress

I have this code in a php file inside the wordpress installation, it does not work, I do not know what is wrong. global $wpdb; $tableName = "wp_posts"; $result = $wpdb->get_results("SELECT * FROM $tableName"); foreach ($result as $row) {...
asked by 08.03.2017 / 19:52
1
answer

Activate function when posting scheduled wordpress

Hello, I have a wordpress site that I do post scheduling. What I want is that after it is published, activate a function that does something. I have seen how to put in the functions.php but I do not know how I call this function after the sch...
asked by 14.03.2017 / 14:57
1
answer

How to return a Category ID in WordPress?

I need to return the ID within this function: $ field = odin_get_term_meta (CATEGORY ID HERE, 'cattitle'); I tried with get_term_meta () and get_terms () and nothing. I guess it's pretty simple, I do not know where I'm going wrong.     
asked by 18.02.2017 / 17:41
1
answer

Import bank WordPress

Good afternoon, there is a way to import a database from a website that was not made in WordPress for a new website made in WordPress?     
asked by 16.02.2017 / 20:25
2
answers

Error in uploading Wordpress themes

I'm trying to upload a wordpress theme whose size is 40MB. Whenever I try to upload, the file loads all and at the end appears the error: "413 Request Entity Too Large". How do I solve the problem?     
asked by 20.02.2017 / 14:26
1
answer

View wordpress posts by category

I use the code below to display posts in the ID 1 category , but instead of using the ID category, I'd like to use slug EX: cat = news <?php query_posts('cat=1'); while ( have_posts() ) : the_post(); ?>     
asked by 26.01.2017 / 23:12
1
answer

After migration Wordpress downloads and does not display page [closed]

The problem is as follows, after migrating from wordpress from one hosting to the other a problem occurs, it does not display anything just download a file called "download", I had this same error once but it was solved by own hosting. .htacc...
asked by 27.01.2017 / 02:53