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
-
13
votes5
answers554
viewsError passing URL as parameter... Joeblogs & Htmlagilitypack
Main namespace ReaderXML { class Program { static void Main(string[] args) { var website = LeitorDeXML("http://SITE ORIGEM/").ToArray(); var total = website.Count(); for (int i = 1; i < total;…
-
9
votes0
answers898
viewsComment form does not appear in theme
I am creating a new theme for Wordpress and can not make appear the file comments form comments.php. The other related elements (already saved comments, amount of comments, etc.) usually appear, but…
-
9
votes1
answer6414
viewsHow to put a link to download the app when the user enters my site by mobile
Well, I have a website and the app for IOS and Android. And I wanted every time the user entered through the smartphone he had the option to download the application, and already recognize which…
-
8
votes1
answer192
viewsMalicious code not identified
Guys, I have a site that was hacked (Wordpress) and on all pages . php was added the code below: <?php $ahwwxolsc = '>>…
-
7
votes3
answers7402
viewsLoad refresh-free page post with AJAX and JQUERY
I am in need of a Wordpress help as I would like to load posts without refresh or reload page. I have a menu that returns posts from a certain category in a <div> left and would like to be…
-
7
votes6
answers5683
viewsCopy Wordpress database without using Phpmyadmin
I need to migrate a Wordpress site from one server to another. One of the necessary steps is to export the database used on the current site, edit some data if necessary (such as the site address…
-
7
votes3
answers9603
viewsCreate custom page for user registration
I need to create a custom page for registering users in wordpress. In addition to the traditional form, by the URL /wp-login.php?action=register there is some way to create a custom page and call…
wordpressasked 10 years, 3 months ago Mateus Carvalho 1,494 -
7
votes3
answers377
viewsFirefox and IE cannot find source
I have a wordpress site where I installed two fonts: Calibri and Castlet. Chrome works correctly, but Firefox only recognizes Calibri. This is the site: http://plengenharia.syswebapp.com.br/ In Css:…
-
7
votes1
answer244
viewsCustom post url structure with tags and tag listing
Hello I’m trying to reach the following url structure for the post personalizado portifolio: website.com/portifolio - Display all posts - OK website.com/portifolio/Slug - Displays the portifolio…
-
6
votes2
answers254
viewsNews just for certain group on wordpress
When inserting a post in wordpress, I have the taxonomy 'group' with terms 'pharmacies, grocery stores, snack bars...', which are the groups, because I already have customers for these groups. What…
-
6
votes2
answers4044
viewsTheme only on a Wordpress page. Is it possible?
Has a site in Wordpress that is with a specific theme. IE, all posts and pages are with the appearance of this theme. It turns out I need to create a new page, and that page has to have the…
wordpressasked 10 years, 6 months ago morphinduction 473 -
6
votes2
answers598
viewsCreate HTML Blocks in Wordpress and call them in the Post or Page
We have a real estate website where we use ACF (Advanced Custom Fields) to better manage real estate pages. One of the fields is the Price Chart. A price list of a condominium serves for several…
-
6
votes2
answers256
viewsOptimization of custom search tool
Guys, I’m creating a search page that gets, via POST, the information on a form containing several checkbox. See below that there are several sequences of results and is marked in orange one of them…
-
6
votes0
answers236
viewsWhat are the basic requirements for creating a Wordpress template?
I would like to know, according to the experience of those who have worked with this theme, what are the basic requirements to create a Wordpress template. What to avoid and what to value when…
-
6
votes1
answer1040
viewsMake edge effects in CSS such as chamfer
I need to do some effects on the edges of images and rectangles, as in the image below: Notice that they are in the corners, in the gray rectangle this in the top right, in the images in the base…
-
5
votes4
answers1135
viewsJavascript error in Wordpress admin after upgrade to version 3.8
I recently updated an installation of Wordpress 3.0 for 3.8 and the features of drag and drop stopped working. I noticed two Javascript errors on the page in the file load-scripts.php indicating a…
-
5
votes3
answers2440
viewsHow to call scripts in a child Wordpress theme?
I’m trying to build a Wordpress template. What I can’t do yet is call the script in the child theme I created. CSS worked, but the scripts didn’t. There are several, and I got lost in how to put…
-
5
votes1
answer894
viewsHow to put Wordpress bilingual?
I had to put a website (template developed by me) under CMS Wordpress in two languages, but the plugin qTranslate not enabled in my version. Is there any way to do it without plugins? Or maybe a…
-
5
votes1
answer5113
viewsHow to add HTML dynamic code snippets with Javascript/jQuery
Usually when we want to list data on front-end using the tags of back-end<%= %> or others. The stalemate I’ve come across now was: "How to do this in jQuery?". To explain better, I am…
-
5
votes7
answers762
viewsRandomize results with PHP
I have such a structure (which I created): <div class="banners"> <?php echo do_shortcode("meubanner_1")?> <?php echo do_shortcode("meubanner_2")?> <?php echo…
-
5
votes1
answer526
viewsConvert HTML menu to Wordpress
For the first time I am working on converting an HTML template to Wordpress. I’m having some difficulties and the one that’s bothering me the most is this: I have an HTML menu and would like to…
-
5
votes3
answers1759
viewsCreate post on a wordpress and bring in other wordpress automatically
Options: Create a new POST on a wordpress-1, from another wordpress-2. or Everything that is created in wordpress-2 be "copied" to wordpress-1 or Create/Register a product in a store(site)-1, from…
-
5
votes2
answers1345
viewsClick on the Link and open a player below it
I have some links, example: Link1 Link2 Link3 Link4 and would like to click on Linkx it opens an "embed" just below it, and that each Link brings its corresponding video. I’m working on a wordpress…
-
5
votes3
answers4269
viewsDetect browser language and redirect
I am using Wordpress and wanted to redirect my page to the "/br/","/es/" versions, when the browser language is one of these and when it is not it stay in the default page, that is the ". with". I…
-
5
votes2
answers3032
viewsTest a new theme in Wordpress without losing the previous theme changes
Hello, I recently created a wordpress blog, I liked the theme, until a few days ago, but now I’m starting to think that it is not very blog guy. I’m using the oblique theme. The blog is already in…
-
5
votes1
answer551
viewsList custom post type of various taxonomies
I used that code: <ul> <?php $args = array( 'post_type' => 'integrante', 'orderby' => 'title', 'order' => 'asc', 'lang' => 'pt', 'tax_query' => array( 'relation' => 'AND',…
-
5
votes1
answer5696
viewsDownload failure when trying to update plugins in Wordpress
I did the installation of Wordpress locally, installed some plugins and now I’m trying to update the translations. What happens is that it does not update. Obs: use Easyphp and WP 4.6.1 It displays…
-
5
votes1
answer341
viewsHow to find out which template Wordpress is using on a site page?
I’m often not sure exactly which Theme file is generating a page from the site, for example, http://example.com/nome-da-pagina-post. What I do is I put one echo within each Theme template,…
-
5
votes1
answer92
viewsConfigure log of errors
I’m working with PHP and I’m in the support part, but I’m not really familiar with the bug system. Is there any material I can read to help me? My biggest problem is the following, many errors are…
-
5
votes1
answer86
viewsMove a great Wordpress site own to Wordpress.com
I would like some help to move a large 11 year site with 38 Gb storage for wordpress.com. I found some instructions in the official help database, but I’m not sure if we can follow them without…
-
4
votes2
answers401
viewsProblem with multi editor in Wordpress
I’m using several editors in one custom post type, however the plugin qTranslate adds to language tabs only in the default Wordpress editor and others not and along with that gives a bug in the tab…
-
4
votes2
answers984
viewsViewing Unique Custom Post Types Categories
I created a Custom Post Type, but now I’m not able to create categories that are seen only for this CPT. When adding 'taxonomies' => array('category'), it displays all categories. How can I…
wordpressasked 10 years, 9 months ago Leandro Costa 2,172 -
4
votes4
answers4165
viewsHow to pass parameters through the URL in Wordpress?
I have an event page in Wordpress with the following URL structure http://exemplo.com.br/eventos. I would like to pass the following parameters, exemplo.com.br/eventos/ano/mês, to list the events of…
-
4
votes1
answer355
viewsWordpress Search for post
I have a pertinent question that I have been trying to resolve for some time. On my website I have 2 custom search modes and on different pages, however when creating the 3rd I see the results on…
-
4
votes1
answer114
viewsTime in PHP format
am creating a wordpress function to schedule events in the following way: add_action( 'wp', 'prefix_setup_schedule' ); function prefix_setup_schedule() { if ( ! wp_next_scheduled( 'send_email' ) ) {…
-
4
votes2
answers466
viewsEdit categories and tags in the front end of Wordpress
I’m trying to put together a page for editing categories, tags and custom taxonomies via front end. However, now I cannot find the correct function to submit the update of the fields. The code so…
-
4
votes1
answer1076
viewsFacebook share button displaying wrong information in "box_count"
In a wordpress-based project that I’m working on, I have a modal that dynamically receives various information coming from a post-loop. This modal serves as a kind of "Preview" the full post. Within…
-
4
votes2
answers4525
viewsCreate page (page) only in Wordpress PHP code
How to create a page just for the code? Because it is static, IE, you do not need to insert content through the panel, but to have the URL of this page, you need to create a page, even if it is…
-
4
votes1
answer479
viewsOrder ASC and DESC according to custom_field
I have a site session (Wordpress) where I add partners according to the category using Custom Post Type. It is a ballroom site. Each custom post type category represents a branch. Ex of the…
-
4
votes2
answers480
viewsRemove the original image from the server after Wordpress generates the thumbnails
I need to remove the original image that gives rise to Wordpress thumbnails after thumbnails are generated. I have 3 sizes of Thumbs that I use, but to avoid that the server is left with unnecessary…
-
4
votes0
answers599
viewsMariadb for when I have many hits on wordpress
I have a Wordpress site, used Mysql before in Centos, I decided to migrate to a Debian 7 with Mariadb, but when I have more than 30 simultaneous blog accesses, the database to. Go on down mine…
-
4
votes3
answers8862
viewsHow to make a redirect to finalize purchase without going through the Woocomerce cart?
Does anyone here know how to make a redirect to Woocommerce’s checkout page when they click to buy a product? (By default Woocommerce adds to cart the product and the person is required to go in…
-
4
votes1
answer1218
viewsShow products from 2 categories on page (Woocommerce)
I have a question. How do I show products from 2 categories on a Woocommerce page, as if it were a filter? I tried to make creating the page with the plugin shortcode, but it did not work:…
-
4
votes4
answers869
viewsHow to install Wordpress Multisite?
I am using the option of multi-sites Wordpress, but is not working as expected. I have enabled and created the subdomains, but returns: Not Found The requested URL /index.php was not found on this…
-
4
votes1
answer421
viewsMETABOX with state/city dropdown in Front-End using Cmb2 Plugin
I have a little problem with 2 dropdowns selectors, so far so good, because I’m using the CMB2 plugin and a METABOX selector code, and everything is ok in the Wordpress Back-End, however, when I…
-
4
votes1
answer136
viewsHow do I add attributes in img with the_post_thumbnail Wordpress function?
I need to add a width="100%" and the class="img-responsive". How do I add in img if I call it in index this way? <?php the_post_thumbnail(); ?>…
-
4
votes2
answers87
viewsHow to install plugins in separate accounts?
Have: an FTP server with Cpanel running over WHMCS three Mysql databases linked to different users three Wordpress accounts associated with the above mentioned databases How to install a plugin…
wordpressasked 9 years, 2 months ago Tiago Morais Morgado 150 -
4
votes1
answer2452
viewsSwap/Edit word already translated in Wordpress
I am setting up a virtual store Woocommerce (Wordpress) and recently installed a translation pt_BR. It’s all translated correctly, except for the term: QUICK VIEW which appears translated as -…
-
4
votes1
answer2752
viewsWhere is stored the path of posts images in Wordpress?
I am building a plugin in cakephp custom, because the wordpress plugin itself does not work, until then, I managed to use everything, from the wordpress posts table, the problem is that I do not…
-
4
votes1
answer38
viewsOrderby in an array
Fellas, I’m trying to edit a array, so that it can provide me with the information in ascending or descending order. I’m doing it this way: $Recent_Page = get_post_meta(get_the_ID(),…