0
votes
0answers
5 views

How do you remove the ability for a user to click on a blog title to redirect you to the blog page?

I am building a blog on Wordpress, but I want all the content for each post to be displayed under one page, (ie. if I had 5 posts on my blog page, they will all display on that one page). But if I ...
0
votes
0answers
4 views

Arrays not saving when using update_post_meta

I'm using this snippet of code that I found in another post; function save_imdb_meta( $post_id ) { if ( $imdb = get_field( 'imdb_id', $post_id ) ) { if ( $imdbInfo = ...
0
votes
2answers
11 views

dequeue not work

i use a plugin that containing this code and i want to change js location to be located in my template directory instead of plugin without editing the plugin files class jqueryTimelinrLoad { ...
0
votes
0answers
8 views

How to change select field option pragmatically?

I have created one custom field (field type select) with the name specialization and have multiple options like doctor,dietitian in users profile in back end this fields are visible. suppose user ...
0
votes
1answer
13 views

Wordpress Theme .mo-file won't load

I am developing a theme that implements multiple languages. I have a few strings that will have to be translated in the theme itself. I would like to use a .po and .mo file. For some reason, when I ...
0
votes
0answers
5 views

Custom Taxonomy pre selected

I'm using many times the same custom taxonomies for posts. Is it possible to 'pre' check them instead of checking them every time? Thanks in advance,
-1
votes
0answers
4 views

How to, session handeling before log in user and after log in, for some sort of cart or session data?

Since a long ago, I'm very confused how to manage session handeling in wordpress. For a normal case like woocommerce or in a normal site, say A user is not logged in. S/he chooses a product and it ...
-1
votes
0answers
9 views

Add product button does not work [on hold]

If i login a as user or admin then working fine but if not then i am not able to adding product to cart. My site url is - http://www.atyds.com/
1
vote
0answers
8 views

Make Category Base Appear in Posts Permalink (but not tags)

I have a slight problem with WP permalink structure. My aim is to make posts permalink appear with a specific category and it's base, for example: domain.com/custom-base/%category%/%postname% And ...
-2
votes
0answers
8 views

Add Javascript/Html into a WordPress

I have done this javascript in order to get email opt-in form when the video ends. What I am looking for now is to bring this code to a wordpress which I am not really familiar with the whole WP codex ...
0
votes
0answers
14 views

Custom Post Types sharing same taxonomy

I've created 2 CPT (with Types): rivenditori and articoli. They share the same default WP taxonomy: category. I have been looking for a solution, but still nothing is working. What I get now is that ...
0
votes
1answer
15 views

do_shortcode for twitter doesn't work well

I have problem in show tweet in single.php template. So I use this way to echo the tweet like this :- $check_embeds=$GLOBALS['wp_embed']->run_shortcode( '[tweet 567061791826382849]' ); echo ...
0
votes
0answers
5 views

Prevent WP from wrapping html in caption shortcode after 'image_send_editor' filter is applied

In my functions.php I have cooked up some functions to filter the attachment output code, when an attachment is sent to the editor. function filter_image_send_to_editor($html, $id, $caption, ...
0
votes
0answers
5 views

Export CSV path in custom plugin

I create a plugin called project, which not using custom post type. I created a separate table for it. function menu() { add_menu_page('Project', 'Project', 'administrator', 'project', ...
0
votes
0answers
11 views

Loading posts from another wordpress database on the same server

I've searched quite a while and found several solution but apparently I'm doing a lot of stuff wrong. I'm having 4 different Wordpress sites and need to load the latest 2 posts of each site. For ...
0
votes
0answers
7 views

Search prices using drop-down range with WP Search Custom Fields plugin

I've built a search form using WP Custom Fields Search. The form searches a number of custom fields, all of which work perfectly.. except for one. I've set up a field in the search form with the ...
-1
votes
1answer
15 views

How can I edit the WooCommerce Mini DropDown Cart to read as follows

Currently, this code returns "Quantity x Price"... so e.g. 2 x £3.00 <?php echo apply_filters( 'woocommerce_widget_cart_item_quantity', '<span class="quantity">' . sprintf( '%s &times; ...
1
vote
0answers
14 views

Set default page for user account in admin

I have set up an ecommerce site using wordpress/woocommerce and am now adding the users who will be dealing with the orders to the site. The only part of the site that they need to have access to is ...
0
votes
1answer
17 views

how to see P and BR tags in tinymce?

As a developer, I'd really like to have the ability to see every tag written out on the editor in source mode. Is there a way? Some filter, action, or so?
0
votes
0answers
7 views

Mysql join 2 columns into 1

Hello i could really use a hand here.. the thing is i want to make 2 tables for a project - 1: Shifts: - which has: id, usr_id, date, start_time, end_time, and pending - 2: shifts_extra: - which ...
0
votes
0answers
3 views

Wordpress on Azure as Subdirectory

A client gave me access too devblog.azurewebsites.net where I was supposed to install the theme I developed and configured using WordPress. Now that the setup is complete, the site must be moved to ...
0
votes
1answer
21 views

How to add current custom taxonomy slug to body class

My theme uses custom taxonomy called "kbsection" and there are lots of sections set up (instead of categories). There is also a custom post type and the posts are assigned to sections. I need to ...
0
votes
0answers
6 views

How to add page link to the sitemap?

Below is the output I am achieving through Sitemap.php template. Posts 1. Linux 1. Increase swap space in linux in 5 easy steps 2. difference between SetUID, SetGID & Sticky Bits 3. ...
0
votes
1answer
10 views

Hosting plugins on a different Hosting account

so I run a full fledged social network on Wordpress, and it undoubtedly requires a lot of plugins which take up a lost of disk space on my shared hosting account. I have two websites running on ...
0
votes
1answer
12 views

Menu Responsive

How do i make my menu bar responsive? The menu doesn't change together with the header when I crop my window to mobile size, leaving an empty space between header image and menu bar or showing menu ...
-2
votes
0answers
16 views

how to get custom woocommerce product description excerpt?

Here is the code I have in product.php <?php tabs = apply_filters( 'woocommerce_product_tabs', array() ); ?> <div> <?php if ( ! empty( $tabs ) ) : $i=0; ?> ...
0
votes
1answer
16 views

How to add conent (text) to Add New pages form of admin in WordPress

I am new to WordPress. I have created a Shortcode. Now I want to add description of Shortcode to Pages->Add New Page so the user can easily use the Shortcode which I have created. I want that text ...
0
votes
0answers
25 views

Query post by meta key of another table

Im using event calendar plugin where I can set event date for posts and it shows in calendar widget. Everything is working as inteded but I would also like to query post by event date. I know how to ...
-3
votes
0answers
19 views

theme problem after uploading in server [on hold]

Iam facing lot of problem in uploading the theme in server ,when ever I refresh it will go to blank page, so please any one can help me to solve this problem
0
votes
1answer
8 views

How to conditionally output to sidebar of each author's archive and posts by each author?

Specifically, I am trying to conditionally hook a testimonial rotator into the sidebar of specific author archives and single posts for each specific author. Although I am using a specific example ...
0
votes
0answers
11 views

How to track purchases of users or members on wordpress cashback site ?

I am working on wordpress cash back site but couldn't get information about tracking all purchases..Its same as other cashback site who get commission from merchants and then share full or part with ...
1
vote
2answers
18 views

Activate Child Theme with Codex

I know there is an option to have the following code in the wp-config.php file: define('WP_DEFAULT_THEME', 'x-child-integrity-light'); define( 'TEMPLATEPATH', 'wp-content/themes/x'); I currently ...
0
votes
0answers
21 views

How to customize the URL?

I was wondering how to edit the URL of the web site, the so-called 'query'? For example: www.example.com/wp-admin/post-new.php?type=type-of-post
0
votes
1answer
12 views

Need help with custom rewrite rule

I have a CPT called presskit, and I need to add a custom query var named welcome_box. I have this code right now: function my_new_url_querystring(){ add_rewrite_tag( '%welcome_box%','([^&]+)' ...
0
votes
1answer
36 views

Load custom PHP on a custom URL via a plugin

I am looking into having a plugin developed that loads a PHP script (myscript.php) on a custom URL. It's very important to achieve this functionality with a plugin. Example: example.com/myscript - ...
-1
votes
0answers
16 views

WordPress Gravity Forms - Storing Gravity Forms data in JSON format in MySQL DB

So I've worked this out a little bit and now I've hit a bump in the road. I am working on a record keeping site for registering people and making records of personal data. Each new record or update ...
0
votes
1answer
19 views

Restrict access to live site from public while showing small group the new site all on the same URL?

I am trying to come up with a way that I can put a WOrdPress site live on it;s final server for a client and have the site hidden from public. It would show a dummy placeholder page to all visitor ...
0
votes
0answers
22 views

What can I use for small text when converting to Wordpress?

FYI before you mark it as duplicate: I found some similar questions, but they are from like 4 years ago and WP is constantly evolving. For repetitive chunks like this I used posts to convert an HTML ...
0
votes
0answers
9 views

Error 402: Unable to create order. Please try again

I'am facing this error after site transferring from one domain to another. site link is http://hybridsfromhell.net/checkout Error.log file error: [29-Jun-2015 19:00:23 UTC] WordPress database ...
0
votes
0answers
13 views

Wordpress listening on specific port

I am trying to get Wordpress to run on vagrant I have port forwarding for 127.0.0.1:8080 on my host machine. Everything runs just great except plugin scripts are stripping out :8080 from their url ...
0
votes
0answers
12 views

Modify Custom Field in Media Library using JavaScript

I've added a custom field into my media attachments: function set_image_data( $form_fields, $post ) { $form_fields['text_color'] = array( 'label' => 'Text Color', 'input' ...
0
votes
1answer
18 views

htaccess doesn't cache my latest news when logout

To speed up my website i'm using w3 total cache and some htaccess . . . it works just amazingly ! Otherwise, big problem, I have on my homepage the latest news being display, when I'm login, it ...
0
votes
1answer
12 views

Making jQuery .change() event persistent after widget save

I'm creating a custom widget that uses a select element with a bunch of options and a simple jQuery function to trigger the visibility for some <div>s below it based on the selection, through a ...
0
votes
0answers
16 views

Wordpress Pagination problem When using if condition inside the loop [duplicate]

i have problem with Wordpress Custom Loop Pagination when i use if condition inside the loop some of posts doesn't have if value disappear but the Pagination counting that hidden post and have empty ...
0
votes
1answer
12 views

JQuery UI not loading without explicit loading of jQuery

I know there are a lot of questions regarding this issue, but I can't figure out mine here. I'm trying to load the whole jQuery UI ( Actually I need only the Slider ) and I successed. This is my ...
0
votes
2answers
23 views

How to get the posts of a custom taxonomy term

I hope someone will help me: I have a Custom Post Type (Movie) with its custom taxonomy (Producer), this taxonomy has its own terms, for example 'WarnerBros'. How I can get all the posts of my term ...
0
votes
0answers
24 views

Using “setup_postdata” with “get_template_part” does not work

I want to reuse code made in a template in a shortcode. I did this in my shortcode $args = array(...); $posts = get_posts($args); for ( $j=0; $j < count($posts); $j++ ) { ...
2
votes
0answers
21 views

Remove Site Name from register form - Multisite

How do you remove the 'Site name' field in the register form for a multisite? When users sign up, I just would like them to enter the 'user name', 'email' and 'domain name'. I tried removing it with ...
0
votes
1answer
15 views

Custom posts - tag pagination

I'm using the following code to output the custom posts that belongs to a tag: add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) { if(is_category() || is_tag() ...
-2
votes
0answers
9 views

Problems updating stock with csv import suite with woocommerce

My problem is with stock product with woocoomerce and csv import suite, some products stocks updates, and some products don't update when I want to update product stock from a csv file. I don't know ...

15 30 50 per page