Most voted "wordpress" questions
Wordpress is a content management system (CMS) written in PHP with Mysql database, aimed primarily at creating websites and blogs. This tag includes questions about modifying themes and plugins, and extending their source code, always observing the scope of the site. Do not use for support questions, installation etc.
Learn more…1,512 questions
Sort by count of
-
0
votes1
answer786
viewsView children (Children) just by clicking on parent term
I have a sidebar and need to list the taxonomy terms 'Category'. So far so good, what I can’t do is: By clicking on a term, you should list his children’s terms in a submenu containing a link to the…
-
0
votes1
answer75
viewsError after Wordpress update
Yesterday I did Update to all Plugins and Wordpress core (4.0) of my site. I even did some Posts, so everything was ok. Today, give me this mistake: Fatal error: Call to Undefined Function…
-
0
votes2
answers104
viewsHow to hide empty query post?
I created a Query post for a certain category <div class="querypost-home" id="conteudo-home4"> <?php $args = array( 'category_name'=>'oportunidades', 'numberposts'=>1, 'offset'=>3…
-
0
votes1
answer829
views"Headers already sent" error when creating tables in plugin activation
I am developing a plugin for Wordpress, in which during the activation, two tables that relate should be created. My code is like this: function create_tables(){ global $wpdb; require_once(ABSPATH .…
-
0
votes2
answers30
viewsPermalink configuration in Wordpress
I have the following link: http://bettercallsaul.com.br/saiu-novo-teaser-de-better-call-saul/ That leads to a post, this post is in the category videos I would like to know how to include the…
wordpressasked 9 years, 11 months ago Felipe Viero Goulart 3,693 -
0
votes1
answer1052
viewsDeveloping Theme in Wordpress - Widgets do not appear
I’m trying to develop a theme, from scratch, in Wordpress, accompanying video lessons. The problem didn’t just happen to me, there are people commenting on the same problem that is the fact that,…
-
0
votes1
answer712
viewsWordpress version compatible with PHP 5.2.17
Looking for a Wordpress compatible version of PHP 5.2.17. I already scanned the site, but I do not find requirements of old versions. My last attempt was with Wordpress 3.8.
-
0
votes1
answer227
viewsHow to Enable My Header/Header Panel - Wordpress
I need to activate my header so I can customize my header through the features that the wordpress panel itself offers. In this image is highlighted the option I want to activate. The fact that it is…
-
0
votes1
answer54
viewsDoubt with wp types
I’m using WP Types for a product catalog site. I created categories, sub-categories and lines, all as custom post types and a daughter of the other, so that in the product registration, I select…
-
0
votes1
answer88
viewsDynamic parameter for Wordpress plugin
I have the need to send a parameter to mine plugin, this parameter is the folder path of that user. Variable example: $folder = /clientes/id_1/ $folder = /clintes/id_2/ $folder = /clientes/id_3/…
-
0
votes0
answers797
viewsDecrease the height of a div
Guys I want to make a change at the time of div on my site, however I don’t know exactly where to edit, I’m new with Wordpress and I don’t understand much of programming and I’m kind of lost.. Is…
-
0
votes0
answers552
viewsWordpress Image - Custom Header
I am creating a theme from scratch in Wordpress, and would like to make, in the header, a background with a custom image. I’m trying to do it on front-page.php myself. First, that I tried to access…
-
0
votes1
answer3187
viewsConvert HTML to Wordpress
There is a simple and fast way to migrate a static website on HTML for Wordpress ? Only HTML as a theme for WP
-
0
votes0
answers153
viewsHow to open the Wordpress media library by tinymce?
I’m trying to create a shortcode to embed audio files on the page, and I prefer not to use the standard Wordpress shortcode because I need other parameters. I use a basic script to open a tinymce…
-
0
votes1
answer49
viewsWordpress content page, how to edit
I want to change the page that displays the content when you click on a post, the article itself. I want to put on this page a block of ads from Google Adwords and put a <div> and a PHP block.…
-
0
votes2
answers108
viewsRemove post-type Wordpress articles
Remove I would like to remove the post-type Articles from the Wordpress menu I have researched some possibilities but nothing has taken effect. I tried creating the method unregister_post_type in…
-
0
votes1
answer49
viewsProblem with Wp Query
I have a loop problem when I do a wp_query. See my code: $query_video = new WP_Query( $args ); $args = array( 'post_type' => 'post', 'category_name' => 'videos', 'posts_per_page' => '4',…
-
0
votes1
answer67
viewsApprove wordpress comments via email
I am developing a site in Wordpress and I need the approval of the comments in the posts is done through email. I looked for plugins and tutorials on the subject but found nothing. The intention is…
-
0
votes1
answer178
viewsTake the values of a table and use to create a new database
Well I have the following problem: I’m switching from server to agency, and I came across the following problem: it had only 1 database and within this database there were several tables with client…
-
0
votes1
answer2736
viewsHow to call a certain category for a wordpress page
I am creating a theme for wordpress but I am not managing to call a certain category on a page ( that is in the menu ) . For example : I have a page in the menu about MUSICAS and I would like you to…
-
0
votes1
answer80
viewsWordpress - Order by meta value num
I’m cracking my head with a problem I’m having with Wordpress. I’m using the ordination meta_value_num to sort from a meta_key that goes the value of some properties (the value is placed without…
wordpressasked 9 years, 10 months ago marcoslunardelli 1 -
0
votes2
answers76
viewsHow to save information "not serials" in wordpress
Next, I’m a designer and I have to manage here in the back-end of life in what I can do, so I apologize for using "would not be"... I know that in Wordpress it is possible to save the data using…
-
0
votes0
answers178
viewsUncaught Error: Syntax error, unrecognized Expression: in the wp-includes folder
JS error in wp-includes folder I’m using a "Real 3D Flipbook" plugin to generate photo books on a particular page of the site. I need to be displayed several Books on this page, but only one book is…
-
0
votes1
answer925
viewsHow to translate (or edit) validation messages or "Labels" into wordpress plugins?
As an example, I installed a plugin to add an attachment upload field in the Wordpress comments form- https://wordpress.org/plugins/comment-attachment/ How can I change the text in "attachmentRules"…
-
0
votes1
answer589
viewsWhy is Wordpress Importer so slow to error?
Exactly ... Why the plugin Importer of Wordpress is so slow to import content from xml and because it is not updated to times being a relatively important of the same for content generation? E ...…
-
0
votes1
answer98
viewsExcerpt post wordpress
What’s wrong? I did the function to excerpt in wordpress posts and import to another site, however it is not cutting with what I set. Someone can give a light? <?php while (have_posts()):…
-
0
votes3
answers2507
viewsTranslate specific part of the Woocommerce template
Hello.. I can’t find the file to translate the text "Product successfully Added to your Cart." Along with the button "Continue Shopping". ps.: I’ve tried opening several language files in poedit but…
-
0
votes1
answer493
viewsActive menu on selected page in Wordpress
Hello, I’m using the Constructzine Lite theme from the Wordpress repository. 'Cause I’m having a hard time keeping the menu active when I’m on a specific page. Can someone help me? theme link:…
-
0
votes0
answers116
viewsWordpress functions do not work via ajax
I am creating a plugin for Wordpress with an audio recorder. By clicking a button I need to call a function from within my plugin to send an email with that audio. I didn’t understand how to use the…
-
0
votes1
answer58
viewsjquery src returning "Undefined" in Wordpress
I have a function to create extra fields in the profile editor of users of a site in Wordpress. A part of it creates two image upload fields (media Uploader with thickbox), and a snippet in jQuery…
-
0
votes1
answer267
viewsThe_excerpt wordpress does not break lines
I have a problem in the_excerpt of Wordpress. It is not breaking lines, the text of the post comes all together. Already when I use the the_content, the lines are broken normally. Someone knows how…
-
0
votes1
answer136
viewsShows posts from a Tag on a Wordpress page
I’m trying to organize my posts based on the tags of each article. Example? Cars, houses, a, b, c ... and so on. I found this site that seems to do that perfectly: http://punchsub.net/#anime…
-
0
votes2
answers111
viewsError in Admin paging
Hi, I migrated from the site web.dominio.com.br for www.dominio.com.br, I did not change folder only from url. I changed the siteurl and the home in wp_options, made a replace in the wp_posts,…
-
0
votes1
answer316
viewsQuery the wp_postmeta table using wpdb from wodpress
How do I print a table query on the page wp_postmeta filtering through meta_key using wpdb of wordpress? Already with the right structure. Someone can help me?…
wordpressasked 9 years, 6 months ago Michel Fernandes 3 -
0
votes0
answers383
viewsCan you mask the URL of your wordpress images?
When I hover over some file it shows me the full path of my site. Ex : http://localhost/portal/wp-content/uploads/sites/28/2015/04/web.jpg How to hide this path when right-clicking on the image ?…
-
0
votes1
answer101
viewsHow to redirect all urls from a subdomain to a specific url?
How can I do this with .htaccess? All pages of http://axi.axitech.com.br/ should be directed to the page http://axi.axitech.com.br/lojas-virtuais
-
0
votes0
answers52
viewsWordpress changing URL when accessing links
I have a domain www.dominio.com.br that points to my server and is redirected via .htaccess for the sub-folder www.dominio.com.br/novo through the following code: RewriteEngine on RewriteCond…
-
0
votes1
answer324
viewsPHP and Wordpress, run a script every time you make a new post
Hello, I’m needing that every time I make a new post on Wordpress run a script. I don’t want to waste time making apps, just want to know which page is responsible for sending the posts in…
-
0
votes1
answer390
viewsCarousel with Wordpress posts
Hi, I’m trying to apply OWL-CAROUSEL to a custom post page. When I do in normal HTML, without PHP tags, it works great, but if I play in the wp_query loop it does not take the plugin and list the…
-
0
votes1
answer1112
viewsWordpress - error starting site
Wordpress site of a colleague’s client went down. Message when entering the site: PHP Warning: require(wp-includes/compat.php) [Function.require]: failed to open stream: No such file or directory in…
-
0
votes0
answers38
viewsView avatar on Woocommerce products
I would like to know a way to display the avatar and user name in the single of the registered Woocommerce product.
-
0
votes1
answer200
viewsHow to identify category by Slug when inserting a record with wp_insert_post() from wordpress?
I need to identify categories by Slug when adding a wordpress post. Common and functional example: $post_id = wp_insert_post( array( 'post_author' => 1, 'post_title' => 'titulo', 'post_type'…
-
0
votes1
answer66
viewsExecute function whenever modify, create, delete post
Guys good night, I need to run a wordpress function whenever a post is included, deleted, edited and turned from the recycle bin. Someone can help me I don’t know how to do it. Thank you.…
wordpressasked 9 years, 5 months ago Angelo Merlo 103 -
0
votes1
answer2148
viewsHow to add more fields in Wordpress users registration wp-login
I developed a site that contains a user registration, then the site administrator releases this registration, but need to add some more fields and by default Wordpress only asks for username and…
-
0
votes1
answer24
viewsProblems with nested shortcodes
Hello! I’m trying to use some nested shortcodes, but I’m not succeeding. The shortcodes are these, in statement order in functions.php: function p_generico_shortcode( $atts , $content = null ) {…
-
0
votes1
answer101
viewsHierarchy of Wordpress pages
I am creating a website that will have two contact pages (one for each address). I wanted to create a structure of Breadcrumbs of the type: Home > Contactos > Loja 1 Home > Contactos >…
-
0
votes2
answers1630
viewsIs there crud plugin for wordpress?
I need a plugin that take the information from a form and insert it into the database, also want to be able to change, query and delete this data on an admin page. May be plugins distinct for each…
-
0
votes1
answer45
viewsI can’t download plugins from the dashboard
Hello, I’m with an error in my wordpress can not install plugins directly by the panel ai was installing by the plugin directory same, since yesterday when I went to install a plugin called jetpack…
-
0
votes1
answer832
viewsResponsive column
I have a Wordpress site to maintain and am facing a responsive problem. I have 2 columns, "main content" and "sidebar": <div class="col-md-12 col-xs-12"> <div class="row"> <div…
-
0
votes1
answer66
viewsOrderby custom field alters the Loop in wordpress
In my blog, I have different categories, and in each post I created a custom field with the key posicao with numeric values. This is the code I have $query = new WP_Query(array( 'meta_key' =>…