Questions tagged [blog]

A blog (a contraction of the words web log) is a discussion or informational site published on the World Wide Web and consisting of discrete entries ("posts") typically displayed in reverse chronological order (the most recent post appears first).

Filter by
Sorted by
Tagged with
0 votes
2 answers
1k views

Inserting ads within content

I want to show adsense ads below the 4th and 20th paragraph of every blog post, ONLY if there is a 20th paragraph. I managed to insert an ad below the 4th ad by placing the following code in my ...
1 vote
0 answers
48 views

Trouble Migrating all data blog from Wordpress.com to Wordpress.org

I'm transferring a WordPress.com blog to a new WordPress.org website but I'm having trouble transferring everything. I've gone through the usual WordPress tools - export XML file, import using the ...
  • 11
1 vote
1 answer
29 views

Blog Posts in Custom Menu

I have a custom menu but would like to put specific posts on each one. for example: my menu consists of: cooking, beauty and style. How can i put all cooking posts on the cooking tab, and all beauty ...
  • 11
1 vote
1 answer
40 views

How do I add a checkmark to my-sites save settings hook

I want to add a checkmark to the my-sites.php through a hook and then press save settings and have it do a function that executes a SQL query. I've added the checkmark but I don't know how to go ...
  • 11
1 vote
1 answer
122 views

Change Read More in Child theme

Im like 99% done with my multisite. The only thing left to do is to change the read more link on the child theme. But I can't get it done. Main site (Dutch): www.jeroenbrugman.com 2nd site(english): ...
1 vote
1 answer
88 views

Menu / div of year and months of blog posts?

I want a menu or a dive with this content where you can click on and see the blog posts from the selected date that is like this BLOG -2014 -january -february -march -.... -2013 ...
  • 504
1 vote
1 answer
23 views

Deleting a blog

I have a WordPress blog that I forget about. I created it in 2007. I would like to delete it, but the email address I used to set it up is super old—i de-activated the account back in maybe 2008 or ...
  • 11
1 vote
0 answers
60 views

Strange 403 header response

I am receiving a strange 403 header response on the blog part of one of my sites. The site is accessible in the browser and works perfectly but googlebot, Moz and other checkers return a redirect from ...
  • 43
1 vote
0 answers
70 views

404 when going to /blog

I'm trying to merge an old wordpress blog with a new wordpress site. Effectively all I want is to bring across the posts and link off to them from a link in the navigation called "blog".... simple ...
0 votes
0 answers
34 views

How to change the layout of blog posts to that a compressed snippet shows rather than full text

I'm new to Wordpress, started a blog, and can't figure out how to get the blog entries to display in a cutoff/compressed manner with the title and beginning text only. The default seems to be showing ...
  • 101
1 vote
3 answers
64 views

Installing WordPress only for a separate page - 'mydomain.com/blog'

So this may be a silly question but I already have my domain name and hosting. I have used it to set up my non-WordPress website complete with different pages and even an online library where you can ...
0 votes
1 answer
61 views

Can I create mini-WordPresses on my WordPress?

... or what is the best way to do this? I want to use my WordPress blog and create blogs for a few people on it. So they would create posts and it would post to their own "website" like mysite.com/...
0 votes
2 answers
362 views

wp_enqueue_style and different styles for blog template

I have a front-page.php to create the index page template and a page-blog.php to create the blog template. My styles are added using wp_enqueue_style in my functions.php, but I'd like to use different ...
0 votes
2 answers
58 views

Is there a way to multiply archive loop results sequentially?

I am trying to make my own version of this I've implemented bootstrap grid in my attempt. I'm very close, but the <div class="row"> being looped is causing problems. I want to just be able to ...
  • 247
0 votes
1 answer
29 views

How to create library of HTML snippets to use in posts

I have a requirement to allow our WordPress blog authors to be able to run a specific HTML advert at the bottom of each blog article from a choice of several pre-created HTML adverts. Once the post ...
0 votes
3 answers
621 views

Adding a trinket.io widget to a post

I'm trying to add a trinket.io widget to my blog post in order to do some interactive things but I'm not having any success. If i try to just use the embed code given to me by the trinket.io page: &...
0 votes
1 answer
54 views

Edit Posts Page but not category specific pages?

Is there a way to edit the page that shows all your posts? But not affect the specific categorized pages? I have been trying, and cannot seem to find a solution.
1 vote
1 answer
55 views

How to disable Wordpress blog folder

I've integrated Wordpress into my existing website and used WP JSON API to get the content from WordPress, but I don't want the WordPress itself to be available to my viewers. When I refresh my ...
0 votes
1 answer
24 views

I am getting "0" in the starting of my post description at home page

See here at home page with all posts I am getting "0" in starting.
  • 1
0 votes
1 answer
24 views

Adding a WordPress Blog to a current WordPress site

I currently have a WordPress website, though it's just a normal page with no need for constant updates or posts on it. What is the easiest way to add a WordPress blog to my website? Thanks
  • 103
7 votes
2 answers
9k views

Show Default Editor on Blog Page ( Administration Panel )

In WordPress 4.2 it included a nice feature which labeled what page was the Front-Page and which page was the Blog ( Latest Posts ). Unfortunately, it also removes the default editor on the page ...
  • 20.1k
3 votes
1 answer
292 views

Why does get_the_time('F j') return November 30 for all posts?

Okay, so I'm making the blog page for my WordPress site. My front page is displayed as static, so my blog posts are on another page called "Journal." I want to display the posts in an archive-like ...
  • 133
1 vote
1 answer
1k views

Where in PHP do I move title and meta (date) to bottom of each blog section?

I'm working on a Divi site that has two blog grids on the home page. I need to move the title and the date of each blog section to the bottom (below the blog text). <div class="...
0 votes
1 answer
32 views

Automatization for automatization

I have a wordpress multisite for a bunch of friends of mine. And every time I create a new blog there are a few things I have to do before I can give it to them. Activate a new plugin Create a new ...
  • 1
1 vote
1 answer
1k views

WP_Query doesn't get sticky post at the top, when used in a page template

I'm creating a theme in which I've created a page template called page_default-blog.php to be used for creating a blog page. In this file I have the following code: $paged = (get_query_var('page')) ? ...
  • 1,027
0 votes
1 answer
4k views

Display subcategories in dropdown

I have the following code on my website: <div class="blog-cats drop"> <label class="custom-select"> <select class="styledSelect1" name="archive-dropdown" onChange='document.location....
1 vote
0 answers
427 views

Loading index.php contents which located outside blog folder for post single page

I'm creating blog page as WordPress for my static PHP website. When blog page URL changes to pretty permalink (example.com/blog/my-post-page), loading contents (not redirecting to index.php, only ...
  • 111
0 votes
1 answer
179 views

Wordpress Plugin manipulate have_posts()

I want to develop a plugin, which changes the post order on the blog page, I think I need to manipulate the have_posts() function. How can I do this?
0 votes
1 answer
59 views

Blog styling in SASS

Every so often I get a request like this: "Build a site using WordPress as the CMS [easy...]. Oh and we'll have a standard looking blog thrown in. No need to worry about styling, the default look ...
  • 236
1 vote
1 answer
1k views

A function to fetch blog content via rss feed

I am trying to make a function which take an rss fedd URL and fetches the most recent 2 posts. I have tried to remake the snippet from here to a full function in funtions.php as following. I don't ...
  • 75
0 votes
2 answers
513 views

Exclude post category in a blog page

I have two links in "news" where all the news posts goes "blog" where the rest goes just wanted to exclude the category "news" in the blog page I use the code $news = new WP_query ('...
0 votes
1 answer
1k views

Link post to blog from a static page

I'm a WP rookie, and I just designed a static homepage that shows the 3 most recent posts in my database. I would like to redirect the user to another page in order to show him the entire blog post ...
1 vote
1 answer
46 views

How could I change my Permalink from blog to custom structure? [closed]

When I install multi wordpress site I have a problem that my default site permalink goes to http://site.myurl.com/blog/post-name/ I want to change it so that it goes to a custom link like this: ...
0 votes
1 answer
59 views

How do I turn off the blog and archives?

Is there a fixed set of htaccess rewrite rules I can use to "turn off" everything blogging related? It's not enough to just not show the links in the menu, I want to completely hide everything ...
  • 225
1 vote
1 answer
433 views

Posting blog entries in screenplay format

Recently I've been working on a series of scripts and wanted to publish them on my site as blog entries, largely because having them just sitting on my hard drive with only a few people reading them ...
  • 11
0 votes
1 answer
2k views

Hide a category of posts from main blog, and only show in category view

I would like to hide a post on the main blog page (run on index.php) and have it only show up when the visitor views a particular category. I have tried the following just before the loop: <?php ...
  • 131
1 vote
0 answers
106 views

Is there a way to import a folder of HTML files into the blog?

I have a folder of about 100 HTML files (all marked up consistently) that I want to turn into individual blog posts. Each one has a paragraph that says "Posted by User on 4/9/2013 5:45:52 PM", but ...
  • 11
0 votes
1 answer
242 views

Two blogs one page

The idea is basically to create a blog, and have status updates/quotes beside the blog in a separate column. How does one go about making that happen? EDIT: The goal is not to create two separate ...
  • 1
0 votes
2 answers
609 views

Blog post - single.php url

I have a simple blog page that just lists blog posts on a page called 'news' http://my-site.co.uk/news I have a single.php page to display the actual post when it is clicked on 'news' The single....
0 votes
0 answers
64 views

List post categories that link to a page showing those posts

I have posts with different categories. I have a blog page that lists the posts like this. <?php $blog_args = array( 'post_type' => 'post', ...
0 votes
1 answer
385 views

How to maintain wordpress site blogs in production and staging?

I work as a website admin in my company. We are selling digital products using WooCommerce. We wanted to have staging and production in order to avoid any site down. So in staging we use to create ...
  • 185
0 votes
1 answer
3k views

How to set a certain Custom Template to a Single Blog Post

I need to set a custom created template to be used whenever a single blog post is displayed. I can see how to assign custom templates to pages under Page Attributes > Template, but how do I tell my ...
  • 531
1 vote
2 answers
284 views

Wordpress Blog - Grid View

by default Wordpress shows blog posts one beneath the other showing short text and, if available, an image. The question is - is it possible to change that? I would like to have a grid consisting of 3 ...
  • 149
2 votes
1 answer
47 views

Insert Latest Articles in Homepage

How can I insert the latest articles (blog) on top of the homepage? I intend with the release of the latest items with image and brief summary of the article. I made an example (in the attached ...
0 votes
1 answer
583 views

Hide first blog post in content and output it in widget

I am working on a theme and want to hide the first blog post and instead output it at a custom widget position. For that I created a variable in the functions.php called $postCounter. I accessed ...
0 votes
1 answer
1k views

Excert ( the_excerpt(); ) Not working properly

I am creating custom theme, I have included excerpt in the index file <article class="post"> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>&...
  • 181
0 votes
1 answer
366 views

List all pages using a specific template on a page

I just created a WordPress page called Latest Blog Posts where I want to list, in chronological order, all pages from my website using the template name "Blog". The list should contain the title of ...
  • 123
0 votes
1 answer
68 views

How can I have the posts from one word press blog show on the presentation page of another word press site

I am using the Tempera 1.2.2 theme with presentation page enabled (http://worldofmagictravel.com) and curently the blog posts that are showing on the presentation page are from a blog category within ...
1 vote
4 answers
28k views

How do I put a wordpress blog into my html site?

ok, so have a html site with css and I want to put a wordpress blog page in it, but I want it to be in the same site I already have. I've read the integrating wordpress with your website thing and I ...
0 votes
0 answers
183 views

Blog Displays Only Sticky Posts

I set my home page to show the latest three sticky posts from the blog. The problem is, if you publish a post that's not sticky, it doesn't show up in the blog page. How could I fix it? The code ...

1
3 4
5
6 7
9