0
votes
1answer
11 views

What is the correct way to enqueue multiple css files in WP?

I am building a Bootstrap site on WordPress and need to be able include multiple stylesheets. However, when I enqueue them as follows, only the first and third style sheets show up in the page ...
1
vote
0answers
10 views

Can't log in: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”

After a server move, I'm unable to log in to my site. I get the "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress." error when I try submitting the ...
0
votes
0answers
10 views

How to handle form post

I have a form under Contact category, but I'm totally lost on how to manipulate the data once it has been POSTED. Where do I have to look for? I want to add a function that let's me register the user ...
-2
votes
1answer
4 views

How to export tag counts to excel?

I'm not a programmer, so writing PHP code, etc. would be tough for me ... but I'm looking for a simple way to analyze which tags are used most often to tag posts in my blog. An export of tag and use ...
0
votes
1answer
14 views

A dropdown with checklist

I'm working on a wordpress website now but I have a problem with a dropdown on a taxonomy. This code is in a public form so that the visitor send a recipe, taxonomy is the ingredients which already ...
0
votes
0answers
8 views

`#1215 - Cannot add foreign key constraint

create table wp_pageviews ( ID BIGINT(20), count integer, primary key(ID), FOREIGN KEY (ID) REFERENCES wp_posts(ID) ) Error : #1215 - Cannot add foreign key constraint ...
0
votes
0answers
19 views

searchform.php :: pass second query string variable with same value as ?s=

I want to pass an additional parameter in my search URLs that would match the search term, but using an additional variable named 'x'. So, when performing a search, the user would enter "Cars" and the ...
-3
votes
0answers
11 views

Woocommerce specify product [on hold]

i've got a question: Does somebody of you know if there is a plugin in or a workaround for woocommerce to have the option if you select a product to specify it. For example: You choose an car battery ...
0
votes
1answer
19 views

How to display 2 function calls in same line?

<?php the_author_posts_link(); ?> <?php the_time('g:i a'); ?> When I call above 2 functions you will see the output in two lines. But what Need is "Andrew 2.10" I need both output in ...
1
vote
1answer
16 views

Multiple custom post type loops in category.php

I have multiple custom posts types that use the same category taxonomy. Let's call the CPT's 'venue' and 'story', and say we have categorised each of them as 'foo'. I already have the following code ...
0
votes
0answers
7 views

Changes only show when logged in?

Changes I've made to my site only show when i'm logged in. According to various other threads it seems to be a problem with cache, however, i've completely deactivated my W3 cache plugin, and the ...
0
votes
0answers
7 views

How can I place function of a plugin into comment_form array?

I am using a theme which uses this array for comment_form textarea: comment_form( array( 'comment_field' => '<p class="comment-form-comment">' . '<label for="comment">' ...
0
votes
3answers
25 views

Why cant the WP Filesystem API read googlefonts.json?

I've inherited a site built with a theme by Highgrade (southcentral) which is built using the Redux framework. I'm seeing the following error in the frontend and admin panel: Warning: Invalid ...
0
votes
0answers
6 views

TinyMCE HTML Encode Backslash

so my question is similar to the one found here, following the example there i am trying to force Tiny MCE to encode backslashes...... currently all i am doing to test this is setting a break point ...
0
votes
1answer
14 views

How do i load a different template for different users screen width

How can i load different templates for different screen sizes.Or is there some other method that i load different html for different screen size. Please help!!
2
votes
0answers
12 views

Author Role - Allow editing of Gallery images

Is it possible to give the 'Author' role the capability of editing image titles and captions on post's they have created ? I have a number of users set to 'Author' , but when i've tested it's not ...
0
votes
1answer
10 views

What could have changed all of the &#039; characters in my content to &#039 strings?

So, I've recently updated a WordPress site to 4.0 (I try to stay on top of updates as much as I can) and noticed that something funny had happened to the ascii html characters that I had in multiple ...
0
votes
2answers
11 views

CSS not applying in admin

I am using SASS and grunt to merge all my seperate .scss files into a single minified css file, which is loaded using wp_enqueue_style. Works fine across the site but not in the admin area. Is there ...
0
votes
2answers
11 views

Getting thumbnail of uploaded image

I want to get a 'smaller' thumbnail of a large image I have uploaded through the built in word-press media up-loader. I have briefly looked at get_the_post_thumbnail but I don't think that is the ...
0
votes
0answers
7 views

How to show posts on homepage based on tags, Jarida theme

Hello I have Jarida theme installed on my wordpress. There is a news box module from the theme panel but there it shows the posts from a category.. I want to show them by a tag? Is there any way to ...
0
votes
0answers
12 views

How can I find WordPress files on the remote side in Filezilla FTP?

Currently I am doing the WP Development track on TreeHouse (beginner) where I am trying to make a child folder. The child folder is meant to be able to save the WP theme while any other updates are ...
0
votes
0answers
18 views

Wordpress custom search - pagination

I have written a custom wordpress search. The problem is that the pagination is not working. The pagination (1, 2 , 3 , 4 ,5 >>) appears on the web site, but when i press page 2 (or anything else) no ...
-1
votes
1answer
15 views

Portfolio Slideshow not working on some pages (THESIS comment form) [on hold]

I have a client with slideshows on lots of posts. Just lately, some have started to fail. But not all. This uses the Portfolio Slideshow plugin. It's a premium plugin and I bought the pro version. ...
-1
votes
0answers
10 views

update all post_name after change parmalink

I change permalinks i my web site , and i have error that when any one open my old link of article , he is see not found. How can i solve this error
-3
votes
0answers
9 views

How can I Stop woocommerce messages appearing on archive?

I have created a custom template which pull in product from two specified categories however when I add one of the products to cart no message will appear at the top of the page however if i go to an ...
-1
votes
0answers
13 views

Regex to find all images on imported xml file [on hold]

I have import all my wordpress content and now I want to replace all images with a placeholder image. The most obvious way I think is to search and replace all the images. I try to do it manually but ...
-3
votes
0answers
10 views

Fit 'ANY LIST SCROLLER' (jquery scroller) to wordpress menu

I want to apply the 'ALS' jquery plugin on Wordpress menu. I have 2 menus in my web site, and the jquery plugin should be allied only on one of them (lets call this menu - 'menu-1'.) Here the link to ...
0
votes
0answers
11 views

I need to change this code to show subcategory name only under the product

<?php if ( (!$theretailer_theme_options['category_listing']) || ($theretailer_theme_options['category_listing'] == 0) ) { ?> <!-- Show only the first category--> <?php ...
0
votes
1answer
27 views

Big arabic permalinks not work

I have error in permalink, I have post that title is big like :- مراجعة : Sony Xperia Z2 و إيجابياته و سلبياته و كل ما تريد معرفته عن الجهاز ! Now when open the post in my site i see permalink like ...
-3
votes
0answers
15 views

Wordpress script to automatically get and post news feed

Please, does anyone have ideas on how to make a script to automatically post contents from urls I have set in it and post them on my site? Is there a plugin for that? I would have to work more like a ...
-2
votes
0answers
12 views

Video player that pulls first frame and set it as poster image [on hold]

Anyone knows a video player that automatically pull the first frame and set it as poster image of the video? Looks like the native video shortcode doesn't have this feature. Am I wrong? Thanks in ...
-3
votes
0answers
13 views

Wordpress.com add a multilanguage plugin [on hold]

I got a wordpress.com blog but i am unable to find how to add a plugin. I would like to have italian and english multi-language on the site is this possible? I tryed checking in the dashboard but i ...
1
vote
0answers
23 views

What make possible unit test plugins?

This is more a theory related question. I'm not looking at the practical ways to do this, as I can find plenty of example (official and not), which however does not explain how it is possible to ...
0
votes
2answers
32 views

Integrating WordPress with Your Website

I am intergrating WordPress with a non WordPress site. I have installed WordPress at my evercam.io/wordpress and I have followed the codex and I have been able to display a list of posts on a static ...
0
votes
0answers
11 views

Show value based on dropdown [duplicate]

I am trying to create a short code with a form I have the form displaying ok but I need to be able to pull the price information from sql table as well and show it in a label. How can i do that using ...
0
votes
0answers
14 views

If it is a top level category show children otherwise show sibling categories

I found a great piece of code for my category.php file to list categories for a specific taxonomy (not tested). BUT - how can I change the code (or achieve it) to show the default Wordpress categories ...
0
votes
3answers
31 views

Is there way to redirect all blog post pages to Home page?

I am creating a social bookmarking site using WordPress. I am using a custom field to store the web URL. Then when a user clicks the Title, it redirects to the original blog post page. Please check ...
0
votes
0answers
12 views

Widget not working with Data [duplicate]

I have tried the following code given to me by another question here but for some reason in my widget its just dispalying the word liters in the drop down its not puliing data when i look at the code ...
0
votes
1answer
17 views

adding a favicon to site2 - site1/site2/favicon.ico

I have a setup on wordpress with site1 and site2 under site1. I'm having problem on favicon on site2 because site2 favicon uses the favicon for site1. i have a code on my header.php inside site2 ...
0
votes
0answers
8 views

Convert URL with .htaccess

ORIGINAL URL: http://localhost/category/product WANTED URL: http://localhost/product/ I have this .htaccess: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /en/ ...
0
votes
2answers
19 views

How to get post ID of the current page/post inside a widget?

I'm trying hard to get the post ID of the current post/page inside a widget class but doesn't work, I know there's get_the_ID() and some other options but not a single works inside a widget. Here's my ...
-1
votes
0answers
14 views

Jquery undefined

Jquery is still undefined. I already added array('jquery') when I enqueued my js file. How come? I also checked that the jquery is loaded in my site. I also tried enqueueing jquery along my other ...
0
votes
0answers
17 views

select option with value count

i'm early for wordpress and php code. so, i have post type property with type ( apartment, house, villa, etc ). example, for type apartment any three property. but on select option, be like this : ...
0
votes
0answers
9 views

Use Walker_Nav_Menu to remove automatically generated classes but keep user-added classes

My custom nav walker is outputting link elements like this: <a class="test-page-class menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-4 ...
0
votes
1answer
14 views

Wordpress Admin panel issue

I have made some changes to functions.php, specifically i deregister some js libraries and then manually add them back to the footer using a plugin(header and footer plugin). That changes caused to my ...
0
votes
0answers
15 views

Automatically use image file names/titles as captions

I have lots of native wp galleries on my site and I would like to use the image file name as a caption on my thumbnails. Wordpress automatically uses the filename as the title but I'd like it to be ...
0
votes
1answer
10 views

Calling wp_signon doesn't log the user in

I'm currently programming a single sign-on mechanism for my Wordpress site to allow my company's helpdesk system to authenticate against Wordpress. In order to allow this to happen I'm making use of ...
-3
votes
0answers
18 views

how do you, Manually change login url in wordpress?

I know there is plugins available at wordpress.org for changing default login url. but i am not it the favour of using Plugins becae my site already have so much plugins. I am ok with coding, can ...
0
votes
0answers
10 views

Thumbnails produce unwanted gray pixels on white background

Is there a workaround for producing QUALITY "Featured Image" thumbnails of different sizes? WordPress produces compressed thumbnails that contain grey pixels where it should be a completely white ...
0
votes
3answers
33 views

Don't load scripts if on mobile/tablet

Would like to ask the question is it possible to stop the laoding of some scripts when viewed on a mobile/tablet device ? In the theme functions file you have wp_enqueue_script(...). How would you go ...

15 30 50 per page