Questions tagged as 'wordpress'

4
answers

How to use 'inside an array?

I'm facing a problem with an adaptation in functions.php of my theme Wordpress . What happens, I want to put: ':'(' => 'choro.png', Only it is not possible for the second ' I tried to use: ':\'(' => 'choro....
asked by 06.07.2014 / 02:34
2
answers

Change word displayed by php [closed]

I'm getting a word with a wordpress function, <?php single_cat_title(); ?> , it returns me the name of the category to be displayed on the page. Can you do that when it returns the category with id = 1 or name = name1 it displays ano...
asked by 07.12.2016 / 19:14
3
answers

Allow login by email, CPF or CNPJ Woocommerce

I need to make a filter where it is allowed to login with the CPF or CNPJ in addition to those already allowed by Woocommerce, which is the email or user, in the My Account page. In short, I need to be able to log in with email, user, cpf or cnp...
asked by 24.10.2016 / 15:35
2
answers

How to remove the WordPress title from the panel title?

How can I remove the "WordPress" name from the titles inside the admin panel? Ex: When you enter the Dashboard, all the pages in the title are named WordPress , how could I remove that word? It looks something like this: Painel < Me...
asked by 02.08.2014 / 06:06
4
answers

How to solve image upload problems in Wordpress?

After migrating to Kinghost, I'm having trouble uploading images to the Wordpress library. I normally upload the image but it does not seem to go into the library, it looks like it was created in the database but it does not appear in it, instea...
asked by 12.09.2014 / 01:19
1
answer

How to show a thumbnail of a wodpress post in circular form?

I'm trying to display the image of the wordpress in rounded form, what would be the best way? It is returned through the "the_post_thumbnail ()" wordpress function. Can anyone help me? <?php $postslist = get_posts('numberposts=2&or...
asked by 14.08.2015 / 15:38
1
answer

ERROR syntax error, unexpected T_VARIABLE

I'm having a problem and I'm a beginner in PHP, I do not know if it's easy to fix this error.    (Parse error: syntax error, unexpected T_VARIABLE in   /home/u611580299/public_html/wp-content/themes/simplicityantigo/includes/google-fonts.php...
asked by 18.12.2014 / 01:45
1
answer

"Uncaught PDOException: could not find driver" error in Wordpress on localhost

I'm trying to put a site in Wordpress in Xampp (localhost) but when I run it, the following error appears: My error: link    Fatal error: Uncaught PDOException: could not find driver in   C: \ xampp \ htdocs \ phdvital \ public_html \ pa...
asked by 11.09.2017 / 22:42
2
answers

How do I remove registered custom types from the list of custom fields?

Good evening! I created some custom post types through the command register_post_type in wordpress, along with custom fields (post meta). The problem is that they appear along with the custom fields in the pages editing (how do I remove them fro...
asked by 20.10.2016 / 03:07
1
answer

Execute a function after confirmed purchase status

Well, I have an e-commerce in my hands using CMS WordPress + WooCommerce + PagSeguro (Claudio Sanches Version) and would like to make a change in the DB after the purchase is confirmed. This change would be simple, just swapping a field insid...
asked by 09.09.2016 / 15:41