Questions tagged as 'wordpress'

1
answer

Blank page pull posts

I'm trying to create a page that pulls news from a specific category. The question is Threme , should I put this code with the name page_nome_da_page.php to pull config ? Or should I put it somewhere else? Follow the code:...
asked by 22.08.2017 / 18:23
1
answer

Get post from a single category with have_posts () WordPress

I'm showing the last post of a blog on an external website that I'm developing out of wordpress. <?php //Include WordPress define('WP_USE_THEMES', false); require('./blog/wp-load.php'); //Define quantos posts serão exibidos...
asked by 10.08.2017 / 20:31
1
answer

Specific css file for each wordpress page

I'm making some custom pages in a wordpress template and would like to put a css stylesheet in each one right in the header. Is there any way to do this? I tried to get the page title and I could not. Just the post.     
asked by 03.08.2017 / 20:26
1
answer

Wordpress - From the second page is giving 404 error - Not Found

I'm creating a theme in Wordpress and it's time to paginate. I was able to create the menus below indicating how many pages have and the next and previous pages. Just by clicking next or the page number I want to see is returning the 404 N...
asked by 02.08.2017 / 17:05
1
answer

Sort As By Date Of Publication As By Update

I'm setting up an Index and I'm trying to do the following ... I'm going to have this 'mini highlight' and at the moment I was able to sort it for DATE only, but sometimes the news will be updated and I would like this news to rise based on TBM...
asked by 03.08.2017 / 15:46
1
answer

How to add another form field in wordpress?

In the "add new" part in wordpress there are only two form fields, I need to put more, but is it possible to do this by creating a plugin?     
asked by 12.08.2017 / 17:08
1
answer

Show terms of a random taxonomy

I'm displaying all categories with their respective images, as per the code below: <?php categorias = apply_filters('taxonomy-images-get-terms', '', array( 'taxonomy' => 'category') ); foreach($categorias as $key => $categoria):...
asked by 27.07.2017 / 22:52
1
answer

Filter texts without wordpress formatting

How can I filter only the text, ie what is outside of the tags, the ones in the html tags I want it to remain, I just do not want the ones that are in these tag types [/ et_pb_text] or the stylization I do not want , how to filter only the text?...
asked by 21.07.2017 / 18:11
1
answer

The wordpress code is modified, but the blog does not update. What will it be?

I have a question I do not know how to ask, I will try to be clear and objective. I'm learning how to edit wordpress blogs and I'm using the Ribbon theme. :   link But every time I edit the code, it takes some time to update and pop up th...
asked by 14.07.2017 / 06:13
1
answer

How to bring the javascript file to the wordpress theme via code

I have two javascript files inside a folder called (js) and I want to know how to call it in the theme code I'm creating. But how do I do that, I know I have to use the functions.php or am I wrong? I want you to help me because I'm new to creati...
asked by 11.09.2017 / 19:27