0
votes
0answers
2 views

how insert how many post type in this function?

I have two type post and i want display both in tag. this function i can insert one post type, how insert two post type in this function function post_type_tags_fix($request) { if ( ...
-1
votes
0answers
7 views

Excerpt of certain page to display on home page

I would like to ask something about Wordpress. For example: When i designing a web page, I want to have a column on homepage that displays an excerpt of the About Page(which is inner page). Is there ...
1
vote
1answer
11 views

How to put articles under a /blog directory?

I have a homepage, work (as parent pages) and several pages (as child), but when it comes to articles, I can't choose the relation between them and the page Blog. Resuming, I can choose the hierarchy ...
0
votes
0answers
10 views

How to change thumbnail src attribute?

I am working on a plugin that can generate a thumbnail from a URL, getting the first image from posts; it is similar to an auto thumbnail generator. I get all img tags, but the URL is changed. Here is ...
1
vote
1answer
7 views

SEO - Media File Name Updating

I've been asked to rename my images to better suit what they represent via keywords, for the purpose of SEO. However, I've noticed that modifying the media images name within WordPress doesn't in ...
1
vote
0answers
20 views

List of plugin updates in admin bar

In the admin bar, there is an icon that will tell you if there are plugin updates. Whenever you hover over it, it will say something like "1 plugin update". You have to click on it to go to the update ...
0
votes
1answer
14 views

Contact Form 7 - how manipulate data before mail is sent?

I am creating a bilingual site. I have a form with various fields and one of them is a datepicker (using the template's tools - the datepicker passes thedata in a text field). When the user chooses ...
1
vote
1answer
10 views

How to get post with slug and exclude categories

I want to do a query to get posts with a slug and category__not_in. Here's what I do: $query = array( "name" => "test", "category__not_in" => array( 15 ) ); query_posts( $query ); ...
0
votes
0answers
9 views

WordPress with dash.js

Is it possible to incorporate dash.js to the WordPress CMS to play video in MPEG-DASH format, otherwise, I’d like to know if there’s another plugin that allows me to do that.
1
vote
1answer
10 views

Removing link '<a>' from '<li>' menu for some “links” without JS

I want some of my navigation menu items to show plain text, without a hyperlink. Usually, this code appeared: <ul class="..." id="..."> <li><a href="">my item</a> </li> ...
-1
votes
0answers
12 views

Read Woocommerce Cart Quantity Amount by Jquery [on hold]

I need to call WC_Session::get by jquery but I couldn't find the documentation, is it possible to do it ? In fact I need to send an ajax request and read Amount of products quantity from session.
-1
votes
0answers
9 views

MaxCDN W3Cache not working [on hold]

I've used this tutorial and the CDN doesn't work https://www.maxcdn.com/one/tutorial/setup-wordpress-with-w3-total-cache/ I've seen that the images are hosted on CDN but my site does not load any ...
0
votes
0answers
10 views

Get posts with condition on comment meta value

I have to fetch all the posts post_type=projects and post_status=publish which have the latest comment of type message older than 5 days with comment_meta value as key=value. I want to know how can ...
5
votes
1answer
28 views

How To Create A Paginated List Of All Categories On My Site?

I want to display an archive page with pagination that lists all the categories on my site, and each link goes to that particular category archive page. So this would be like an archive page of ...
1
vote
1answer
19 views

get_post_field - Title without paragraph

Normally I wouldn't insert a single post with a technique like this, but sadly this project requires it. I try to call the post_title with: echo apply_filters( 'the_content', get_post_field( ...
0
votes
1answer
21 views

How to show phpinfo() only in a new tab?

My problem is that I want to add a link to my plugin which should direct the admin user to a new blank page which shows phpinfo()? Can anyone direct me how to do this? I know WordFence has a feature ...
1
vote
0answers
11 views

add class to term_description

trying to filter the output of term_description to include a class https://codex.wordpress.org/Function_Reference/term_description function add_class_to_term_description() { ?> <?php echo ...
0
votes
0answers
17 views

Determine if a page has been saved yet and has an ID using PHP?

I have a metabox on the edit screen which will check a custom database table for existance of a record matching the current pages ID. If the record exist then I show all my data. If the record does ...
0
votes
0answers
8 views

wp_print_scripts runs twice

I am currently using a child theme of the Hueman theme. I am filtering the different JS scripts, page by page. So, I use the following function, in order to display which scripts are used: // ...
0
votes
1answer
7 views

How do i import Facebook post as wordpress post without duplicates?

can any one Idea about how to import Facebook post to WP post? I am already use one or two plugin but its down the site and add more link on page load so its down my website also. And some time its ...
-1
votes
2answers
22 views

Ordered List - Numbers not showing up [on hold]

I am using WordPress 4.2.2 and using customize wordpress theme. I am facing one problem with this theme. Ordered List not showing in tag section. www.movhash.com & Numbers showing in pages like ...
0
votes
0answers
10 views

After I install any theme, Wp-admin stops working

My wordpress site is vaporizerireland.ie Themes are installed successfully for me, but once I press activate, it says: "The vaporizerireland.ie page isn’t working" The URL in my browser when this ...
1
vote
1answer
35 views

How to get a post's content?

I'd like to known what is the best solution for getting a sepecific post's content. By slug, tag, id or category ? Or template assigned to this post ? I don't like the way to find this post by its id ...
0
votes
0answers
8 views

How to create form which sending post request to external web-site?

I'm new in wordpress and have some problems. I have a form created using wp-admin. I want to send post request with fields data when submitting. After that I want to show message depending on ...
0
votes
0answers
7 views

Events Manager -> display attendees (with ACF fields) per date [on hold]

I am trying to list attendees per date using the Events Manager plugin, ie: 1st Jan 2016 user1, user40, user30 6st Jan 2016 user12, user20, user98, user85 etc... This is my code ...
1
vote
2answers
23 views

Displaying ACF image field

Im trying to display a list of all all my custom taxonomy terms with a image field that i have created in ACF. The ACF image field i have is <img src="<?php the_field('brochure_logo'); ...
1
vote
2answers
36 views

Add custom search results to main WP search

I know, this question was asked before several times, but I didn't find the answer suitable for my task. I asked the same question on StackOverflow already, but, I guess, this community is more ...
-1
votes
0answers
12 views

Attachment not working with Simple Job Board

I want to send the uploaded resume with HR notification mail. I am using Simple Job Board Plugin. To attaching resume in HR mail I find this article and tried with following code in function.php // ...
1
vote
1answer
34 views

Getting translated string through a variable

I am translating a website into different languages, and I have the following problem: Through the backend, user can select via a dropdown, a value (text string) from a list of 50 options. This ...
1
vote
1answer
21 views

Does Wordpress create mobile menus automatically?

I am using Wordpress 4.5.2 with a custom theme. I am a bit confused about WP and the theme customizations, what does the first and what the second. For example, fullscreen menus are managed by ...
0
votes
0answers
22 views

Is there a custom sort-order for this?

I haven't been able to find a solution to this, and suspect it's not possible so may have to do it manually. I have a cpt of 'channel', within which there's different channels - all of which have ...
-1
votes
0answers
15 views

how to update same column in loop mysql

I have a value as an array of one column of mysql table ,so how do I use update query to update this value using PHP loop at once?
0
votes
0answers
20 views

add_query_vars_filter How to make my menu remember

I have a menu that can "open up" or "close" via JavaScript . This works. However when I click one of the menu entries the next page loads and the menu does not "remember" to be in the "open up" ...
1
vote
2answers
23 views

How to limit file type to be upload?

I have a custom page template with a form, that any visitor of the website can upload a file. Now, I want to restrict the file type that will be upload (docx, doc and pdf only) and I limit the file ...
0
votes
1answer
21 views

Creating another wordpress site as sub-domain of a wordpress site

Main domain: www.abc.com new wordpress: xyz.abc.com I have manage to work everything on the front-end part. both use the same database but different tables classified with their own prefixes. ...
-1
votes
0answers
21 views

Cannot save Meta Data in custom post

I am trying to wrap my head around Wordpress, and am really sturggling to understand how to save custom data. I have tried so many different ways, I have forgotten what I have even tried. // Custom ...
-2
votes
0answers
15 views

Shipping method does not display on admin panel / gift card does not pay for shipping

I have two bugs in our Woocommerce store, and I cannot figure out why this is happening. Bug 1 - Shipping method is not displaying when a user purchases a product as a guest. Here is an example ...
0
votes
0answers
11 views

How build/rebuild thumbnails for wordpress image by php + mysql without plugins

This a part of my project $query5 = "SELECT ID FROM wp_posts WHERE post_name='".$post_id."'"; $checkpost= mysqli_num_rows( mysqli_query($conn_link,$query5)); //check if post exist ...
0
votes
1answer
15 views

Add custom field to attachments in a specific category

I have a working function that adds a meta field to all attachments (so I can enter the url of a video). I would like this field to populate only on attachments in the "video" category. I've tried ...
0
votes
0answers
15 views

domain.com?p=POSTID permalinks not working with custom post types

I use the default Wordpress permalinks as shortlinks on my site, and just noticed that they are not working for custom post type links. Instead they give a 404 error. These work for for the 'post' ...
0
votes
0answers
22 views

Action Hook before Product Subtotal in Woocommerce Cart and Checkout

I try to insert (hook) a custom row just before the first subtotal row in the cart page and checkout page with a function in my functions.php. I checked the official Woocommerce Hook Reference Site - ...
-1
votes
0answers
11 views

AR form not sending email [on hold]

I have AR form plugin for wordpress admin. I am working on the website for the non profit pet rescue client. There are 4 types of forms: Adoption, Volunteer, Foster and contact us. When the user is ...
0
votes
0answers
14 views

Automatically include all php files in a child theme directory

I'm currently using a custom child theme across multiple sites, and would like to modularise particular custom features (e.g. ecommerce) by separating them into individual php files, and including the ...
0
votes
0answers
7 views

How to add a caption to an image attachment in a file list?

I've tried various things and can't get the captions to show up in my gallery. I'm using CMB2's file list to output image attachments. I hope this question is pertinent enough to this forum as I think ...
1
vote
1answer
16 views

I changed “Howdy” in the admin bar in the dashboard, but when I'm viewing the site it still says Howdy!

I used the following code to replace "Howdy" in the admin bar. This is lovely. However, when I view the site while logged in, the word Howdy reappears. As long as I'm viewing the dashboard, no howdy. ...
0
votes
0answers
6 views

There is any hook that fires after/before updating menus locations in “Manage Locations” tab?

I'm looking for hook that fires before or after updating menus location. I want to fire function after saving on "Manage Locations" tab in Appearance > Menus. I know there is wp_update_nav_menu ...
-3
votes
0answers
13 views

Enable Comments On Ask Me Anyting [on hold]

I was wondering how to enable comments on the plugin Ask Me Anything (Anonymously). It gives me an error message when I try to submit an answer, "Sorry, comments are closed for this item." I would ...
1
vote
0answers
3 views

wp_handle_upload_prefilter valid date from input file

I want to ask some help, i'm having problem with thewp_handle_upload_prefilter Here is the code: add_filter('wp_handle_upload_prefilter','mdu_validate_image_size'); function mdu_validate_image_size( ...
-2
votes
0answers
14 views

Are there any 100% FREE contact form plug-ins? [on hold]

I am new to WordPress. I am looking for some great 100% Free contact form plug-ins. I need more than 5 or 10 form fields, and more than just 1 form like most of these others have for pay ware.
0
votes
1answer
7 views

Load custom posts with same tag as page

I'm using this plugin to add tags for a page: http://wordpress.org/extend/plugins/post-tags-and-categories-for-pages/ And I've added tags support for the custom post: function codex_custom_init() { ...

15 30 50 per page