0
votes
0answers
2 views

Question About Messing With Category Pages and Descriptions

For a long time I was trying to figure out how to add category descriptions to not only the top of the category pages, but also to the bottom as well. There seemed to be no solution to this (absent me ...
0
votes
0answers
3 views

Change Page's <title> Tag Using functions.php File

In my child theme's functions.php file, I'm trying to change a page's title tag: function custom_title() { return "Page Title"; } add_filter( 'wp_head', 'custom_title', 9999 ); The code above ...
-2
votes
0answers
6 views

instead of alert, what kind of code to be use to execute php [on hold]

I'm using this sample of code: which can be found here: http://psoug.org/snippet/Call-a-PHP-function-when-clicking-on-an-HTML-button_914.htm <?PHP $a="hello"; ?> <script> function ...
0
votes
0answers
3 views

WooCommerce Social Login - Usernames

I was sent here by WooThemes as giving coding examples is apparently against their Support Policy? I'm hoping one of you have experience with this and I'm in the right place. As an FYI, I'm novice ...
0
votes
1answer
24 views

Remove username in emails or swap username for email

Is there anyway I can remove all instances of the username in all WP emails, or swap our the username for the email address? I have some code in my functions.php file that removes the username from ...
0
votes
1answer
15 views

Trying to establish connection to External Database

I'm trying to get a connection to a separate external database from the database the wordpress site depends on. I have a PHP file inside the same location of my theme, it is basically a blank PHP it ...
0
votes
0answers
7 views

Any way to use media (uploads) from one site in a new site?

I've had a wordpress site for a few years. Now I'm starting a new site (in a different language) which will use many of the same images from the old site. I don't want to duplicate media, as server ...
-1
votes
0answers
10 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
1answer
15 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 ...
0
votes
2answers
13 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
16 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
25 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
15 views

Contact Form 7 - how manipulate data before mail is sent? [on hold]

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
18 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
13 views

WordPress with dash.js [on hold]

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.
2
votes
1answer
15 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
10 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 ...
1
vote
0answers
12 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 ...
6
votes
1answer
33 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
23 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
13 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
9 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
8 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
23 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 ...
0
votes
1answer
37 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 ...
0
votes
2answers
24 views

Displaying ACF image field

I'm trying to display a list of all my custom taxonomy terms with an image field that I have created in ACF. The ACF image field I have is <img src="<?php the_field('brochure_logo'); ?>">, ...
2
votes
2answers
37 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 // ...
2
votes
1answer
35 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 ...
2
votes
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
21 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
24 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
22 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
22 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
14 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
16 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
17 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
23 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 ...

15 30 50 per page