0
votes
0answers
15 views

Referencing js files with roots 7.0.2 [on hold]

A little help needed on roots wordpress theme... Although I am not new to roots as such, clearly things are a bit different since the last couple of updates and I want to take full advantage of the ...
0
votes
0answers
21 views

Should I store multiple data in a single wp_post field

I hope this is the right place to ask this question. I have chosen to work in a Wordpress environment so this should apply here. I have to design an application that will store hundreds of thousands ...
1
vote
2answers
28 views

Password protecting content in custom template

I'm trying to password protect content in a custom page template, however when i enter the password i assigned in the backend, it doesn't authenticate, instead just reloads the page upon submission. I ...
0
votes
1answer
34 views

Understanding wp_enqueue_style

I am trying to understand how wordpress works, but I am having issue understanding how wp_enqueue_style(), wp_enqueue_script() works in relation to page output. From my understanding, these functions ...
0
votes
1answer
17 views

Wordpress unescape text on mysql?

on database i have field desc with value \'test\' actually the input is 'test' when i gather the field for display it on table, it show \'test'\ not 'test' anyone can know how to change the value ...
0
votes
1answer
18 views

Wordpress pulling in random page themes

I have a website that has multiple custom templates -- a variety for pages and a couple for custom post types. However, WP is now screwing it all up. For instance: All of the pages that were setup ...
0
votes
0answers
15 views

How can i upload files to a dir other than media library

I am developing a custom plugin . That plugin need to have upload functionality which will not be images and should not be seen in media gallery . How can i set a custom upload directory which can ...
0
votes
1answer
26 views

Unwanted slug in my website

There is an unwanted slug /question/ in my WordPress website. Slugs are automatically changed to /question/ when I open many pages. I have thoroughly checked my phpMyAdmin and I have no /question/ ...
-5
votes
0answers
22 views

Multiple steps form in Wordpress [on hold]

Dear Wordpress Developers, I need a multiple steps form Wordpress plugin. I need such kind of form and at the end to display the price based on the choices made by the user. What Plugin would you ...
0
votes
0answers
17 views

Search box in back end on taxonomy select list?

I have a rather extensive list of terms (200+) in my taxonomy. Thus it takes a great deal of scrolling in edit post screen for me to find the correct terms. Is there any customization existing that ...
0
votes
1answer
19 views

2 queries with counters

I have 2 loops on a page both containing a counter to implement slightly different code every 6 posts. For some reason though the second loop is implementing the different code sometimes after 4 items ...
0
votes
2answers
45 views

Programmatically add terms to custom post types

What I want to do is assign a hierarchical term to a custom post type: function create_frontles_posts() { $x = 1; do { $post_id = wp_insert_post(array( 'comment_status' => ...
0
votes
1answer
9 views

creating different edit screens for different roles

I have created a custom post type and custom role, created the proper capabilities and assigned them so the new role and see and edit their own ctp's entries... but I'd like to create a customized ...
0
votes
1answer
15 views

Load WP Admin scripts in a child theme functions file

All, I'm using a plugin that enqueues some scripts in the admin section of wordpress. I want the same functionality built in a page template. I noticed the main difference between is it tries to use ...
-2
votes
0answers
12 views

php code for button counter [on hold]

Am trying to run a php code which counts button clicks. It increments to 1 and then it doesn't count. here is my code: <?php if ($_SERVER["REQUEST_METHOD"] == "POST") { $counter = ...
-5
votes
0answers
12 views

Woocommerce: menu products (wp-admin) visible for all users [on hold]

I would like to enable access to the administration menu of products not only to superadmin but to other users: author, editor, customer and shop managers so that they too can enter the products in ...
0
votes
0answers
22 views

Page with children of different post types

I want to have a Page post_type: page as the Parent of my structure. It should be possible to access post_type: page and post type customfrom the secionts slug: example.com/structure_parent Should ...
-1
votes
1answer
19 views

What is __(arguments) in my functions.php

I have been handed the work of previous developers and so I am analysing the functions.php in my Circles child theme. Basically there is this code, which I know what the function does except for the ...
3
votes
2answers
35 views

Check if post has attachments (not image)

Need to do a check if post has attachments that are not images. I haven't seen this anywhere - thoughts?
0
votes
1answer
8 views

Generate custom RSS from a plugin

Using this tutorial I was able to create basic custom RSS feed. but I'd like to have a custom RSS generated from a plugin, and my Google-Fu failed me on that specific search. Is there any way to ...
1
vote
0answers
17 views

changing behaviour of get_search_form

I created a function to display a search box and named it my_get_search_form() that is a copy of original get_search_form() function. when I call the function, the output is this: Search in ...
0
votes
0answers
55 views
+50

What's the most efficient solution when augmenting google custom search results with taxonomies?

This is more of a conceptual/best-practices question: I'm integrating google custom search into a site that has about 15,000 articles. I will be using their XML/JSON feature which is a REST call with ...
0
votes
1answer
65 views
+50

Custom Taxonomy breaking pages permalinks

I'm stuck for some days with this problem and I don't know what else to do. With %somethingHere% on slug rewrite, pages permalinks are broken (CPT AND CT OK). Without, I don't have my desired Post ...
0
votes
0answers
12 views

Is it good practice to use WordPress nonce values to restrict page access?

I'm working with a colleague on a WordPress plugin. Part of the plugin functionality is showing dynamic lists with links which allow you to open a new page. Depending on the user's role, they may or ...
0
votes
0answers
4 views

Getting comment-reply to load

I am trying to get the comment-reply.js script to work, and at the moment I am having problems including it in my pages. Currently, I am using the following in my header.php file: <?php if( ...
-3
votes
0answers
11 views

add 4 column grid layout instead of list layout [on hold]

I have using the woo-commerce plugin to built my garments site. And my client wants to show two grid layout column(2 products per row & 4 column per row). I have searched various plugins to do ...
0
votes
0answers
16 views

Increase a field's data length to store longer password hashes?

I'm trying to implement a common password hash which uses the methods from this project I've managed to create a plugin and C# application which are able to validate password hashes in the same way, ...
0
votes
1answer
24 views

How to call particular funcion when the check box is checked in plugin options page

I'm new to php and wp plugin development, i just created a simple options page for my test plugin, the options page has only one check box, i don't know how to execute some function when the box is ...
0
votes
1answer
37 views

How to give site owner the ability to change to footer text via theme options (1 post)

I'm working on Settings API recently. Now I can add my theme options item in admin menu.I can register my settings and create my section and fields. And I think I can get the options using ...
1
vote
0answers
75 views

Using different parameters for different queries with pre get posts in functions.php

Im using pre_get_posts for my taxonomy.php for my products and paginations to work properly. And I have my pre_get_posts in my functions.php. This is how that current code looks in my functions. ( ...
0
votes
0answers
6 views

What is best practice for setting up languages with child themes?

There are two main sources of relevant info in the Codex: http://codex.wordpress.org/Child_Themes & http://codex.wordpress.org/Function_Reference/load_child_theme_textdomain A parent theme will ...
0
votes
1answer
28 views

Front end access to a SQL data repository - recommended way?

Building a general data repository, not necessarily related to WordPress elements. What is the recommended way of doing it: Using custom post types? or Building new SQL tables? Please elaborate. ...
0
votes
3answers
52 views

Open template file in Pop Up

I am trying to load a HTML5 Audio player in a popup but am having no luck. The staging site is here The audio player works but not after you click the Listen In Pop Up button/link. Here is my code to ...
0
votes
0answers
20 views

Pagination is not working on custom query inside a custom home page template

I know this is a duplicate question. But to comment on existing question, I dont have enough points. So here we go.... Pagination is not working on custom query inside a custom home page template. ...
-4
votes
0answers
23 views

I want to know the websites url address which activate my plugin, how do? [on hold]

I made a plugin, is there a way to get url address of users that activate it?
0
votes
0answers
12 views

How to import Google Spreadsheet into TablePress? [on hold]

I am trying to setup Automatic Periodic Table Import TablePress plugin and having a problem with importing Google Spreadsheet table. I need to create a URI to target table with something like ...
0
votes
1answer
36 views

How to change submit button value in comment from “Post Comment” to “Send”

How to change submit button value in comment from "Post Comment" to "Send" I have "responsive" theme , I tried to seach files in wp folder but i can't find the html for this form . Also Is that ...
0
votes
1answer
20 views

Programmatically choose language for translation

I have a multilanguage website (to do it I use both Polylang and Loco Translate). My problem is that I want to send an email to our users, but I don't know in which language to send it until I ...
0
votes
1answer
27 views

Custom template for different post types

I'm struggling to get my head around the correct terminology for posts/templates etc which is making it difficult to find what I'm looking for in Google/on here. Basically, I'd like a user to be able ...
0
votes
0answers
6 views

Custom table in my plugin print UTF-8 (מוברש) charsets and not hebrew

i have created custom table in wordpress db to use my plugins needs. i have campaigns with hebrew names, this saved to column (varchar(100) utf8_unicode_ci ) in the DB i dont see hebrew but this: ...
0
votes
1answer
23 views

How can we know we are not in edit page

I want to enqueue a JS file only to my View Page screen(after pubishing page). Whenever I click on edit this page, i want to remove that JS. How can we do this. `if(is_page()){ wp_register_script( ...
-4
votes
0answers
27 views

Woocommerce - remove product with ajax [on hold]

I would like to add ajax to the remove product button at the woocommerce cart page, for removing each product individually. I came up with the code below, which i inserted in my theme's functions.php, ...
0
votes
0answers
12 views

Hide category links if there is nothing in the categories - Main Navigation submenu item

In my main navigation menu I have category links that are sub menu items: Example: Main Navigation: Listings Sub menu category items: Boating, Camping, Fishing So basically if there is no listing ...
2
votes
0answers
33 views

How to remove admin.php?page= from admin using .htaccess?

I've been looking for this everywhere, and can't find it - so I apologize if it is a duplicate question. I can't believe it hasn't been asked before... So please direct me if it has :) I'm looking ...
-5
votes
0answers
18 views

category carousel [on hold]

I have one question to ask all guests, in the wordpress I want to buidl category carousel. How can I do? if someone know about this please help me. Thanks.
0
votes
0answers
12 views

Create a random list of html items within a shortcode in the functions file.

I'm trying to create a function that randomly pulls lines of code for a list of HTML items. Basically, I'm going to have a list of 50 or 100 images with hyperlinks associated with them. I'd like a ...
0
votes
0answers
13 views

WordPress default video playlist height issues on Chrome

recently I tried to use the default WordPress video playlist but it seems to have some issues with Chrome and IE. This is how a video shows up on Google Chrome and IE (I have tested with many ...
0
votes
0answers
10 views

Insert Ajax-based login upon Event Espresso “Add to Cart” link click event [on hold]

Good day, This is my first post to the site, so apologies in advance for being too wordy/vague/etc... I'm looking to get help with a staging site located at http://sbane39-beta.knowarecms.net. I'm ...
1
vote
0answers
9 views

Images uploaded to the media library has strange colors. However, in the edit screen the color is ok

This is a strange issue that I've never encountered before. When I upload this image to WordPress' media library, it comes out like this (image on the left): This is also how the image appears on ...
-3
votes
0answers
23 views

How to use WordPress star ratings (for custom taxonomy)? [on hold]

Is there any way to use WordPress star rating functionality? I see many plugins can do ratings for posts/page. I would like to add ratings on my custom taxonomy/terms page.

15 30 50 per page