1
vote
0answers
25 views

Showing random content / pictures from earlier posts in a sticky post?

I have a sticky post on my wordpress blog, in the beginning. I would like to place some random content in it, by simply replacing some HTML in the post content. The random content would come from ...
0
votes
0answers
20 views

Wordpress update removes picture or changes pic paths

I have a big problem. I have installed and configured Wordpress, on my test server and then on a live webspace. All was fine, the website went live. After a while, I logged in: And wordpress forced an ...
0
votes
3answers
30 views

Show custom message/info for authors in add/edit post page

I have a multi author blog and i need show a global info message in top of add post page, so all authors can read it when they come in this specific page, how i can add it? Thank you
1
vote
1answer
28 views

wp_register_script(… $in_footer = true) not working

I'd like to load some javascript files in my footer. I tried to accomplish it in functions.php like so: function my_init() { // LOAD JQUERY wp_deregister_script('jquery'); ...
-4
votes
0answers
23 views

how to build categories in one page theme, [on hold]

I am new Wordpress user. I want to build one page theme. I am unable to change the name of the predefined category in 4.5.2 version. Need help to sort this problem.
-6
votes
0answers
21 views

Displaying Particular Post on Big Grid 1 block of News paper wordpress template for whole day [on hold]

I am using using news paper template as in this link, http://demo.tagdiv.com/newspaper_local_news/ and i want to display my particular post to display under TENDING NOW(where test is moving from left ...
-2
votes
0answers
38 views

my footer file remove every sigle day [on hold]

It's been a month till i have this issue and try different solution but getting no answer. i have wordpress website and every day i do check it footer file have been disappear from my host. and i ...
0
votes
0answers
21 views

How to open a bootstrap modal in Wordpress?

I'm making a Bootstrap modal in my site. First, I created 2 custom post type in my functions.php: 1 - Box of Portfolio 2 - Content of Portfolio Modal <?php // PORTFOLIO MODAL ...
0
votes
1answer
16 views

hide something in single page if current author has only one post

I'm trying to hide a div in a single page if the current author of the post has only one post. Any ideas on how to achieve this? <?php hide or don't display if current author has only 1 post ?> ...
-5
votes
0answers
24 views

How can I transfer a wordpress site from subfolder to the main domain path? [duplicate]

I am using godaddy. I have this subfolder here: http://www.iliveaccountable.com/mytestsite/ where we run our test dev site and we want to transfer it to the main URL http://www.iliveaccountable.com/ ...
-1
votes
1answer
36 views

is using the_posts_navigation() required?

I want to create a theme and get it approved on wordpres.org and want it having number page navigation: The HTML code should Bootstrap 4's navigation component. i can accomplish the above with an ...
2
votes
2answers
55 views

Custom attribute for the title tag with wp_title()

Can i add the itemprop to the title element and still use wp_head() and add_theme_support( "title-tag" )? I want to create a theme and get it approved on wordpres.org which uses microdata. The ...
-1
votes
0answers
26 views

Get posts that matches specific terms of multiple custom taxonomies

I'm working on a page that show a lot of products. My structure is Product (custom post type) -->Brand (custom taxonomy) ------>Brand A (custom term) ------>Brand B (custom term) -->Department ...
1
vote
1answer
30 views

Change settings of get_post_type_object

I've a theme with a plugin provided by theme developer for manage portfolios section. This plugin create a custom post type with this code: // Portfolio post type ...
-2
votes
0answers
14 views

How to make tab style display of custom posts using wordpress tags [on hold]

I have a custom post type called "document". The "document" custom post type is organised with a non-hierarchical taxonomy called "type". Now, normally i would simply have a page that displays all ...
0
votes
0answers
14 views

Bootstrap navbar-static-bottom, full width in wordpress?

I am using bootstrap nav-menu as footer, but aparently theirs no navbar-static-botton. I want my navbar on the bottom but full width. Here's my footer.php code; <footer> <body <?php ...
0
votes
0answers
21 views

How to add value into array

I want to add some value into $cart_item array in WooComerce. There is product information in this array like name, price, etc. I wrote this code but when I debug, I can't see 'Period'. What am I ...
0
votes
2answers
16 views

Customising Header with CSS Only

I am trying to implement a child theme for twentysixteen. Where I want to customise the header, I tried to put the site title and tagline inline with header image, but the header image is getting ...
3
votes
3answers
138 views

How to change Wordpress default strings?

I want to change some (20-30) of the defaults strings on Wordpress back-end (not to translate). I know there is gettext filter but I think could lead to performance issues if we have a lot of ...
0
votes
0answers
19 views

How to add odd and even classes to all nav links through walker?

I kept finding posts that explain how to add even and odd classes to sub-menu items, but can't seem to find how to add it to the main menu items that do not have sub menus. I've already checked out ...
0
votes
2answers
33 views

How to determine if custom post type showing on archive templates

Is there any way to determine if a particular custom post type will be displayed on default archive pages or search results? e.g. Given a post type named (badly) books, is there a way to tell via ...
0
votes
1answer
29 views

How to get posts by multiple post slugs?

i am trying to get posts by multiple posts slugs, i can do this by passing post ids but I do not want to pass post ids i am looking for posts slug Here is my code $option = array( 'posts_per_page' ...
0
votes
1answer
38 views

Change Page title when Pagingation the posts

I just changed the title tag in the header.php like this <title><?php if ( $paged < 2 ) { } else { echo (' Page '); echo ($paged);} ?></title> Just want to change the title ...
0
votes
2answers
24 views

Which URL to enter into browser to show all posts in archive.php?

Consider the simplest archive.php possible: <?php get_header(); while ( have_posts() ) { the_post(); the_title(); } get_footer(); What address should I type into the browser to get to ...
0
votes
0answers
16 views

Replace email address for Adwords visitors? [on hold]

I have set up adwords website call conversions so that any time a visitor comes from AdWords, a call tracking number is displayed instead of the default number. This helps track which calls where a ...
0
votes
0answers
9 views

User defined password in new user approve plugin

I am using new user approve plugin and I'm satisfied. It works, for web site and Rest API, but the problem is when I want to use my own password style (only numeric and 10 digits). I added some ...
2
votes
1answer
17 views

Taxonomy.php issue with search and filters [Solved]

I'm trying to create a custom taxonomy.php page where my users can refine search into that context. I've tried to create a kind of loop like: <?php if(!empty($_GET['ending'])) ...
-2
votes
0answers
8 views

Custom navigation in custom post type [on hold]

I'm working on a site that is basically a single page site, but with product details. It's based on the Sydney theme. Each product that is shown in the portfolio is a custom post type. When you click ...
0
votes
2answers
26 views

Creating Ordered Query using Meta_key

I've hit a massive roadblock that I've been stuck on for days now, hope someone can help with this. The problem: I have a custom field called order_value with the values road, air and bus. I am ...
-1
votes
0answers
19 views

Generate thumbnail for image without Wordpress [on hold]

I don't want to use Wordpress built in media uploader . I have a php script in my site that grep the posts from some place and put it in my wordpress site with a photo and make this photo as ...
0
votes
0answers
10 views

Add HTML content to Firmness Theme [on hold]

I am using the Firmness Theme and wondering if there is any way to include HTML features in the Theme Specific sections that appear on the front page such as Theme Feature Section, Theme Feature ...
1
vote
0answers
16 views

Numbered pagination not working on Custom Post types

I need help about pagination. I am retrieving posts from a custom type based on the post title, and I want to show numbered pagination, when the result contains more than 10 posts. What I have done ...
-1
votes
0answers
28 views

Posts pagination bug

My index.php looks like this: <div class="container"> <div class="row"> <div id="primary" class="content-area <?php echo apply_filters('primary_bootstrap_class', ...
1
vote
0answers
28 views

Edited: Create advanced search/filter functionality without plugin

I want to build a filter functionality on my site so users can filter through posts based on custom taxonomies which I've already created. It should look like a questionnaire with radio buttons with ...
1
vote
0answers
8 views

page does not working HTTP ERROR 500 [on hold]

I try to put in css color tools and the page was disappeared. how can I recover - reverting the page?
2
votes
1answer
45 views

How to change URL Custom Page?

My Page Custom URL: http://abcd.com/watch?name=video-title How can I change this url to http://abcd.com/watch/video-title where watch is a custom page? My functions.php code: function ...
0
votes
1answer
15 views

Updating WordPress Theme Files

How do you update a site's theme files which has a child theme active? And can you do it entirely from the front end?
3
votes
1answer
30 views

Including a function into a theme

I have a small function, that I have been using for many years, to clean up user entered text on website forms that prepares the input for use in MySQL queries and also removes all the input from ...
1
vote
0answers
14 views

How to show thumbnail of a link when posting through facebook api?

I have put meta og:image tag in my html page. When i post the link to this page through facebook then the thumbnail shows up along with the link. Now, i am trying to make the thumbnail appear when ...
-5
votes
2answers
42 views

How to make “Read more” using the_excerpt? [on hold]

I want make a "Read More" with border box styles. How to do that? This is the code.. function custom_excerpt_length( $length ) { return 8; } add_filter( 'excerpt_length', ...
0
votes
2answers
32 views

Installing Bootstrap on Twentyeleven Theme

Can anyone tell me how to enable Bootstrap on a site using the twentyeleven theme? I followed the instructions for activating Bootstrap with the twentyfourteen theme without success. This is the code ...
3
votes
2answers
31 views

'username_exists' still returns an ID even after deleting record from the database?

Is there some kind of MySQL query cache turned on by default or something? I am trying to work on a user import script and I am seeing some strange results from the username_existsfunction after I ...
1
vote
0answers
15 views

taxonomy tax-name archive

I am creating a taxonomy $labels = array( 'name' => $name->labels->name, //genre 'singular_name' => $name->labels->singular_name, //genre ...
-1
votes
0answers
24 views

post thumbnail 150 x 150 only

By calling <?php the_post_thumbnail('thumbnail');?> I needed an outcome like this http://www.smaplesite.net/siteimage/vc-site-150x150.png but my site showing the original image ...
3
votes
0answers
16 views

Login email after registration never sent or received

On my site, after a user registers they receive an email with an activation link. When clicking the activation link, sometimes the page doesn't load, sometimes it does (usually if I click the link ...
1
vote
0answers
14 views

How to Add 'Post Categories' to the Dashboard Sidebar

I'm currently working with a company to make a few basic tweeks to their WordPress site and I noticed that they have this on their sidebar: I am looking particularly at the "Clients", "Offers", ...
4
votes
1answer
45 views

Check if user already visited this post today

I have a piece of code which measures a post popularity. How would I go about checking if user didn't already visited this post for past 24 hours? Do I need to set a cookie for user and for each post ...
0
votes
0answers
10 views

Linking Page, Posts & Category together

I want to create a page named Works with the built-in template called Project Listing. And have to make individual posts in the page Works. However, I am not able to do it. Though I can create the ...
0
votes
1answer
43 views

How to change WordPress embedded player size or show just the play button

Even though I tried to alter the width of the embedded player size [embed] which looks this using [embed width="50" height="50"], but no matter what value I use it will not change the size. ...
2
votes
1answer
17 views

How to order category.php loop by 'meta_value'?

So I have a basic loop on category.php that displays all posts from the specific category, like this: <?php if (have_posts()) : while(have_posts()): the_post(); ?> <a href="<?php ...

15 30 50 per page