0
votes
1answer
505 views

Adding shortcode to the main menu

Is it possible to add shortcode to a main menu? I tried the following but no luck? add_filter('wp_nav_menu_items','add_nwadcart_widget_to_menu', 10, 2); function add_nwadcart_widget_to_menu( ...
0
votes
0answers
5 views

Adding a custom sitemap to Yoast sitemap index

I have 2 custom sitemaps that i would like to add to the sitemap index that is generated by the yoast wordpress seo plugin. These sitemaps are generated by my plugin so i want to also use my plugin to ...
0
votes
2answers
31 views

get_term_link doesn't work

with the support of ACF team I created a page where I list the values from a Taxonomy Custom Field (custom field named cognome_nome) alphabetically. I explain: Term 1 Name: Elena P slug: elena_p ...
0
votes
0answers
10 views

WordPress Cron scheduled but not running?

I know that WP Cron is not a real cron and I am testing it by visiting it at when it is scheduled to run. I can see that it is scheduled using the crontrol plugin but clicking execute now does nothing ...
-1
votes
1answer
15 views

Notification When Post Approved

Does anyone know of a notification plugin, snippet that will allow me to when i approve a users post they get a notification show up on the menu, and when they go to the notification page it says ...
0
votes
0answers
11 views

Adding radio buttons to the Login form

I have two user groups, companies and individuals and want to add a radiobutton to select between these two. The register form should show a certain field additionally if "company" is selected. I've ...
0
votes
3answers
3k views

Pagination not working on home page

I've a page named "share" with a complex loop that's working perfectly. This page is located at domain.com/share. Now I need to use this page as the home page, so I went to "Settings -> Reading" and ...
0
votes
1answer
16 views

Is it possible to change the template_directory?

I've created a site on a localhost that is going to be migrated to a ssl server, with the scripts, css, images all coming from a CDN. To call files in the site i'm using ...
0
votes
1answer
13 views

problem with category menu, it doesn't want to show link

I have created a category menu but when it displays in front page it shows just text without link. thats my code: $menuname1 = $lblg_themename1 . 'categorie Menu'; $bpmenulocation1 = 'secondary'; // ...
-2
votes
0answers
6 views

Embedding bbpress forum in WP page

I want to embed a forum in a page, such that the user doesn’t leave the page when creating or viewing a topic. I.e unlike the code [bbp-single-forum id=$id], which redirects the user to the forum page ...
0
votes
0answers
3 views

Gallery attached to a post but outside it (my-post-url/my-gallery)

I want to create a post gallery related to a WordPress post, but outside it, for example: my-post-url -> Display my post. my-post-url/gallery -> Display my galelry.
0
votes
0answers
8 views

Add custom filter to register data in array

I would like to register a multi arry of data in a plugin and allows any developper to add new value to the array. This multi array contains a name, and different value like this: class ...
-1
votes
0answers
25 views

Regarding plugins?

i used Argent theme. I couldn't find plugins option in dashboard. can you please tell me why it is not displaying in dashboard? And one thing, i need to open header.php file. could you tell me the ...
0
votes
0answers
9 views

next post link in same category

Regarding https://codex.wordpress.org/Next_and_Previous_Links the following code should display post in same categories if post are registered in more than one category. Unfortunatly it does not work ...
1
vote
2answers
60 views

View the latest created categories

I am creating a section on my site that will display the last five categories created. How could I do that? UPDATE: The code below is what I want, just like to know how to apply in order, if the ...
0
votes
0answers
20 views

How to get the last term from taxonomy?

working on a scholar journal in which publisher add issues to the "issue" taxonomy assigned with articles. i need to display outside the loop a list of posts assigned only with the last issue ...
0
votes
0answers
4 views

Woocommerce - Split variation list into groups and select variation group first

I have a product with a few attributes. One of them has allot (About 50) variations. I want to split the variations into groups to make it faster to select the desired variation. For example: The ...
0
votes
0answers
7 views

Show Featured image above post title

I need help with my worpress website, everytime i post a post my featured image ends up on the end of the post like this how to chanage it so that it shows above or below my post title, Thank ...
0
votes
1answer
14 views

Adding a logo in html5 blank template

I have installed html5 blank template and created subtheme also. I need to add a logo?I have added the image in media option in admin panel but how should I use as a logo?I am unable to find any ...
0
votes
0answers
7 views

How to find URL for post type listing page?

How to find URL for post type listing page I want to get this URL on my post details : http://localhost/wp/ABCPROJECT/stories/amet this is a listing page And this is a it's details page how can i ...
0
votes
1answer
459 views

Getting custom taxonomy posts on archive page

Hi I am not sure if the question is understandable or not but what I am trying to achieve I will explain. I have a custom post type called menu item and custom taxonomy called menu item type. CODE ...
1
vote
2answers
934 views

Insert After Second Paragraph Without <P> Tag?

I use a code like the one shown below to insert ads after the first paragraph. The problem is that this code requires the content to be displayed within paragraph tags and I would like to use this ...
0
votes
3answers
578 views

Adding Help Tabs To Custom Post Types

Using this well written post - tutorial Edit dashboard's help tab I have full control over all standard WordPress admin screens. Can this be modified to add "Help" Tabs to custom post types?
0
votes
1answer
14 views

Front end post submissions do not get submitted in the category

If I submit the post after choosing a category the post doesnt get submitted and instead it takes me to the category page i have selected.However if i delete the fieldset "category" and fill the form ...
0
votes
3answers
1k views

Get id of category from drop down menu

Im trying to get the category ID from wp_dropdown_categories();and then pass the ID into a loop to have it output posts titles from that particular category. I currently have this: <form ...
0
votes
0answers
24 views

How to display terms from two taxonomies in one php code?

Two taxonomies were added to posts : volume : in which admin enter the number of the journal volume for each post issue : where admin enter the number of the issue under which the post is published ...
0
votes
1answer
22 views

robots.txt Not Updating

Today I received an email from Webmaster Tools stating that "Googlebot cannot access CSS and JS files". So I set about updating my robots.txt file located in the root of my server. Original Contents: ...
0
votes
1answer
10 views

Get posts in all languages

I'm trying to retrieve posts in all languages for my rss feed. This is what I have now: $langs = qtranxf_getSortedLanguages(); // get posts in all languages $posts = get_posts(array( 'post_type' ...
0
votes
1answer
2k views

How can I remove data-target=“#” from bootstrap dropdown menu?

I've created a mega menu with wordpress. The theme I'm working with happened to use bootstrap and adds so much weird stuff to my menu, and one of those things that seem pretty weird is that it has ...
0
votes
4answers
37 views

Site logo is not clickable

I am using an image as my site logo, and the image displays fine on the site. However, while the image is inside of an 'a' tag, its not clickable. Here's my code: <div class="site-branding"> ...
0
votes
0answers
12 views

Sticky Posts cause problem with pagination

I'm using following function to display the pagination. This works otherwise fine but if there is any sticky post, then it ignores the number of posts on the first page. For example if it is set to ...
0
votes
2answers
19 views

Expandable WordPress content (text) inside a post

I've created a CPT in my WordPress site. In this CPT I have the content element (which is the default WP content) and want to make it expandable, I mean, while viewing the CPT I want it to only ...
0
votes
0answers
8 views

URL rewriting taxonomy term

I'm trying to find solution for the following hours now and i don't know if this is applicable. I have 1 Custom Taxonomy "Years" for Post Type "Post (default)". The taxonomy has 2 Terms: "2014" and ...
0
votes
0answers
6 views

How can I scrap pages like how Facebook share works

I have a WP site that has a page showing a FB like newsfeed. I want to allow users to post a link to any page on the Internet and have my site, scrap the page to get the title, description and image ...
0
votes
0answers
6 views

term_id missing for customizing category column

I wanted to add a custom field (a ) to a custom category, loosely following this good tutorial : http://wpthemetutorial.com/2013/02/21/adding-custom-meta-to-wordpress-taxonomies/. For editing, ...
0
votes
0answers
8 views

Ajax submitting form values on same page

Having trouble with WP's ajax processing forms. My goal is to submit form values (type: 'post') to the same .php page and show them in appearing . How it is possible?
0
votes
0answers
17 views

Update existing post by email

Hi I would like to know if any possibility to update an existing post by sending an email.
1
vote
1answer
20 views

Filter available WooCommerce payment gateways by role

I know WooCommerce is not well-received here, because it's not directly related to WordPress, but as support on the WooCommerce forums is just that terrible and people here having proven they're ...
0
votes
1answer
9 views

how to disable jetpack for non admins?

I am using wordpress 4.2.3 and jetpack latest version. All users of my site are contributors. I want to hide jetpack from contributors. I hide the jetpack menu from dashboard by WP admin UI customize ...
0
votes
1answer
16 views

Wordpress rewrite rules not working

I have created a plugin and i have gotten rewrite rules to work using my .htaccess file. I would like to make this work from my plugin instead to keep everything contained from within there. Im ...
0
votes
0answers
5 views

How to display comments grouped by commentmeta?

I have added a "category" to my comment-form which allow the user to specify the type of comment he is entering (dropdown list with three values: experience, reference, criticism) and a title that ...
0
votes
1answer
8 views

Add capability to a role , so user is only able to view his own posts

I have created a user role vendor. Right now i am able to give the capabilities to the users, to be able to only edit,delete etc But then the user sees all the posts irrespective of who is the ...
1
vote
1answer
1k views

Woocommerce displaying product categories and products on custom theme

Am trying to create custom Woocommerce supporting theme in Wordpress. What am facing is regarding the displaying of Product Categories when accessing the main category and 1st level of categories. ...
0
votes
2answers
29 views

How to get rid off default css styles

I have installed html5 blank template and I have created sub theme too by creating style.css and functions.php. But how should I get rid off default CSS styles that come from parent theme?
2
votes
2answers
639 views

How can I display all values of a custom field from posts with a certain value of another custom field or from certain post types?

I know the question is quite ambiguous. Let me explain: I have a page that lists all posts with a certain value of a custom field. (Eg.: The page Rentals lists all posts with the value rental of ...
0
votes
0answers
10 views

Email is not sent while adding add_filter in wpDiscuz - WordPress Comments plugin

Currently i am using a wordpress plugin named "wpDiscuz - WordPress Comments" which sends email notification to the user list present in "wc_subscriber" table, but i have hided the default code which ...
1
vote
2answers
1k views

Can't send mails wordpress using SMTP authenticate

I use wordpress WP-Mail-SMTP plugin to send mails with proper authentication. I have a Ubuntu 12.04 VPS, Nginx, Wordpress 3.9. When I try to send test mails, I can see following main debug message and ...
0
votes
0answers
10 views

Caching plugins and contant reloading of page

I have a site at www.clampdesign.com/dev/cwa with which I am having an odd problem. On my iPhone only (although others said they see this problem on desktop and iPads etc) the home page can't load. ...
0
votes
1answer
27 views

Problem creating a custom category page with pagination

I am creating a category-{slug}.php page for a specific category. This page has pagination also. This code successfully worked when calling the first page of the category page, but the problem starts ...
0
votes
0answers
11 views

How to show a Progress Bar when a plugin is doing some processing in Wordpress

I'am new to WordPress plugin development and I'am developing a plugin which sends messages to all subscribed users when a new post is published. Plugin is complete and its sending messages to all ...

15 30 50 per page