0
votes
0answers
5 views

How to create plugin to get current train location using pnr no.?

Create plugin to access to status of train by using pnr no. Can you tell how to create this plugin??
0
votes
0answers
4 views

NextGEN Gallery - set lightbox image size

I use NextGEN gallery with lightbox effect. Is there any way how to set the lightboxed image to f. ex. to max width: 600px? Without resizing the source image? I have tried all of possible Lightbox ...
0
votes
1answer
8 views

Is curl required?

Because my admin panel is very slow, i tried to debug what's going on. I nailed it to the function wp_remote_post and an internal error message thrown by curl on this line return new WP_Error( ...
0
votes
1answer
8 views

Multisite read_more link displays URL twice

I moved a multilingual client blog from WPML to MLP adding multisite (subdomain install). Everything works nicely in my development environment, but the live site on my client's server now displays ...
0
votes
0answers
8 views

How to get order id with the item id in woocommerce?

I got the id of a specific line item. Is there any way to get the order that includes that item? Thank you.
0
votes
0answers
6 views

Modifing archive query affects show post count function

I'm trying to modify the archive query of archive page with this function hooked to pre_get_posts action hook. // Load our function when hook is set add_action( 'pre_get_posts', ...
0
votes
1answer
8 views

Slug is not shown for my custom post type

Registering a custom post type as following and the slug input is not shown. Any ideas why? res = register_post_type( 'twig_anything_tmplt', [ 'label' => 'Twig Templates', ...
0
votes
0answers
6 views

Hide pages in CMS Tree Page View hack

Hi I am trying to hide some pages in wordpress dashboard from CMS Tree Page View. Can someone pls help and tell me how do i achieve this. I am trying to add filter in function.php but it doesnt work. ...
0
votes
0answers
13 views

Redirect from registration form to other PHP page

I want to redirect the user when he/she has registered on the site. I'm using the registration_redirect hook which works fine. However, what I'm doing right now is redirecting to a php page inside ...
0
votes
0answers
11 views

Wordpress 4.2.1 Rewrite issue

i'm working on Wordpress 4.2.1 with custom Template. Webserver: IIS 7.5 with Helicon Isapi_Rewrite. It's a multilanguage website but i have 2 issue that i can't solve. My first problem is about Url ...
0
votes
0answers
10 views

Best way to add custom code to pages in Wordpress

I've a question relating to Page templates in Wordpress. Firstly, I should point out that I'm about to undertake quite a large project for a friend of mine and I'm looking to to it in the best way ...
0
votes
0answers
11 views

Adding inline styles from a widget

I'm working on a theme that has an optional widget to allow users to put some site elements where they want. One of those is a list of social media icons. These are font icons, so they can be styled ...
0
votes
2answers
15 views

Unable to the get the gallery inserted between shortcodes

I am customizing this theme . I am using get_the_gallery() function to get the gallery from the custom post . I am able to do so, but when the gallery is inserted between the shortcodes... For eg: ...
0
votes
1answer
12 views

Extend WP_User_Query or WP_User to return all custom fields?

I'm trying to pull out list of about 5000+ member records for CSV export. The query is timed out and I suppose the reason is that in order to populate the CSV file I need to iterate over those 5000 ...
-1
votes
0answers
11 views

update woocommerce version

What is the exact procedure for updateing My WooCommerce Plugin Version 2.0.12 to 2.3.11. NOTE : there is many customization in my version of woocommerce. So How can I upgrade plugin manually?
0
votes
1answer
9 views

Remove custom permalink structure from custom post type without modifying register_post_type() directly

I'm using a custom permalink structure for my posts, /blog/%postname%/. I installed a plugin which registers a custom post type, glossary. I don't want this post type to use the custom permalinks ...
0
votes
0answers
11 views

Change Password URL missing In forgot Password mail

I'm requesting Wordpress for Forgot password. I also got the mail from wordpress site. But the change password url is missing from it. The mail is as below : Someone requested that the password be ...
0
votes
1answer
20 views

How to add a class to figure tag for featured images?

I'd like to add a class to tag so that the caption for my featured image will show on hover. Currently, this is the code when I use FireBug: <div class="td-post-content"> <div ...
-4
votes
0answers
14 views

How to disable permalink auto cut?

How to disable permalink auto cut? i would like to use long permalink in url how to ?
0
votes
0answers
19 views

WordPress Built In Dialog Box For My Plugin

I want to using wordpress defaults model box in post edit page [wp-admin/post.php?post=368&action=edit] Model I wanted : i tried the following instruction in ...
0
votes
1answer
11 views

MySQL swap one table for another?

So I have a situation with this WordPress site I'm doing where I have to swap the positions of my featured images. I have two per post thanks to the Multiple Post Thumbnails plugin, but now whatever ...
0
votes
1answer
13 views

Enqueue CSS file for registeration form - Multisite

What is the best way to enqueue a css file for the register form for a multisite? wp_enqueue_scripts/styles works, but I would prefer it to not keep loading on the frontend all the time as it is only ...
0
votes
1answer
18 views

Upload multiple image with media_handle_upload with multiple file field

I need to add multiple images with image descriptions form wp admin. Admin Form: <label for="image[]">Image</label> <input type="file" name="image[]"/> <label ...
0
votes
1answer
20 views

Modify a plugin's content

I'm using Mooberry Book Manager which has a hook in it's grid mbdb_book_grid_after_link I've created a plug in so that I can show additional content in the grid, it's very basic <?php /* Plugin ...
0
votes
2answers
11 views

wp_get_attachment_image_src always returns full-sized image

https://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src#Parameters leads me to believe wp_get_attachment_image_src( $thumb_id, array(100, 100) )[0] would return a 100x100 thumbnail, ...
-6
votes
1answer
27 views

Website Customization For Beginners

Hi I'm looking for a good tutorial to make a decent website in like 2-3 hours with WordPress and be able to customize it without having to learn much coding like html java script etc. I already have ...
0
votes
0answers
23 views

How to sort category by custom field value

I am using the following : $catargs = array( 'meta_key'=> 'category_custom_order', 'orderby' => 'meta_value_num', 'order'=> 'ASC', ); but I can get the ...
0
votes
1answer
8 views

Best way to create a search for custom post type by custom field values

I have a custom post type called people. I want to have 3 search fields for; first-name, middle-name and last-name I was thinking about creating a page with my own search boxes and use query_posts: ...
0
votes
1answer
34 views

How can deregister scripts for a certain custom post type?

I use the functions.php to register and enqueue all of the scripts and css for my website. I have one custom post type that i want to pick and choose which scripts get loaded into the ...
0
votes
0answers
14 views

remove file plugin include

i use a plugin that include template.php file , i want to replace this with a new one in my template directory or remove it class jqueryTimelinrLoad { public function shortcode($atts, ...
0
votes
0answers
11 views

Register Page Template from Plugin

I'm trying to figure out how to properly register a page template (and all of the associated assets, like CSS and Images) from a plugin. Basically, I've created a landing page that I want to live ...
-1
votes
0answers
7 views

change event tuition

I can't seem to find where I can change the tuition of an event. Can you please tell me? http://www.thrivingroots.org/events/4/living-wild/ Thanks! Daniella
0
votes
1answer
12 views

using get_template_part() inside a widget and passing variables

I read that get_template_part() should only used by themes not plugins, I don't know if using it inside a widget function (created by the theme) is considered as a plugin or not. Anyway, I'm trying ...
0
votes
0answers
12 views

How to display the date a directory folder on ftp was modified

We have our site running on wordpress, but we upload all of our PDF files via FTP and NOT the WP media. I want to be able to display in a WP Page, the last time a file, or a "folder in the FTP ...
0
votes
0answers
7 views

How to retrieve a post by inputing the url in a custom field and displaying it on an options page

If have an options page where I have a custom text field and I want to paste a url of a post in that custom field and retrieve the Post Title and Excerpt and display theme above the custom field and ...
1
vote
0answers
4 views

Conflict with Force SSL and Rewrite Rules

A site I'm working on has two security-related requirements which I've been unsuccessful in solving simultaneously. I can satisfy each requirement BY ITSELF, but I'm running into problems satisfying ...
1
vote
1answer
9 views

4.2.2 stuck in an db upgrade loop with “Call to undefined method wpdb::get_col_length()”

During an automatic upgrade to 4.2.2 I am getting a blank screen on upgrading the database and the following error in the php.log: [Mon Jun 29 08:48:10 2015] [error] [client 127.12.209.129] PHP ...
-1
votes
0answers
12 views

What is the best place to find/hire Wordpress Developers? [on hold]

I'm hiring four Wordpress Developers (1 Sr, 2 jr's and a front end). I've posted on WPHired and Job.Wordpress.Net... Are there any other good places to post a job description like this? ...
0
votes
0answers
8 views

modify php code from plugin

I'd like to modify a plugin's php file that has only a bunch of if/else and echo statements. I can do it by copying the file into the child theme folder and changing the one little thing, but if the ...
0
votes
0answers
8 views

wpdb insert escaping

I have created a function that adds some data to a database table using wpdb->insert() Each time the form is submit it adds back slashes to single quote ' character, if form validation fails and ...
0
votes
3answers
48 views

Wordpress get_posts by category

I have the following bit of code: $args = array( 'posts_per_page' => -1, 'category' => 7, 'orderby' => 'name', 'order' => 'ASC', ...
0
votes
1answer
9 views

How to replace part of shortlink with nothing

I am attempting to shorten the wp_get_shortlink. I want to remove the "http://" which is unnecessary. I have attempted the regular php way of (Replace("http://"," " )); but it seems WordPress has a ...
0
votes
1answer
12 views

Reloading page with a query string upon login for admins

After users with specific roles log in, I would like to reload the current page with a query string added (to trigger a message via JavaScript). How can this be improved? function ...
0
votes
0answers
5 views

Wordpress User Meta Open Graph and WPSEO Yoast different in production and staging environments

When using Facebook share to share a link I have been using WPSEO and custom hooks to update the Open Graph meta information based on custom parameters in the url in the theme's function.php file. /* ...
-1
votes
0answers
7 views

WooCommerce Review System

Is it possible to use the woocommerce comment/review system to non product page? If so, how can I use WooCommerece Comment/Review System to non product pages particular in custom post type. I am using ...
0
votes
0answers
5 views

Page URL that is the same as other but in a different category

Is there anyway to prevent a duplicate post getting assigned a number as it's title despite being in a different category? www.example.com/coca-cola/diet www.example.com/pepsi/diet-2 Both are ...
0
votes
0answers
7 views

Get the dimensions of an embedded image

I am trying to position content based on the size of the first embedded image in a post. I am retrieving the image URL using a custom function, and then using another function to retrieve the ID of ...
0
votes
0answers
7 views

How to properly make a blog roll?

I know that there's a home.php for the blog roll. However, I've been seeing a lot of WordPress sites lately and their blog rolls are under "articles" or "writing" like "somone.com/articles" or ...
0
votes
0answers
10 views

How to Edit Layout of a Particular Post Format?

I am looking to edit my theme layout of the aside post format. I have already included the add_theme_support() function to include the aside option when creating a post. However, the layout of an ...
0
votes
0answers
4 views

Jetpack interfering with woocommerce

I have a site using woocommerce and I recently installed jetpack. Since installing jetpack my product category pages only show 7 products per page now, and I need it to show 9 since I have a 3 column ...

15 30 50 per page